From d9b53aaa11de2b090e6d7f236da26c3dee91cbe0 Mon Sep 17 00:00:00 2001 From: Brett Date: Sat, 1 Apr 2023 16:49:54 -0400 Subject: [PATCH] reduce min version --- CMakeLists.txt | 2 +- cmake-build-release/CMakeCache.txt | 3 +++ cmake-build-release/build.ninja | 25 +++++++++++++++---------- 3 files changed, 19 insertions(+), 11 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dac4cc7..1e4f594 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.22) +cmake_minimum_required(VERSION 3.0) project(BLT VERSION 0.5.2) set(CMAKE_CXX_STANDARD 17) diff --git a/cmake-build-release/CMakeCache.txt b/cmake-build-release/CMakeCache.txt index ec0a4ea..c264e94 100644 --- a/cmake-build-release/CMakeCache.txt +++ b/cmake-build-release/CMakeCache.txt @@ -20,6 +20,9 @@ BLT_BINARY_DIR:STATIC=/home/brett/Documents/code/c++/BLT/cmake-build-release //Value Computed by CMake BLT_IS_TOP_LEVEL:STATIC=ON +//Dependencies for the target +BLT_LIB_DEPENDS:STATIC=general;ZLIB::ZLIB; + //Value Computed by CMake BLT_SOURCE_DIR:STATIC=/home/brett/Documents/code/c++/BLT diff --git a/cmake-build-release/build.ninja b/cmake-build-release/build.ninja index 84c4c26..29574c5 100644 --- a/cmake-build-release/build.ninja +++ b/cmake-build-release/build.ninja @@ -51,56 +51,56 @@ build cmake_object_order_depends_target_BLT: phony || CMakeFiles/BLT.dir build CMakeFiles/BLT.dir/src/blt/std/filesystem.cpp.o: CXX_COMPILER__BLT_Release /home/brett/Documents/code/c++/BLT/src/blt/std/filesystem.cpp || cmake_object_order_depends_target_BLT DEP_FILE = CMakeFiles/BLT.dir/src/blt/std/filesystem.cpp.o.d - FLAGS = -O3 -DNDEBUG -fdiagnostics-color=always + FLAGS = -O3 -DNDEBUG -fdiagnostics-color=always -std=gnu++17 INCLUDES = -I/home/brett/Documents/code/c++/BLT/include -I/home/brett/Documents/code/c++/BLT/cmake-build-release/config OBJECT_DIR = CMakeFiles/BLT.dir OBJECT_FILE_DIR = CMakeFiles/BLT.dir/src/blt/std build CMakeFiles/BLT.dir/src/blt/std/format.cpp.o: CXX_COMPILER__BLT_Release /home/brett/Documents/code/c++/BLT/src/blt/std/format.cpp || cmake_object_order_depends_target_BLT DEP_FILE = CMakeFiles/BLT.dir/src/blt/std/format.cpp.o.d - FLAGS = -O3 -DNDEBUG -fdiagnostics-color=always + FLAGS = -O3 -DNDEBUG -fdiagnostics-color=always -std=gnu++17 INCLUDES = -I/home/brett/Documents/code/c++/BLT/include -I/home/brett/Documents/code/c++/BLT/cmake-build-release/config OBJECT_DIR = CMakeFiles/BLT.dir OBJECT_FILE_DIR = CMakeFiles/BLT.dir/src/blt/std build CMakeFiles/BLT.dir/src/blt/std/loader.cpp.o: CXX_COMPILER__BLT_Release /home/brett/Documents/code/c++/BLT/src/blt/std/loader.cpp || cmake_object_order_depends_target_BLT DEP_FILE = CMakeFiles/BLT.dir/src/blt/std/loader.cpp.o.d - FLAGS = -O3 -DNDEBUG -fdiagnostics-color=always + FLAGS = -O3 -DNDEBUG -fdiagnostics-color=always -std=gnu++17 INCLUDES = -I/home/brett/Documents/code/c++/BLT/include -I/home/brett/Documents/code/c++/BLT/cmake-build-release/config OBJECT_DIR = CMakeFiles/BLT.dir OBJECT_FILE_DIR = CMakeFiles/BLT.dir/src/blt/std build CMakeFiles/BLT.dir/src/blt/std/logging.cpp.o: CXX_COMPILER__BLT_Release /home/brett/Documents/code/c++/BLT/src/blt/std/logging.cpp || cmake_object_order_depends_target_BLT DEP_FILE = CMakeFiles/BLT.dir/src/blt/std/logging.cpp.o.d - FLAGS = -O3 -DNDEBUG -fdiagnostics-color=always + FLAGS = -O3 -DNDEBUG -fdiagnostics-color=always -std=gnu++17 INCLUDES = -I/home/brett/Documents/code/c++/BLT/include -I/home/brett/Documents/code/c++/BLT/cmake-build-release/config OBJECT_DIR = CMakeFiles/BLT.dir OBJECT_FILE_DIR = CMakeFiles/BLT.dir/src/blt/std build CMakeFiles/BLT.dir/src/blt/std/system.cpp.o: CXX_COMPILER__BLT_Release /home/brett/Documents/code/c++/BLT/src/blt/std/system.cpp || cmake_object_order_depends_target_BLT DEP_FILE = CMakeFiles/BLT.dir/src/blt/std/system.cpp.o.d - FLAGS = -O3 -DNDEBUG -fdiagnostics-color=always + FLAGS = -O3 -DNDEBUG -fdiagnostics-color=always -std=gnu++17 INCLUDES = -I/home/brett/Documents/code/c++/BLT/include -I/home/brett/Documents/code/c++/BLT/cmake-build-release/config OBJECT_DIR = CMakeFiles/BLT.dir OBJECT_FILE_DIR = CMakeFiles/BLT.dir/src/blt/std build CMakeFiles/BLT.dir/src/blt/profiling/profiler.cpp.o: CXX_COMPILER__BLT_Release /home/brett/Documents/code/c++/BLT/src/blt/profiling/profiler.cpp || cmake_object_order_depends_target_BLT DEP_FILE = CMakeFiles/BLT.dir/src/blt/profiling/profiler.cpp.o.d - FLAGS = -O3 -DNDEBUG -fdiagnostics-color=always + FLAGS = -O3 -DNDEBUG -fdiagnostics-color=always -std=gnu++17 INCLUDES = -I/home/brett/Documents/code/c++/BLT/include -I/home/brett/Documents/code/c++/BLT/cmake-build-release/config OBJECT_DIR = CMakeFiles/BLT.dir OBJECT_FILE_DIR = CMakeFiles/BLT.dir/src/blt/profiling build CMakeFiles/BLT.dir/src/blt/nbt/nbt.cpp.o: CXX_COMPILER__BLT_Release /home/brett/Documents/code/c++/BLT/src/blt/nbt/nbt.cpp || cmake_object_order_depends_target_BLT DEP_FILE = CMakeFiles/BLT.dir/src/blt/nbt/nbt.cpp.o.d - FLAGS = -O3 -DNDEBUG -fdiagnostics-color=always + FLAGS = -O3 -DNDEBUG -fdiagnostics-color=always -std=gnu++17 INCLUDES = -I/home/brett/Documents/code/c++/BLT/include -I/home/brett/Documents/code/c++/BLT/cmake-build-release/config OBJECT_DIR = CMakeFiles/BLT.dir OBJECT_FILE_DIR = CMakeFiles/BLT.dir/src/blt/nbt build CMakeFiles/BLT.dir/src/blt/nbt/nbt_block.cpp.o: CXX_COMPILER__BLT_Release /home/brett/Documents/code/c++/BLT/src/blt/nbt/nbt_block.cpp || cmake_object_order_depends_target_BLT DEP_FILE = CMakeFiles/BLT.dir/src/blt/nbt/nbt_block.cpp.o.d - FLAGS = -O3 -DNDEBUG -fdiagnostics-color=always + FLAGS = -O3 -DNDEBUG -fdiagnostics-color=always -std=gnu++17 INCLUDES = -I/home/brett/Documents/code/c++/BLT/include -I/home/brett/Documents/code/c++/BLT/cmake-build-release/config OBJECT_DIR = CMakeFiles/BLT.dir OBJECT_FILE_DIR = CMakeFiles/BLT.dir/src/blt/nbt @@ -132,7 +132,7 @@ build cmake_object_order_depends_target_BLT_TESTS: phony || cmake_object_order_d build CMakeFiles/BLT_TESTS.dir/src/tests/main.cpp.o: CXX_COMPILER__BLT_TESTS_Release /home/brett/Documents/code/c++/BLT/src/tests/main.cpp || cmake_object_order_depends_target_BLT_TESTS DEP_FILE = CMakeFiles/BLT_TESTS.dir/src/tests/main.cpp.o.d - FLAGS = -O3 -DNDEBUG -fdiagnostics-color=always -fsanitize=address + FLAGS = -O3 -DNDEBUG -fdiagnostics-color=always -fsanitize=address -std=gnu++17 INCLUDES = -I/home/brett/Documents/code/c++/BLT/include -I/home/brett/Documents/code/c++/BLT/cmake-build-release/config OBJECT_DIR = CMakeFiles/BLT_TESTS.dir OBJECT_FILE_DIR = CMakeFiles/BLT_TESTS.dir/src/tests @@ -147,7 +147,7 @@ build CMakeFiles/BLT_TESTS.dir/src/tests/main.cpp.o: CXX_COMPILER__BLT_TESTS_Rel build BLT_TESTS: CXX_EXECUTABLE_LINKER__BLT_TESTS_Release CMakeFiles/BLT_TESTS.dir/src/tests/main.cpp.o | libBLT.a /usr/lib/x86_64-linux-gnu/libz.so || libBLT.a FLAGS = -O3 -DNDEBUG - LINK_FLAGS = -fsanitize=address + LINK_FLAGS = -rdynamic -fsanitize=address LINK_LIBRARIES = libBLT.a /usr/lib/x86_64-linux-gnu/libz.so OBJECT_DIR = CMakeFiles/BLT_TESTS.dir POST_BUILD = : @@ -193,6 +193,11 @@ build BLT: phony libBLT.a build all: phony libBLT.a BLT_TESTS +# ============================================================================= +# Unknown Build Time Dependencies. +# Tell Ninja that they may appear as side effects of build rules +# otherwise ordered by order-only dependencies. + # ============================================================================= # Built-in targets