2010-05-06 00:08:41 +00:00
|
|
|
SET(MAIN_SRC patch_gen_common.cpp patch_gen_main.cpp patch_gen_main.h)
|
|
|
|
SET(SERVICE_SRC patch_gen_common.cpp patch_gen_service.cpp patch_gen_service.h)
|
|
|
|
|
2010-05-10 17:17:19 +00:00
|
|
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NEL_INCLUDE_DIRS})
|
2010-05-06 00:08:41 +00:00
|
|
|
|
|
|
|
ADD_EXECUTABLE(patch_gen ${MAIN_SRC})
|
2010-05-10 17:17:19 +00:00
|
|
|
TARGET_LINK_LIBRARIES(patch_gen game_share ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} ${NELMISC_LIBRARY} ${NELNET_LIBRARY} ${NELLIGO_LIBRARY} ${NELGEORGES_LIBRARY})
|
2010-05-06 00:08:41 +00:00
|
|
|
|
|
|
|
ADD_EXECUTABLE(patch_gen_service ${SERVICE_SRC})
|
2010-05-10 17:17:19 +00:00
|
|
|
TARGET_LINK_LIBRARIES(patch_gen_service game_share ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} ${NELMISC_LIBRARY} ${NELNET_LIBRARY} ${NELLIGO_LIBRARY} ${NELGEORGES_LIBRARY})
|
2010-05-06 00:08:41 +00:00
|
|
|
|
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|
|
|
|
|
|
|
INSTALL(TARGETS patch_gen RUNTIME DESTINATION bin COMPONENT tools)
|
|
|
|
INSTALL(TARGETS patch_gen_service RUNTIME DESTINATION bin COMPONENT tools)
|