2012-05-18 02:45:23 -05:00
|
|
|
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
|
|
|
|
)
|
|
|
|
|
2012-09-18 08:21:04 -05:00
|
|
|
if ( (${CMAKE_VERSION} VERSION_LESS 2.8.6) OR (NOT CMAKE_AUTOMOC) )
|
|
|
|
qt4_wrap_cpp( MOC_FILES_CPP ${QOBJECT_HEADERS} )
|
|
|
|
endif()
|
2012-05-18 02:45:23 -05:00
|
|
|
|
|
|
|
|
|
|
|
add_library( ${PROJECT_NAME}
|
|
|
|
cafCadNavigation.cpp
|
2013-08-30 08:35:28 -05:00
|
|
|
cafCadNavigation.h
|
2012-05-18 02:45:23 -05:00
|
|
|
cafCeetronNavigation.cpp
|
2013-08-30 08:35:28 -05:00
|
|
|
cafCeetronNavigation.h
|
|
|
|
cafNavigationPolicy.cpp
|
|
|
|
cafNavigationPolicy.h
|
2012-05-18 02:45:23 -05:00
|
|
|
cafOpenGLWidget.cpp
|
2013-08-30 08:35:28 -05:00
|
|
|
cafOpenGLWidget.h
|
|
|
|
cafViewer.cpp
|
|
|
|
cafViewer.h
|
|
|
|
|
2012-05-18 02:45:23 -05:00
|
|
|
${MOC_FILES_CPP}
|
|
|
|
)
|