CMakeLists.txt 1.03 KB
Newer Older
schultezub's avatar
 
schultezub committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
PROJECT(tumvis-application)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.0 FATAL_ERROR)
INCLUDE(../cmake/commonconf.cmake)

MESSAGE(STATUS "Configuring TUMVis Application")

FILE(GLOB TUMVIS_APPLICATION_SOURCES
    *.cpp
)

FILE(GLOB TUMVIS_APPLICATION_HEADERS
    *.h
)

#SET(TUMVIS_APPLICATION_SOURCES
#    application/tumvis.cpp
#    application/tumvispainter.cpp
#    datastructures/
#)

#SET(TUMVIS_APPLICATION_HEADERS 
#    application/tumvispainter.h
#)

#
# Qt related stuff:
#
FIND_PACKAGE(Qt4 ${TUMVIS_REQUIRED_QT_VERSION} REQUIRED QtCore QtGui QtOpenGL)
#QT4_WRAP_CPP(TUMVIS_APPLICATION_MOC ${TUMVIS_APPLICATION_HEADERS})
    
INCLUDE(${QT_USE_FILE})
ADD_EXECUTABLE(tumvis-application 
    ${TUMVIS_APPLICATION_SOURCES} ${TUMVIS_APPLICATION_HEADERS} 
#    ${TUMVIS_APPLICATION_MOC}
) 
ADD_DEFINITIONS(${TUMVIS_DEFINITIONS} ${QT_DEFINITIONS})
INCLUDE_DIRECTORIES(${TUMVIS_INCLUDE_DIRECTORIES})
schultezub's avatar
schultezub committed
38
TARGET_LINK_LIBRARIES(tumvis-application tumvis-core tumvis-modules tgt ${TUMVIS_EXTERNAL_LIBRARIES} ${QT_LIBRARIES})