cmake support: first cut from David Vaz work.i
This commit is contained in:
18
packages/gecode/CMakeLists.txt
Normal file
18
packages/gecode/CMakeLists.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
#TODO: change macro_log_feature to check both WITH_{$name} and ${name}_FOUND
|
||||
#TODO: improve FindGecode.cmake to be similar to other Find*.cmake
|
||||
#CHECK: GECODE
|
||||
macro_optional_find_package (Gecode ON)
|
||||
macro_log_feature (GECODE_FOUND "libgecode"
|
||||
"Use Generic Constraint Development Environment (GECODE) library"
|
||||
"http://www.gecode.org" FALSE)
|
||||
if (GECODE_FOUND)
|
||||
#DEFINES:
|
||||
# GECODE_INCLUDE_DIR
|
||||
# GECODE_VERSION
|
||||
# GECODE_LIBRARIES
|
||||
|
||||
#set (EXTRALIBS gecode)
|
||||
|
||||
#include_directories (${GECODE_INCLUDE_DIR})
|
||||
#set (EXTRALIBS ${EXTRALIBS} ${GECODE_LIBRARIES})
|
||||
endif (GECODE_FOUND)
|
Reference in New Issue
Block a user