Skip to content

Commit

Permalink
Bugfix: Link error on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
i0gan committed Apr 29, 2024
1 parent 61a0dd1 commit 4941328
Show file tree
Hide file tree
Showing 26 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/node/db_proxy/clickhouse/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ else()
endif()

LinkStruct(${ProjectName})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "node/db_proxy" ${SQUICK_BUILD_PLUGIN_SERVER_PATH}/db_proxy "clickhouse")
1 change: 1 addition & 0 deletions src/node/db_proxy/logic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ file(GLOB soruces *.cc)
file(GLOB headers *.h)
add_library(${ProjectName} SHARED ${soruces} ${headers})
LinkStruct(${ProjectName})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "node/db_proxy" ${SQUICK_BUILD_PLUGIN_SERVER_PATH}/db_proxy "logic")
1 change: 1 addition & 0 deletions src/node/db_proxy/mongo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ else()
endif()

LinkStruct(${ProjectName})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "node/db_proxy" ${SQUICK_BUILD_PLUGIN_SERVER_PATH}/db_proxy "mongo")
1 change: 1 addition & 0 deletions src/node/db_proxy/mysql/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ else()
endif()

LinkStruct(${ProjectName})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "node/db_proxy" ${SQUICK_BUILD_PLUGIN_SERVER_PATH}/db_proxy "mysql")
1 change: 1 addition & 0 deletions src/node/db_proxy/redis/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ else()
endif()

LinkStruct(${ProjectName})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "node/db_proxy" ${SQUICK_BUILD_PLUGIN_SERVER_PATH}/db_proxy "redis")
1 change: 1 addition & 0 deletions src/node/game/logic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ file(GLOB soruces *.cc)
file(GLOB headers *.h)
add_library(${ProjectName} SHARED ${soruces} ${headers})
LinkStruct(${ProjectName})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "node/game" ${SQUICK_BUILD_PLUGIN_SERVER_PATH}/game "logic")
1 change: 1 addition & 0 deletions src/node/global/logic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ file(GLOB soruces *.cc)
file(GLOB headers *.h)
add_library(${ProjectName} SHARED ${soruces} ${headers})
LinkStruct(${ProjectName})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "node/global" ${SQUICK_BUILD_PLUGIN_SERVER_PATH}/global "logic")
1 change: 1 addition & 0 deletions src/node/login/logic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ file(GLOB headers *.h

add_library(${ProjectName} SHARED ${soruces} ${headers})
LinkStruct(${ProjectName})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "node/login" ${SQUICK_BUILD_PLUGIN_SERVER_PATH}/login "logic")
1 change: 1 addition & 0 deletions src/node/master/logic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ file(GLOB soruces *.cc)
file(GLOB headers *.h)
add_library(${ProjectName} SHARED ${soruces} ${headers})
LinkStruct(${ProjectName})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "node/master" ${SQUICK_BUILD_PLUGIN_SERVER_PATH}/master "logic")
1 change: 1 addition & 0 deletions src/node/player/logic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ else()
endif()

LinkStruct(${ProjectName})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "node/player" ${SQUICK_BUILD_PLUGIN_SERVER_PATH}/player "logic")
1 change: 1 addition & 0 deletions src/node/proxy/logic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ file(GLOB soruces *.cc)
file(GLOB headers *.h)
add_library(${ProjectName} SHARED ${soruces} ${headers})
LinkStruct(${ProjectName})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "node/proxy" ${SQUICK_BUILD_PLUGIN_SERVER_PATH}/proxy "logic")
1 change: 1 addition & 0 deletions src/node/web/logic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ file(GLOB headers *.h

add_library(${ProjectName} SHARED ${soruces} ${headers})
LinkStruct(${ProjectName})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "node/web" ${SQUICK_BUILD_PLUGIN_SERVER_PATH}/web "logic")
1 change: 1 addition & 0 deletions src/node/world/logic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ file(GLOB soruces *.cc)
file(GLOB headers *.h)
add_library(${ProjectName} SHARED ${soruces} ${headers})
LinkStruct(${ProjectName})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "node/world" ${SQUICK_BUILD_PLUGIN_SERVER_PATH}/world "logic")
1 change: 1 addition & 0 deletions src/squick/plugin/actor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ set(ProjectName "core_actor")
file(GLOB soruces *.cc)
file(GLOB headers *.h)
add_library(${ProjectName} SHARED ${soruces} ${headers})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "squick/plugin" ${SQUICK_BUILD_PLUGIN_CORE_PATH} "actor")
1 change: 1 addition & 0 deletions src/squick/plugin/config/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ set(ProjectName "core_config")
file(GLOB soruces *.cc)
file(GLOB headers *.h)
add_library(${ProjectName} SHARED ${soruces} ${headers})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "squick/plugin" ${SQUICK_BUILD_PLUGIN_CORE_PATH} "config")
1 change: 1 addition & 0 deletions src/squick/plugin/log/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ set(ProjectName "core_log")
file(GLOB soruces *.cc)
file(GLOB headers *.h)
add_library(${ProjectName} SHARED ${soruces} ${headers})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "squick/plugin" ${SQUICK_BUILD_PLUGIN_CORE_PATH} "log")
1 change: 1 addition & 0 deletions src/squick/plugin/lua/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ else()
endif()

