aboutsummaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorNaios <naios-dev@live.de>2017-12-19 17:22:30 +0100
committerNaios <naios-dev@live.de>2017-12-20 04:04:28 +0100
commit12853475186569b2f47f1d69f817cbef8e590d83 (patch)
treeb9301c2c5ec16330ed6f69b682bf50b802b40cf1 /src/tools
parentdb5d5a03be4829928bd20c7d40a6f576f0b86478 (diff)
Build: Inherit the features and warning flags privately
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/connection_patcher/CMakeLists.txt2
-rw-r--r--src/tools/extractor_common/CMakeLists.txt2
-rw-r--r--src/tools/map_extractor/CMakeLists.txt2
-rw-r--r--src/tools/mmaps_generator/CMakeLists.txt2
-rw-r--r--src/tools/vmap4_assembler/CMakeLists.txt9
-rw-r--r--src/tools/vmap4_extractor/CMakeLists.txt2
6 files changed, 16 insertions, 3 deletions
diff --git a/src/tools/connection_patcher/CMakeLists.txt b/src/tools/connection_patcher/CMakeLists.txt
index 94739370633..3da8c1b4cc8 100644
--- a/src/tools/connection_patcher/CMakeLists.txt
+++ b/src/tools/connection_patcher/CMakeLists.txt
@@ -19,6 +19,8 @@ GroupSources(${CMAKE_CURRENT_SOURCE_DIR})
add_executable(connection_patcher ${PRIVATE_SOURCES})
target_link_libraries(connection_patcher
+ PRIVATE
+ trinity-core-interface
PUBLIC
common
)
diff --git a/src/tools/extractor_common/CMakeLists.txt b/src/tools/extractor_common/CMakeLists.txt
index 9a79dfeba00..8ec9d63333b 100644
--- a/src/tools/extractor_common/CMakeLists.txt
+++ b/src/tools/extractor_common/CMakeLists.txt
@@ -15,6 +15,8 @@ CollectSourceFiles(
add_library(extractor_common STATIC ${PRIVATE_SOURCES})
target_link_libraries(extractor_common
+ PRIVATE
+ trinity-core-interface
PUBLIC
casc
common)
diff --git a/src/tools/map_extractor/CMakeLists.txt b/src/tools/map_extractor/CMakeLists.txt
index 6347d3bc807..40122f11f52 100644
--- a/src/tools/map_extractor/CMakeLists.txt
+++ b/src/tools/map_extractor/CMakeLists.txt
@@ -27,6 +27,8 @@ target_include_directories(mapextractor
${CMAKE_CURRENT_SOURCE_DIR}/loadlib)
target_link_libraries(mapextractor
+ PRIVATE
+ trinity-core-interface
PUBLIC
extractor_common)
diff --git a/src/tools/mmaps_generator/CMakeLists.txt b/src/tools/mmaps_generator/CMakeLists.txt
index fad569101f2..0b603a556cc 100644
--- a/src/tools/mmaps_generator/CMakeLists.txt
+++ b/src/tools/mmaps_generator/CMakeLists.txt
@@ -19,6 +19,8 @@ endif()
add_executable(mmaps_generator ${PRIVATE_SOURCES})
target_link_libraries(mmaps_generator
+ PRIVATE
+ trinity-core-interface
PUBLIC
common
Recast
diff --git a/src/tools/vmap4_assembler/CMakeLists.txt b/src/tools/vmap4_assembler/CMakeLists.txt
index 1eb4de4ad75..b73f84a4d52 100644
--- a/src/tools/vmap4_assembler/CMakeLists.txt
+++ b/src/tools/vmap4_assembler/CMakeLists.txt
@@ -18,9 +18,12 @@ endif()
add_executable(vmap4assembler ${PRIVATE_SOURCES})
target_link_libraries(vmap4assembler
- common
- casc
- zlib)
+ PRIVATE
+ trinity-core-interface
+ PUBLIC
+ common
+ casc
+ zlib)
set_target_properties(vmap4assembler
PROPERTIES
diff --git a/src/tools/vmap4_extractor/CMakeLists.txt b/src/tools/vmap4_extractor/CMakeLists.txt
index 8af68c8e8ed..5d476010fb2 100644
--- a/src/tools/vmap4_extractor/CMakeLists.txt
+++ b/src/tools/vmap4_extractor/CMakeLists.txt
@@ -20,6 +20,8 @@ endif()
add_executable(vmap4extractor ${PRIVATE_SOURCES})
target_link_libraries(vmap4extractor
+ PRIVATE
+ trinity-core-interface
PUBLIC
bzip2
extractor_common)