]> ruin.nu Git - germs.git/blobdiff - src/CMakeLists.txt
ModelIdentifier::identify implemented and passes test
[germs.git] / src / CMakeLists.txt
index 57f719813a3c5b67e16199e4b20b6a774dc66add..3f17220d404b405c58c3a1c0ec0092d05aa90a38 100644 (file)
@@ -2,12 +2,14 @@ PROJECT(GeneSort)
 
 SET(CMAKE_VERBOSE_MAKEFILE OFF)
 
-ADD_DEFINITIONS(-Wall -O2)
+ADD_DEFINITIONS(-Wall -g)
 
 INCLUDE_DIRECTORIES(.)
-ADD_LIBRARY(GeneSort geneorder)
+ADD_LIBRARY(GeneSort geneorder genealgorithms modelidentifier)
 ADD_EXECUTABLE(genesort main.cpp)
 
-TARGET_LINK_LIBRARIES(genesort doublefann GeneSort)
+SET(GENELIBS doublefann GeneSort)
+
+TARGET_LINK_LIBRARIES(genesort ${GENELIBS})
 
 SUBDIRS(test)