Coupure prévue mardi 3 Août au matin pour maintenance du serveur. Nous faisons au mieux pour que celle-ci soit la plus brève possible.

CMakeLists.txt 1.91 KB
Newer Older
Pierre Kraemer's avatar
Pierre Kraemer committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
cmake_minimum_required(VERSION 2.8)

SET(CMAKE_BUILD_TYPE Debug)

IF(WIN32)
	link_directories( ${CGoGN_ROOT_DIR}/lib/Release )
ELSE (WIN32)
	link_directories( ${CGoGN_ROOT_DIR}/lib/Debug ${CGoGN_ROOT_DIR}/lib/Release )
ENDIF (WIN32)

INCLUDE_DIRECTORIES(
	${CGoGN_ROOT_DIR}/include
	${COMMON_INCLUDES}
	${CMAKE_CURRENT_SOURCE_DIR}
	${CMAKE_CURRENT_BINARY_DIR}
	${QGLVIEWER_INCLUDE_DIR}
17
	${SCHNApps_ROOT_DIR}/include
Pierre Kraemer's avatar
Pierre Kraemer committed
18
19
)

20
21
22
23
24
25
26
file(
	GLOB
	SCHNApps_SRC_FILES
	${SCHNApps_ROOT_DIR}/src/main.cpp
	${SCHNApps_ROOT_DIR}/src/interface/*.cpp
	${SCHNApps_ROOT_DIR}/src/visualization/*.cpp
	${SCHNApps_ROOT_DIR}/src/dialogs/*.cpp
Pierre Kraemer's avatar
Pierre Kraemer committed
27
28
)

29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
SET(SCHNApps_H_OBJECT_FILES
	${SCHNApps_ROOT_DIR}/include/interface/window.h
	${SCHNApps_ROOT_DIR}/include/interface/system.h
	${SCHNApps_ROOT_DIR}/include/interface/viewButtonArea.h
	${SCHNApps_ROOT_DIR}/include/interface/splitArea.h
	${SCHNApps_ROOT_DIR}/include/visualization/view.h
	${SCHNApps_ROOT_DIR}/include/visualization/scene.h
	${SCHNApps_ROOT_DIR}/include/dialogs/newSceneDialog.h
	${SCHNApps_ROOT_DIR}/include/dialogs/sceneSelector.h
	${SCHNApps_ROOT_DIR}/include/dialogs/cameraViewDialog.h
	${SCHNApps_ROOT_DIR}/include/dialogs/cameraOptionDialog.h
	${SCHNApps_ROOT_DIR}/include/dialogs/cameraSceneDialog.h
	${SCHNApps_ROOT_DIR}/include/dialogs/globalCameraDialog.h
	${SCHNApps_ROOT_DIR}/include/dialogs/pluginDialog.h
	${SCHNApps_ROOT_DIR}/include/dialogs/linkViewDialog.h
	${SCHNApps_ROOT_DIR}/include/dialogs/mapPluginDialog.h
Pierre Kraemer's avatar
Pierre Kraemer committed
45
46
)

47
48
49
50
file(
	GLOB
	SCHNApps_FORM_FILES
	${SCHNApps_ROOT_DIR}/forms/*.ui
Pierre Kraemer's avatar
Pierre Kraemer committed
51
52
)

53
54
QT4_WRAP_UI( UI_H_FILES
	${SCHNApps_FORM_FILES}
Pierre Kraemer's avatar
Pierre Kraemer committed
55
)
56
57
QT4_WRAP_CPP( MOC_FILES
	${SCHNApps_H_OBJECT_FILES}
Pierre Kraemer's avatar
Pierre Kraemer committed
58
)
59
60
QT4_ADD_RESOURCES( RCC_FILES
	${SCHNApps_ROOT_DIR}/resources/resources.qrc
Pierre Kraemer's avatar
Pierre Kraemer committed
61
62
)

63
ADD_EXECUTABLE( SCHNAppsD
64
	${SCHNApps_SRC_FILES}
Pierre Kraemer's avatar
Pierre Kraemer committed
65
66
67
68
69
	${UI_H_FILES}
	${MOC_FILES}
	${RCC_FILES}
)

70
TARGET_LINK_LIBRARIES( SCHNAppsD
Pierre Kraemer's avatar
Pierre Kraemer committed
71
72
73
74
	${CGoGN_LIBS_D}
	${COMMON_LIBS}
	${QGLVIEWER_LIBRARIES}
)
75
76
77


ADD_SUBDIRECTORY(${SCHNApps_ROOT_DIR}/Plugins PluginsD)