2010-05-06 00:08:41 +00:00
|
|
|
FILE(GLOB SRC *.cpp)
|
|
|
|
FILE(GLOB PRIV_H *.h)
|
|
|
|
FILE(GLOB PUB_H ../../include/nel/georges/*.h)
|
|
|
|
|
|
|
|
SOURCE_GROUP(headers FILES ${PRIV_H} ${PUB_H})
|
|
|
|
|
2010-07-14 17:13:07 +00:00
|
|
|
NL_TARGET_LIB(nelgeorges ${SRC})
|
2010-05-06 00:08:41 +00:00
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|
|
|
TARGET_LINK_LIBRARIES(nelgeorges nelmisc)
|
2010-07-14 17:13:07 +00:00
|
|
|
NL_DEFAULT_PROPS(nelgeorges "Library: NeL Georges")
|
2010-05-06 00:08:41 +00:00
|
|
|
|
2010-07-14 17:13:07 +00:00
|
|
|
NL_ADD_LIB_SUFFIX(nelgeorges)
|
2010-05-06 00:08:41 +00:00
|
|
|
|
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|
|
|
|
2010-06-30 13:31:31 +00:00
|
|
|
IF(WITH_PCH)
|
|
|
|
ADD_NATIVE_PRECOMPILED_HEADER(nelgeorges ${CMAKE_CURRENT_SOURCE_DIR}/stdgeorges.h ${CMAKE_CURRENT_SOURCE_DIR}/stdgeorges.cpp)
|
|
|
|
ENDIF(WITH_PCH)
|
2010-06-25 06:33:15 +00:00
|
|
|
|
2010-07-14 17:13:07 +00:00
|
|
|
NL_GEN_PC(nel-georges.pc)
|
2010-05-06 00:08:41 +00:00
|
|
|
INSTALL(TARGETS nelgeorges LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries)
|