]> Creatis software - creaMaracasVisu.git/blob - appli/QtVTKViewer/CMakeLists.txt
linking error on fedora, changes in qt cmake
[creaMaracasVisu.git] / appli / QtVTKViewer / CMakeLists.txt
1 #----------------------------------------------------------------------------
2 # USER! : SET THE NAME OF YOUR EXECUTABLE
3 # Replace 'MyExe' by the name you want to give your executable.
4 # (a good policy is to give the executable the same name that the directory)
5
6 #########################
7 SET ( EXE_NAME   qtvtkviewer  )
8 #########################
9
10 #----------------------------------------------------------------------------
11
12 #----------------------------------------------------------------------------
13 # EXECUTABLE SOURCES (TO BE COMPILED)
14 # EITHER LIST ALL .cxx, *.cpp, *.cc IN CURRENT DIR USING NEXT LINE:
15
16 FILE(GLOB ${EXE_NAME}_SOURCES *.cxx *.cpp *.cc)
17
18 # OR MANUALLY LIST YOUR FILES WITH NEXT COMMAND (WITHOUT EXTENSION)
19 #  SET ( ${EXE_NAME}_SOURCES 
20 #   
21 #    )
22 #----------------------------------------------------------------------------
23
24 INCLUDE_DIRECTORIES (
25
26 # USER! : Add here the directories holding th extra .h files you need
27 # e.g.
28 # ../../lib/<my_library_I_just_created>
29
30 )
31
32 #----------------------------------------------------------------------------
33 # DEPENDENCIES (LIBRARIES TO LINK WITH)
34 SET ( ${EXE_NAME}_LINK_LIBRARIES
35
36     QVTK
37
38     GUIQtViewers
39     GUIQtVolumeRenderer
40     GUIQtSurfaceRenderer
41
42     BaseVolumeRenderer
43     BaseSurfaceRenderer
44
45     KernelViewerWidgets
46     KernelVolumeRenderer
47     KernelSurfaceRenderer
48   #    ${WXWIDGETS_LIBRARIES}
49   #    ${KWWidgets_LIBRARIES}
50   #    ${VTK_LIBRARIES}
51   #    ${ITK_LIBRARIES}
52   #    ${GDCM_LIBRARIES}
53   #    ${BOOST_LIBRARIES}
54   
55   # USER! : Add here those agmonst the various (?) PROJECT LIBRARIES
56   # you need for the current executable
57   # (If you created only one Library, don't forget it !...) 
58   
59   )
60 #----------------------------------------------------------------------------
61
62 #----------------------------------------------------------------------------
63 # USER! : UNCOMMENT NEXT LINE IF YOU WANT A CONSOLE ON WINDOWS
64 # NB : YOUR MAIN MUST BE ADAPTED ALSO
65 #      SEE THE MACRO CREA_WXMAIN_WITH_CONSOLE IN creaWx.h
66 #SET(${EXE_NAME}_CONSOLE TRUE)
67 #----------------------------------------------------------------------------
68
69 #----------------------------------------------------------------------------
70 # CREATES AND INSTALLS THE EXE
71 CREA_ADD_EXECUTABLE( ${EXE_NAME} )
72 #----------------------------------------------------------------------------
73
74