X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=src%2FCMakeLists.txt;h=ba506141bcee98fdf64fad862c8b639da67163a9;hb=6ba92ada02bfbb04abb8a0c7a039ec63c7c9921e;hp=7367530d3f2c90905c8614e3ef8ef69c2d20eb9a;hpb=9f9d091caec31672373596b1217e2019b05b465e;p=germs.git diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7367530..ba50614 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -2,9 +2,22 @@ PROJECT(GeneSort) SET(CMAKE_VERBOSE_MAKEFILE OFF) -ADD_DEFINITIONS(-Wall -O2) +#ADD_DEFINITIONS(-Wall -O2) + +#ADD_DEFINITIONS(-Wall -pedantic -g -D_GLIBCXX_DEBUG) +ADD_DEFINITIONS(-Wall -pedantic -g) + +#INCLUDE(CheckCXXSourceCompiles) + +#CheckCXXSourceCompiles(test HAVE_TR1) INCLUDE_DIRECTORIES(.) -ADD_EXECUTABLE(../bin/genesort main.cpp GeneOrder.cpp) +ADD_LIBRARY(GeneSort geneorder genealgorithms modelidentifier genesorter model + models componenttree) +ADD_EXECUTABLE(genesort main.cpp) + +SET(GENELIBS doublefann GeneSort) + +TARGET_LINK_LIBRARIES(genesort ${GENELIBS}) -TARGET_LINK_LIBRARIES(../bin/genesort doublefann) +SUBDIRS(test)