mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-27 08:47:00 -06:00
e679ba07a5
p4#: 18777
27 lines
505 B
CMake
27 lines
505 B
CMake
cmake_minimum_required (VERSION 2.8)
|
|
|
|
project (cafViewer)
|
|
|
|
include_directories(
|
|
${cafAnimControl_SOURCE_DIR}
|
|
)
|
|
|
|
# These headers need to go through Qt's MOC compiler
|
|
set( QOBJECT_HEADERS
|
|
cafViewer.h
|
|
)
|
|
|
|
if ( (${CMAKE_VERSION} VERSION_LESS 2.8.6) OR (NOT CMAKE_AUTOMOC) )
|
|
qt4_wrap_cpp( MOC_FILES_CPP ${QOBJECT_HEADERS} )
|
|
endif()
|
|
|
|
|
|
add_library( ${PROJECT_NAME}
|
|
cafViewer.cpp
|
|
cafNavigationPolicy.cpp
|
|
cafCadNavigation.cpp
|
|
cafCeetronNavigation.cpp
|
|
cafOpenGLWidget.cpp
|
|
${MOC_FILES_CPP}
|
|
)
|