LinkStruct(${ProjectName})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "squick/plugin" ${SQUICK_BUILD_PLUGIN_CORE_PATH} "lua")
1 change: 1 addition & 0 deletions src/squick/plugin/navigation/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ target_include_directories(${ProjectName} PUBLIC
${SolutionDir}/third_party/navigation/)

target_link_libraries(${ProjectName} recastnavigation)
LinkCore(${ProjectName})
SquickOut(${ProjectName} "squick/plugin" ${SQUICK_BUILD_PLUGIN_CORE_PATH} "navigation")
1 change: 1 addition & 0 deletions src/squick/plugin/net/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ else()
endif()

LinkStruct(${ProjectName})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "squick/plugin" ${SQUICK_BUILD_PLUGIN_CORE_PATH} "net")
1 change: 1 addition & 0 deletions src/squick/plugin/node/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ file(GLOB soruces *.cc)
file(GLOB headers *.h)
add_library(${ProjectName} SHARED ${soruces} ${headers})
LinkStruct(${ProjectName})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "squick/plugin" ${SQUICK_BUILD_PLUGIN_CORE_PATH} "node")
1 change: 1 addition & 0 deletions src/squick/plugin/thread/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ set(ProjectName "core_thread")
file(GLOB soruces *.cc)
file(GLOB headers *.h)
add_library(${ProjectName} SHARED ${soruces} ${headers})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "squick/plugin" ${SQUICK_BUILD_PLUGIN_CORE_PATH} "thread")
1 change: 1 addition & 0 deletions src/squick/plugin/utils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ set(ProjectName "core_utils")
file(GLOB soruces *.cc)
file(GLOB headers *.h)
add_library(${ProjectName} SHARED ${soruces} ${headers})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "squick/plugin" ${SQUICK_BUILD_PLUGIN_CORE_PATH} "utils")
1 change: 1 addition & 0 deletions src/squick/plugin/world/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ set(ProjectName "core_world")
file(GLOB soruces *.cc)
file(GLOB headers *.h)
add_library(${ProjectName} SHARED ${soruces} ${headers})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "squick/plugin" ${SQUICK_BUILD_PLUGIN_CORE_PATH} "world")
1 change: 1 addition & 0 deletions src/tools/sqkcli/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ file(GLOB soruces *.cc)
file(GLOB headers *.h)
add_library(${ProjectName} SHARED ${soruces} ${headers})
LinkStruct(${ProjectName})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "tools/sqkcli/plugin" ${SQUICK_BUILD_PLUGIN_SQKCLI_PATH} "core")
1 change: 1 addition & 0 deletions src/tutorial/t2_property/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ set(ProjectName "tutorial_t2_property")
file(GLOB soruces *.cc)
file(GLOB headers *.h)
add_library(${ProjectName} SHARED ${soruces} ${headers})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "tutorial" ${SQUICK_BUILD_PLUGIN_TUTORIAL_PATH} "t2_property")
1 change: 1 addition & 0 deletions src/tutorial/t3_event/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ set(ProjectName "tutorial_t3_event")
file(GLOB soruces *.cc)
file(GLOB headers *.h)
add_library(${ProjectName} SHARED ${soruces} ${headers})
LinkCore(${ProjectName})
SquickOut(${ProjectName} "tutorial" ${SQUICK_BUILD_PLUGIN_TUTORIAL_PATH} "t3_event")

0 comments on commit 4941328

Please sign in to comment.