2010-05-06 00:08:41 +00:00
|
|
|
FILE(GLOB SRC *.cpp *.h)
|
|
|
|
|
2010-07-14 17:13:07 +00:00
|
|
|
NL_TARGET_LIB(nelligo ${SRC})
|
2010-05-06 00:08:41 +00:00
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
2010-09-01 21:30:06 +00:00
|
|
|
|
2010-05-06 00:08:41 +00:00
|
|
|
TARGET_LINK_LIBRARIES(nelligo ${LIBXML2_LIBRARIES} nelmisc)
|
2010-09-01 21:30:06 +00:00
|
|
|
SET_TARGET_PROPERTIES(nelligo PROPERTIES LINK_INTERFACE_LIBRARIES "")
|
2010-09-03 14:02:04 +00:00
|
|
|
NL_DEFAULT_PROPS(nelligo "NeL, Library: NeL Ligo")
|
2010-05-06 00:08:41 +00:00
|
|
|
|
2010-07-14 17:13:07 +00:00
|
|
|
NL_ADD_LIB_SUFFIX(nelligo)
|
2010-05-06 00:08:41 +00:00
|
|
|
|
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|
|
|
|
2010-09-02 07:31:54 +00:00
|
|
|
IF(WITH_PCH)
|
|
|
|
ADD_NATIVE_PRECOMPILED_HEADER(nelligo ${CMAKE_CURRENT_SOURCE_DIR}/stdligo.h ${CMAKE_CURRENT_SOURCE_DIR}/stdligo.cpp)
|
|
|
|
ENDIF(WITH_PCH)
|
|
|
|
|
2010-07-14 17:13:07 +00:00
|
|
|
NL_GEN_PC(nel-ligo.pc)
|
2010-05-06 00:08:41 +00:00
|
|
|
INSTALL(TARGETS nelligo LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries)
|