32 lines
462 B
CMake
32 lines
462 B
CMake
|
set (SRC
|
||
|
general.c
|
||
|
general.h
|
||
|
ProblogBDD.c
|
||
|
simplecudd.h
|
||
|
simplecudd.c
|
||
|
)
|
||
|
|
||
|
|
||
|
add_executable (LPADbdd
|
||
|
${SRC})
|
||
|
|
||
|
set_target_properties (LPADbdd PROPERTIES
|
||
|
OUTPUT_NAME LPADBDD
|
||
|
)
|
||
|
|
||
|
target_link_libraries(LPADbdd
|
||
|
${CUDD_LIBRARIES_EXPORT}
|
||
|
libYap
|
||
|
)
|
||
|
|
||
|
INCLUDE_DIRECTORIES(
|
||
|
${CUDD_INCLUDE_DIR_EXPORT}
|
||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||
|
)
|
||
|
|
||
|
install(TARGETS LPADbdd
|
||
|
RUNTIME DESTINATION ${bindir}
|
||
|
LIBRARY DESTINATION ${dlls}
|
||
|
)
|
||
|
|