X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=src%2FCMakeLists.txt;h=ba506141bcee98fdf64fad862c8b639da67163a9;hb=e3b0df677271c6cf14e00e2344802bfd0a66ebd5;hp=ce189d80369a9eb60e0261642783b631df11ae43;hpb=7ec029d28e715c3c8826b1aea0b1a3afe53de603;p=germs.git diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ce189d8..ba50614 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -2,12 +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_LIBRARY(GeneSort geneorder) -ADD_EXECUTABLE(../bin/genesort main.cpp) +ADD_LIBRARY(GeneSort geneorder genealgorithms modelidentifier genesorter model + models componenttree) +ADD_EXECUTABLE(genesort main.cpp) + +SET(GENELIBS doublefann GeneSort) -TARGET_LINK_LIBRARIES(../bin/genesort doublefann GeneSort) +TARGET_LINK_LIBRARIES(genesort ${GENELIBS}) SUBDIRS(test)