summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
Diffstat (limited to 'Tools')
-rw-r--r--Tools/AnvilStats/CMakeLists.txt9
-rw-r--r--Tools/GrownBiomeGenVisualiser/CMakeLists.txt6
-rw-r--r--Tools/MCADefrag/CMakeLists.txt5
-rw-r--r--Tools/NoiseSpeedTest/CMakeLists.txt5
-rw-r--r--Tools/ProtoProxy/CMakeLists.txt4
5 files changed, 14 insertions, 15 deletions
diff --git a/Tools/AnvilStats/CMakeLists.txt b/Tools/AnvilStats/CMakeLists.txt
index a5cf4b9e7..760bc0063 100644
--- a/Tools/AnvilStats/CMakeLists.txt
+++ b/Tools/AnvilStats/CMakeLists.txt
@@ -1,7 +1,5 @@
project (AnvilStats)
-include(../../SetFlags.cmake)
-
# Set include paths to the used libraries:
include_directories("../../lib")
include_directories("../../src")
@@ -107,9 +105,11 @@ add_executable(AnvilStats
${SHARED_OSS_HDR}
)
-
target_link_libraries(AnvilStats zlib)
+include(../../SetFlags.cmake)
+set_exe_flags(AnvilStats)
+
@@ -128,6 +128,3 @@ if (MSVC)
SET(TEMP "${TEMP}/STACK:16777216")
set_target_properties(AnvilStats PROPERTIES LINK_FLAGS ${TEMP})
endif ()
-
-
-
diff --git a/Tools/GrownBiomeGenVisualiser/CMakeLists.txt b/Tools/GrownBiomeGenVisualiser/CMakeLists.txt
index ed8cd5d1d..37862e8c4 100644
--- a/Tools/GrownBiomeGenVisualiser/CMakeLists.txt
+++ b/Tools/GrownBiomeGenVisualiser/CMakeLists.txt
@@ -1,8 +1,6 @@
project (GrownBiomeGenVisualiser)
find_package(Threads REQUIRED)
-include(../../SetFlags.cmake)
-
# Set include paths to the used libraries:
include_directories(SYSTEM "../../lib")
include_directories("../../src")
@@ -80,5 +78,7 @@ add_executable(GrownBiomeGenVisualiser
)
target_link_libraries(GrownBiomeGenVisualiser fmt::fmt Threads::Threads)
-
set_target_properties(GrownBiomeGenVisualiser PROPERTIES FOLDER Tools)
+
+include(../../SetFlags.cmake)
+set_exe_flags(GrownBiomeGenVisualiser)
diff --git a/Tools/MCADefrag/CMakeLists.txt b/Tools/MCADefrag/CMakeLists.txt
index b093a759b..6ad894390 100644
--- a/Tools/MCADefrag/CMakeLists.txt
+++ b/Tools/MCADefrag/CMakeLists.txt
@@ -2,8 +2,6 @@ cmake_minimum_required(VERSION 3.13)
project (MCADefrag)
find_package(Threads REQUIRED)
-include(../../SetFlags.cmake)
-
# Set include paths to the used libraries:
include_directories(SYSTEM "../../lib")
include_directories("../../src")
@@ -87,3 +85,6 @@ add_executable(MCADefrag
)
target_link_libraries(MCADefrag zlib fmt::fmt Threads::Threads)
+
+include(../../SetFlags.cmake)
+set_exe_flags(MCADefrag)
diff --git a/Tools/NoiseSpeedTest/CMakeLists.txt b/Tools/NoiseSpeedTest/CMakeLists.txt
index f207cead3..9488fdca0 100644
--- a/Tools/NoiseSpeedTest/CMakeLists.txt
+++ b/Tools/NoiseSpeedTest/CMakeLists.txt
@@ -1,7 +1,5 @@
project (NoiseSpeedTest)
-include(../../SetFlags.cmake)
-
# Set include paths to the used libraries:
include_directories(SYSTEM "../../lib")
include_directories("../../src")
@@ -61,3 +59,6 @@ set_target_properties(
NoiseSpeedTest
PROPERTIES FOLDER Tools
)
+
+include(../../SetFlags.cmake)
+set_exe_flags(NoiseSpeedTest)
diff --git a/Tools/ProtoProxy/CMakeLists.txt b/Tools/ProtoProxy/CMakeLists.txt
index 8f3228a47..90258f64f 100644
--- a/Tools/ProtoProxy/CMakeLists.txt
+++ b/Tools/ProtoProxy/CMakeLists.txt
@@ -1,8 +1,6 @@
project (ProtoProxy)
find_package(Threads REQUIRED)
-include(../../SetFlags.cmake)
-
# Set include paths to the used libraries:
include_directories(SYSTEM "../../lib")
include_directories(SYSTEM "../../lib/mbedtls/include")
@@ -96,3 +94,5 @@ add_executable(ProtoProxy
target_link_libraries(ProtoProxy zlib mbedtls fmt::fmt Threads::Threads)
+include(../../SetFlags.cmake)
+set_exe_flags(ProtoProxy)