1 FILE(GLOB SRC *.cpp *.h)
2 FILE(GLOB HEADERS ../../include/nel/logic/*.h)
4 NL_TARGET_LIB(nellogic ${HEADERS} ${SRC})
6 INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
8 TARGET_LINK_LIBRARIES(nellogic nelmisc nelnet)
9 NL_DEFAULT_PROPS(nellogic "NeL, Library: NeL Logic")
10 NL_ADD_RUNTIME_FLAGS(nellogic)
12 NL_ADD_LIB_SUFFIX(nellogic)
14 ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
17 ADD_NATIVE_PRECOMPILED_HEADER(nellogic ${CMAKE_CURRENT_SOURCE_DIR}/stdlogic.h ${CMAKE_CURRENT_SOURCE_DIR}/stdlogic.cpp)
20 IF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC)
21 INSTALL(TARGETS nellogic LIBRARY DESTINATION ${NL_LIB_PREFIX} ARCHIVE DESTINATION ${NL_LIB_PREFIX} COMPONENT libraries)