2010-09-19 18:49:03 +02:00
|
|
|
FILE(GLOB SRC *.cpp *.h)
|
|
|
|
FILE(GLOB HEADERS ../../include/nel/georges/*.h)
|
2010-05-06 02:08:41 +02:00
|
|
|
|
2010-09-19 18:49:03 +02:00
|
|
|
# SOURCE_GROUP(headers FILES ${HEADERS})
|
2010-05-06 02:08:41 +02:00
|
|
|
|
2010-09-19 18:49:03 +02:00
|
|
|
NL_TARGET_LIB(nelgeorges ${HEADERS} ${SRC})
|
2010-05-06 02:08:41 +02:00
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
2010-09-01 23:30:06 +02:00
|
|
|
|
|
|
|
TARGET_LINK_LIBRARIES(nelgeorges ${LIBXML2_LIBRARIES} nelmisc)
|
|
|
|
SET_TARGET_PROPERTIES(nelgeorges PROPERTIES LINK_INTERFACE_LIBRARIES "")
|
2010-09-03 08:02:04 -06:00
|
|
|
NL_DEFAULT_PROPS(nelgeorges "NeL, Library: NeL Georges")
|
2010-09-14 13:51:44 +02:00
|
|
|
NL_ADD_RUNTIME_FLAGS(nelgeorges)
|
2010-05-06 02:08:41 +02:00
|
|
|
|
2010-07-14 12:13:07 -05:00
|
|
|
NL_ADD_LIB_SUFFIX(nelgeorges)
|
2010-05-06 02:08:41 +02:00
|
|
|
|
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|
|
|
|
2010-06-30 15:31:31 +02: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 08:33:15 +02:00
|
|
|
|
2010-07-14 12:13:07 -05:00
|
|
|
NL_GEN_PC(nel-georges.pc)
|
2011-09-11 14:44:37 +02:00
|
|
|
|
|
|
|
IF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC)
|
|
|
|
INSTALL(TARGETS nelgeorges LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries)
|
|
|
|
ENDIF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC)
|