mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 03:09:08 +00:00
Fixed: Some services compilation (winmain not found)
This commit is contained in:
parent
4b48c3a77c
commit
7401b20488
6 changed files with 14 additions and 19 deletions
|
@ -1,6 +1,6 @@
|
||||||
FILE(GLOB SRC *.cpp *.h)
|
FILE(GLOB SRC *.cpp *.h)
|
||||||
|
|
||||||
ADD_EXECUTABLE(reference_builder_service ${SRC})
|
ADD_EXECUTABLE(reference_builder_service WIN32 ${SRC})
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
|
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
|
||||||
TARGET_LINK_LIBRARIES(reference_builder_service
|
TARGET_LINK_LIBRARIES(reference_builder_service
|
||||||
|
|
|
@ -29,7 +29,7 @@ NL_DEFAULT_PROPS(ryzom_client_patcher "Ryzom, Tools: Ryzom Client Patcher")
|
||||||
NL_ADD_RUNTIME_FLAGS(ryzom_client_patcher)
|
NL_ADD_RUNTIME_FLAGS(ryzom_client_patcher)
|
||||||
|
|
||||||
IF(WITH_PCH)
|
IF(WITH_PCH)
|
||||||
ADD_NATIVE_PRECOMPILED_HEADER(ryzom_client_patcher ${CMAKE_SOURCE_DIR}/client/src/stdpch.h ${CMAKE_SOURCE_DIR}/client/src/stdpch.cpp)
|
ADD_NATIVE_PRECOMPILED_HEADER(ryzom_client_patcher ${CMAKE_SOURCE_DIR}/ryzom/client/src/stdpch.h ${CMAKE_SOURCE_DIR}/ryzom/client/src/stdpch.cpp)
|
||||||
ENDIF(WITH_PCH)
|
ENDIF(WITH_PCH)
|
||||||
|
|
||||||
INSTALL(TARGETS ryzom_client_patcher RUNTIME DESTINATION games COMPONENT client BUNDLE DESTINATION /Applications)
|
INSTALL(TARGETS ryzom_client_patcher RUNTIME DESTINATION games COMPONENT client BUNDLE DESTINATION /Applications)
|
||||||
|
|
|
@ -2,10 +2,7 @@ FILE(GLOB SRC *.cpp *.h)
|
||||||
|
|
||||||
ADD_EXECUTABLE(csv_transform ${SRC})
|
ADD_EXECUTABLE(csv_transform ${SRC})
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
|
TARGET_LINK_LIBRARIES(csv_transform ${PLATFORM_LINKFLAGS} nelmisc)
|
||||||
TARGET_LINK_LIBRARIES(csv_transform ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} nelmisc)
|
|
||||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|
||||||
|
|
||||||
NL_DEFAULT_PROPS(csv_transform "Ryzom, Tools, Misc: CSV Transform")
|
NL_DEFAULT_PROPS(csv_transform "Ryzom, Tools, Misc: CSV Transform")
|
||||||
NL_ADD_RUNTIME_FLAGS(csv_transform)
|
NL_ADD_RUNTIME_FLAGS(csv_transform)
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,8 @@ FILE(GLOB SRC *.cpp *.h)
|
||||||
|
|
||||||
ADD_EXECUTABLE(icon_search ${SRC})
|
ADD_EXECUTABLE(icon_search ${SRC})
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NEL_INCLUDE_DIR})
|
TARGET_LINK_LIBRARIES(icon_search ${PLATFORM_LINKFLAGS} nelmisc)
|
||||||
TARGET_LINK_LIBRARIES(icon_search ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} ${NELMISC_LIBRARY})
|
NL_DEFAULT_PROPS(icon_search "Ryzom, Tools, Misc: Icon Search")
|
||||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
NL_ADD_RUNTIME_FLAGS(icon_search)
|
||||||
|
|
||||||
INSTALL(TARGETS icon_search RUNTIME DESTINATION bin COMPONENT tools)
|
INSTALL(TARGETS icon_search RUNTIME DESTINATION bin COMPONENT tools)
|
||||||
|
|
|
@ -4,17 +4,15 @@ SET(SERVICE_SRC patch_gen_common.cpp patch_gen_service.cpp patch_gen_service.h)
|
||||||
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
||||||
|
|
||||||
ADD_EXECUTABLE(patch_gen ${MAIN_SRC})
|
ADD_EXECUTABLE(patch_gen ${MAIN_SRC})
|
||||||
TARGET_LINK_LIBRARIES(patch_gen ryzom_gameshare ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} nelmisc nelnet nelligo nelgeorges)
|
TARGET_LINK_LIBRARIES(patch_gen ryzom_gameshare ${PLATFORM_LINKFLAGS} nelmisc nelnet nelligo nelgeorges)
|
||||||
|
NL_DEFAULT_PROPS(patch_gen "Ryzom, Tools: Patch Generator")
|
||||||
ADD_EXECUTABLE(patch_gen_service ${SERVICE_SRC})
|
|
||||||
TARGET_LINK_LIBRARIES(patch_gen_service ryzom_gameshare ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} nelmisc nelnet nelligo nelgeogres)
|
|
||||||
|
|
||||||
NL_DEFAULT_PROPS(patch_gen_service "Ryzom, Tools: Patch Generator")
|
|
||||||
NL_ADD_RUNTIME_FLAGS(patch_gen_service)
|
|
||||||
|
|
||||||
NL_DEFAULT_PROPS(patch_gen "Ryzom, Tools: Patch Generator Service")
|
|
||||||
NL_ADD_RUNTIME_FLAGS(patch_gen)
|
NL_ADD_RUNTIME_FLAGS(patch_gen)
|
||||||
|
|
||||||
|
ADD_EXECUTABLE(patch_gen_service WIN32 ${SERVICE_SRC})
|
||||||
|
TARGET_LINK_LIBRARIES(patch_gen_service ryzom_gameshare ${PLATFORM_LINKFLAGS} nelmisc nelnet nelligo nelgeorges)
|
||||||
|
NL_DEFAULT_PROPS(patch_gen_service "Ryzom, Tools: Patch Generator Service")
|
||||||
|
NL_ADD_RUNTIME_FLAGS(patch_gen_service)
|
||||||
|
|
||||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||||
|
|
||||||
INSTALL(TARGETS patch_gen RUNTIME DESTINATION bin COMPONENT tools)
|
INSTALL(TARGETS patch_gen RUNTIME DESTINATION bin COMPONENT tools)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
FILE(GLOB SRC *.cpp *.h)
|
FILE(GLOB SRC *.cpp *.h)
|
||||||
|
|
||||||
ADD_EXECUTABLE(stats_scan ${SRC})
|
ADD_EXECUTABLE(stats_scan WIN32 ${SRC})
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
||||||
TARGET_LINK_LIBRARIES(stats_scan ryzom_gameshare ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} nelmisc nelnet nelligo nelgeorges)
|
TARGET_LINK_LIBRARIES(stats_scan ryzom_gameshare ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} nelmisc nelnet nelligo nelgeorges)
|
||||||
|
|
Loading…
Reference in a new issue