2010-05-12 18:21:55 +00:00
|
|
|
FILE(GLOB SRC *.cpp *.h)
|
|
|
|
|
2010-05-20 20:40:16 +00:00
|
|
|
ADD_LIBRARY(admin_modules STATIC ${SRC})
|
2010-05-12 18:21:55 +00:00
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NEL_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
TARGET_LINK_LIBRARIES(admin_modules ${NELMISC_LIBRARY})
|
|
|
|
SET_TARGET_PROPERTIES(admin_modules PROPERTIES VERSION ${NL_VERSION})
|
|
|
|
|
|
|
|
IF(WIN32)
|
|
|
|
SET_TARGET_PROPERTIES(admin_modules
|
|
|
|
PROJECT_LABEL "Library: Admin Modules"
|
|
|
|
DEBUG_POSTFIX "_d"
|
|
|
|
RELEASE_POSTFIX "_r"
|
|
|
|
LINK_FLAGS_DEBUG "/NODEFAULTLIB:libc;libcmt;libcmtd;msvcrt"
|
|
|
|
LINK_FLAGS_RELEASE "/NODEFAULTLIB:libc;libcmt;libcmtd;msvcrtd")
|
|
|
|
ENDIF(WIN32)
|
|
|
|
|
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|
|
|
|
|
|
|
INSTALL(TARGETS admin_modules LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries)
|