mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-10 09:19:01 +00:00
Fixed: Some services compilation (winmain not found)
This commit is contained in:
parent
1722180ee3
commit
9b84af242e
6 changed files with 14 additions and 19 deletions
|
@ -1,6 +1,6 @@
|
|||
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})
|
||||
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)
|
||||
|
||||
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)
|
||||
|
||||
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})
|
||||
|
||||
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
TARGET_LINK_LIBRARIES(csv_transform ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} nelmisc)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
||||
TARGET_LINK_LIBRARIES(csv_transform ${PLATFORM_LINKFLAGS} nelmisc)
|
||||
NL_DEFAULT_PROPS(csv_transform "Ryzom, Tools, Misc: CSV Transform")
|
||||
NL_ADD_RUNTIME_FLAGS(csv_transform)
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@ FILE(GLOB SRC *.cpp *.h)
|
|||
|
||||
ADD_EXECUTABLE(icon_search ${SRC})
|
||||
|
||||
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NEL_INCLUDE_DIR})
|
||||
TARGET_LINK_LIBRARIES(icon_search ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} ${NELMISC_LIBRARY})
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
TARGET_LINK_LIBRARIES(icon_search ${PLATFORM_LINKFLAGS} nelmisc)
|
||||
NL_DEFAULT_PROPS(icon_search "Ryzom, Tools, Misc: Icon Search")
|
||||
NL_ADD_RUNTIME_FLAGS(icon_search)
|
||||
|
||||
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})
|
||||
|
||||
ADD_EXECUTABLE(patch_gen ${MAIN_SRC})
|
||||
TARGET_LINK_LIBRARIES(patch_gen ryzom_gameshare ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} nelmisc nelnet nelligo nelgeorges)
|
||||
|
||||
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")
|
||||
TARGET_LINK_LIBRARIES(patch_gen ryzom_gameshare ${PLATFORM_LINKFLAGS} nelmisc nelnet nelligo nelgeorges)
|
||||
NL_DEFAULT_PROPS(patch_gen "Ryzom, Tools: Patch Generator")
|
||||
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})
|
||||
|
||||
INSTALL(TARGETS patch_gen RUNTIME DESTINATION bin COMPONENT tools)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
FILE(GLOB SRC *.cpp *.h)
|
||||
|
||||
ADD_EXECUTABLE(stats_scan ${SRC})
|
||||
ADD_EXECUTABLE(stats_scan WIN32 ${SRC})
|
||||
|
||||
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
||||
TARGET_LINK_LIBRARIES(stats_scan ryzom_gameshare ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} nelmisc nelnet nelligo nelgeorges)
|
||||
|
|
Loading…
Reference in a new issue