1 #----------------------------------------------------------------------------
2 # SET THE NAME OF YOUR EXECUTABLE
4 #----------------------------------------------------------------------------
6 #----------------------------------------------------------------------------
7 # EXECUTABLE SOURCES (TO BE COMPILED)
8 # EITHER LIST ALL .cxx, *.cpp, *.cc IN CURRENT DIR USING NEXT LINE:
9 FILE(GLOB ${EXE_NAME}_SOURCES *.cxx *.cpp *.cc)
10 # OR MANUALLY LIST YOUR FILES WITH NEXT COMMAND (WITHOUT EXTENSION)
11 # SET ( ${EXE_NAME}_SOURCES
14 #----------------------------------------------------------------------------
16 #----------------------------------------------------------------------------
17 # DEPENDENCIES (LIBRARIES TO LINK WITH)
18 SET ( ${EXE_NAME}_LINK_LIBRARIES
20 # ${WXWIDGETS_LIBRARIES}
26 #----------------------------------------------------------------------------
28 #----------------------------------------------------------------------------
29 # UNCOMMENT NEXT LINE IF YOU WANT A CONSOLE ON WINDOWS
30 # NB : YOUR MAIN MUST BE ADAPTED ALSO
31 # SEE THE MACRO CREA_WXMAIN_WITH_CONSOLE IN creaWx.h
32 #SET(${EXE_NAME}_CONSOLE TRUE)
33 #----------------------------------------------------------------------------
35 #----------------------------------------------------------------------------
36 # CREATES AND INSTALLS THE EXE
37 CREA_ADD_WX_EXECUTABLE( ${EXE_NAME} )
38 #----------------------------------------------------------------------------