Debian Codegraph @

src/CMakeLists.txt

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1
2 # this command finds Qt4 libraries and sets all required variables
3 # note that it's Qt4, not QT4 or qt4
4 #/usr/share/cmake-2.6/Modules/FindQt4.cmake
5 SET (QT_USE_QTXML true)
6 FIND_PACKAGE( Qt4 REQUIRED )
7
8 INCLUDE( ${QT_USE_FILE} )
9
10 #FIND_PACKAGE(X11 REQUIRED)
11 #FIND_PACKAGE(FindThreads REQUIRED)
12
13 IF(WIN32)
14 ADD_DEFINITIONS(-DMINGW32)
15 ENDIF(WIN32)
16
17 #INCLUDE_DIRECTORIES(X11_INCLUDE_DIR)
18 # X11_FOUND is true if X11 is available.
19 # * X11_INCLUDE_DIR contains the include directories to use X11.
20 # * X11_LIBRARIES points to the libraries to link against to use X11.
21 # Make sure the compiler can find include files from our Hello library.
22 #include_directories (${X11_INCLUDE_DIR})
23
24 # -m -pthread FindThreads
25
26
27 # Make sure the linker can find the Hello library once it is built.
28 #link_directories (${X11_INCLUDE_DIR})
29
30 add_executable (populations populations.cpp distgnt.cpp jeupopexp.cpp fstat.cpp jeupop.cpp applpop.cpp applpopulations.cpp matrices.cpp applications.cpp
31 arbre.cpp arbreplus.cpp couleur.cpp vecteurs.cpp locus.cpp allele.cpp individu.cpp strucpop.cpp chaineficpop.cpp metapop.cpp population.cpp)
32
33
34 IF(WIN32)
35 target_link_libraries (populations ${QT_LIBRARIES})
36 ELSE(WIN32)
37 target_link_libraries (populations ${QT_LIBRARIES} m)
38 ENDIF(WIN32)
39
40