Location: LEMON/LEMON-main/lemon/CMakeLists.txt

Load file history
gravatar
kpeter (Peter Kovacs)
Bug fix in (di)graphCopy() (#371) The target graph is cleared before adding nodes and arcs/edges.
INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}
${PROJECT_BINARY_DIR}
)
CONFIGURE_FILE(
${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake
${CMAKE_CURRENT_BINARY_DIR}/config.h
)
ADD_LIBRARY(lemon
arg_parser.cc
base.cc
color.cc
random.cc
bits/windows.cc
)
INSTALL(
TARGETS lemon
ARCHIVE DESTINATION lib
COMPONENT library)
INSTALL(
DIRECTORY . bits concepts
DESTINATION include/lemon
COMPONENT headers
FILES_MATCHING PATTERN "*.h")
INSTALL(
FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h
DESTINATION include/lemon
COMPONENT headers)