mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-29 10:21:54 -06:00
32 lines
760 B
CMake
32 lines
760 B
CMake
cmake_minimum_required (VERSION 2.8)
|
|
|
|
project (cafAnimControl)
|
|
|
|
set( QOBJECT_HEADERS
|
|
cafFrameAnimationControl.h
|
|
cafAnimationToolBar.h
|
|
)
|
|
|
|
qt4_wrap_cpp( MOC_FILES_CPP ${QOBJECT_HEADERS} )
|
|
|
|
# NOTE! Resources in this subfolder appends to the variable QRC_FILES in parent scope
|
|
# CMakeList.txt in the application folder (parent scope) must use the following syntax
|
|
# to make sure the QRC_FILES variable contains appended files in subfolders
|
|
|
|
# set( QRC_FILES
|
|
# ${QRC_FILES}
|
|
# Resources/MyaApplication.qrc
|
|
# )
|
|
|
|
set( QRC_FILES
|
|
${QRC_FILES}
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Resources/cafAnimControl.qrc
|
|
PARENT_SCOPE
|
|
)
|
|
|
|
add_library( ${PROJECT_NAME}
|
|
cafFrameAnimationControl.cpp
|
|
cafAnimationToolBar.cpp
|
|
${MOC_FILES_CPP}
|
|
)
|