Made it possible to display normals in output channels 4-6 (A,B,C)
[tecorrec.git] / CMakeLists.txt
blob029a720ebf8e4b2651570b4b40613206ed400f5b
1 cmake_minimum_required(VERSION 2.6)
2 project(tecorrec)
4 # custom modules
5 set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules/")
7 find_package(Qt4 REQUIRED)
8 find_package(Qwt5 REQUIRED)
10 set(QT_USE_QTOPENGL true)
11 include(${QT_USE_FILE})
12 include_directories(${QT_INCLUDES}
13                     ${Qwt5_INCLUDE_DIR}
14                     maths
15                     geo
17 add_subdirectory(maths)
18 add_subdirectory(geo)
20 set(tecorrec_SRCS
21     main.cpp
22     tcMainWindow.cpp
23     tcViewportWidget.cpp
24     tcColourMapWidget.cpp
27 set(tecorrec_HEADERS
28     tcMainWindow.h
29     tcViewportWidget.h
30     tcColourMapWidget.h
33 qt4_wrap_cpp(tecorrec_MOCS ${tecorrec_HEADERS})
35 add_executable(tecorrec ${tecorrec_SRCS} ${tecorrec_MOCS})
37 target_link_libraries(tecorrec
38                       ${QT_LIBRARIES}
39                       ${Qwt5_Qt4_LIBRARY}
40                       tecorrec_geo