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)
6 #########################
7 SET ( EXE_NAME qtvtkviewer )
8 #########################
10 #----------------------------------------------------------------------------
12 #----------------------------------------------------------------------------
13 # EXECUTABLE SOURCES (TO BE COMPILED)
14 # EITHER LIST ALL .cxx, *.cpp, *.cc IN CURRENT DIR USING NEXT LINE:
16 FILE(GLOB ${EXE_NAME}_SOURCES *.cxx *.cpp *.cc)
18 # OR MANUALLY LIST YOUR FILES WITH NEXT COMMAND (WITHOUT EXTENSION)
19 # SET ( ${EXE_NAME}_SOURCES
22 #----------------------------------------------------------------------------
26 # USER! : Add here the directories holding th extra .h files you need
28 # ../../lib/<my_library_I_just_created>
32 #----------------------------------------------------------------------------
33 # DEPENDENCIES (LIBRARIES TO LINK WITH)
34 SET ( ${EXE_NAME}_LINK_LIBRARIES
41 # ${WXWIDGETS_LIBRARIES}
42 # ${KWWidgets_LIBRARIES}
48 # USER! : Add here those agmonst the various (?) PROJECT LIBRARIES
49 # you need for the current executable
50 # (If you created only one Library, don't forget it !...)
53 #----------------------------------------------------------------------------
55 #----------------------------------------------------------------------------
56 # USER! : UNCOMMENT NEXT LINE IF YOU WANT A CONSOLE ON WINDOWS
57 # NB : YOUR MAIN MUST BE ADAPTED ALSO
58 # SEE THE MACRO CREA_WXMAIN_WITH_CONSOLE IN creaWx.h
59 #SET(${EXE_NAME}_CONSOLE TRUE)
60 #----------------------------------------------------------------------------
62 #----------------------------------------------------------------------------
63 # CREATES AND INSTALLS THE EXE
64 CREA_ADD_EXECUTABLE( ${EXE_NAME} )
65 #----------------------------------------------------------------------------