fix most warnings
parent
d9b53aaa11
commit
89df343e4f
|
@ -52,6 +52,13 @@ if(${ZLIB_FOUND})
|
||||||
target_link_libraries(BLT PUBLIC ZLIB::ZLIB)
|
target_link_libraries(BLT PUBLIC ZLIB::ZLIB)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(MSVC)
|
||||||
|
target_compile_options(BLT PRIVATE /W4)
|
||||||
|
else()
|
||||||
|
# perhaps we should warn on usused variables, but BLT will have lots of them.
|
||||||
|
target_compile_options(BLT PRIVATE -Wall -Wextra -Wpedantic)
|
||||||
|
endif()
|
||||||
|
|
||||||
message("BLT ${CMAKE_PROJECT_VERSION} Successfully included!")
|
message("BLT ${CMAKE_PROJECT_VERSION} Successfully included!")
|
||||||
|
|
||||||
if(${BUILD_TESTS})
|
if(${BUILD_TESTS})
|
||||||
|
@ -64,6 +71,13 @@ if(${BUILD_TESTS})
|
||||||
|
|
||||||
add_executable(BLT_TESTS ${TESTS_FILES})
|
add_executable(BLT_TESTS ${TESTS_FILES})
|
||||||
|
|
||||||
target_link_libraries(BLT_TESTS BLT)
|
target_link_libraries(BLT_TESTS PUBLIC BLT)
|
||||||
|
|
||||||
|
if(MSVC)
|
||||||
|
target_compile_options(BLT_TESTS PRIVATE /W4)
|
||||||
|
else()
|
||||||
|
target_compile_options(BLT_TESTS PRIVATE -Wall -Wextra -Wpedantic)
|
||||||
|
endif()
|
||||||
|
|
||||||
message("BLT tests included!")
|
message("BLT tests included!")
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
{
|
|
||||||
"backtraceGraph" :
|
|
||||||
{
|
|
||||||
"commands" : [],
|
|
||||||
"files" : [],
|
|
||||||
"nodes" : []
|
|
||||||
},
|
|
||||||
"installers" : [],
|
|
||||||
"paths" :
|
|
||||||
{
|
|
||||||
"build" : ".",
|
|
||||||
"source" : "."
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,424 +0,0 @@
|
||||||
# This is the CMakeCache file.
|
|
||||||
# For build in directory: /home/brett/Documents/code/c++/BLT/cmake-build-release
|
|
||||||
# It was generated by CMake: /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/bin/cmake
|
|
||||||
# You can edit this file to change values found and used by cmake.
|
|
||||||
# If you do not want to change any of the values, simply exit the editor.
|
|
||||||
# If you do want to change a value, simply edit, save, and exit the editor.
|
|
||||||
# The syntax for the file is as follows:
|
|
||||||
# KEY:TYPE=VALUE
|
|
||||||
# KEY is the name of a variable in the cache.
|
|
||||||
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
|
|
||||||
# VALUE is the current value for the KEY.
|
|
||||||
|
|
||||||
########################
|
|
||||||
# EXTERNAL cache entries
|
|
||||||
########################
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
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
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
BLT_TESTS_BINARY_DIR:STATIC=/home/brett/Documents/code/c++/BLT/cmake-build-release
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
BLT_TESTS_IS_TOP_LEVEL:STATIC=ON
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
BLT_TESTS_SOURCE_DIR:STATIC=/home/brett/Documents/code/c++/BLT
|
|
||||||
|
|
||||||
//Build the BLT NBT + eNBT extension
|
|
||||||
BUILD_NBT:BOOL=ON
|
|
||||||
|
|
||||||
//Build the BLT profiler extension
|
|
||||||
BUILD_PROFILING:BOOL=ON
|
|
||||||
|
|
||||||
//Build the BLT standard utilities.
|
|
||||||
BUILD_STD:BOOL=ON
|
|
||||||
|
|
||||||
//Build the BLT test set
|
|
||||||
BUILD_TESTS:BOOL=ON
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_AR:FILEPATH=/usr/bin/ar
|
|
||||||
|
|
||||||
//Choose the type of build, options are: None Debug Release RelWithDebInfo
|
|
||||||
// MinSizeRel ...
|
|
||||||
CMAKE_BUILD_TYPE:STRING=Release
|
|
||||||
|
|
||||||
//Enable colored diagnostics throughout.
|
|
||||||
CMAKE_COLOR_DIAGNOSTICS:BOOL=ON
|
|
||||||
|
|
||||||
//CXX compiler
|
|
||||||
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
|
|
||||||
|
|
||||||
//A wrapper around 'ar' adding the appropriate '--plugin' option
|
|
||||||
// for the GCC compiler
|
|
||||||
CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-12
|
|
||||||
|
|
||||||
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
|
|
||||||
// for the GCC compiler
|
|
||||||
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-12
|
|
||||||
|
|
||||||
//Flags used by the CXX compiler during all build types.
|
|
||||||
CMAKE_CXX_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the CXX compiler during DEBUG builds.
|
|
||||||
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
|
|
||||||
|
|
||||||
//Flags used by the CXX compiler during MINSIZEREL builds.
|
|
||||||
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
|
||||||
|
|
||||||
//Flags used by the CXX compiler during RELEASE builds.
|
|
||||||
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
|
||||||
|
|
||||||
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
|
|
||||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
|
||||||
|
|
||||||
//C compiler
|
|
||||||
CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc
|
|
||||||
|
|
||||||
//A wrapper around 'ar' adding the appropriate '--plugin' option
|
|
||||||
// for the GCC compiler
|
|
||||||
CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-12
|
|
||||||
|
|
||||||
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
|
|
||||||
// for the GCC compiler
|
|
||||||
CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-12
|
|
||||||
|
|
||||||
//Flags used by the C compiler during all build types.
|
|
||||||
CMAKE_C_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the C compiler during DEBUG builds.
|
|
||||||
CMAKE_C_FLAGS_DEBUG:STRING=-g
|
|
||||||
|
|
||||||
//Flags used by the C compiler during MINSIZEREL builds.
|
|
||||||
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
|
||||||
|
|
||||||
//Flags used by the C compiler during RELEASE builds.
|
|
||||||
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
|
||||||
|
|
||||||
//Flags used by the C compiler during RELWITHDEBINFO builds.
|
|
||||||
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND
|
|
||||||
|
|
||||||
//Flags used by the linker during all build types.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during DEBUG builds.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during MINSIZEREL builds.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during RELEASE builds.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during RELWITHDEBINFO builds.
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
||||||
|
|
||||||
//Enable/Disable output of compile commands during generation.
|
|
||||||
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=
|
|
||||||
|
|
||||||
//Value Computed by CMake.
|
|
||||||
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/home/brett/Documents/code/c++/BLT/cmake-build-release/CMakeFiles/pkgRedirects
|
|
||||||
|
|
||||||
//Install path prefix, prepended onto install directories.
|
|
||||||
CMAKE_INSTALL_PREFIX:PATH=/usr/local
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_LINKER:FILEPATH=/usr/bin/ld
|
|
||||||
|
|
||||||
//No help, variable specified on the command line.
|
|
||||||
CMAKE_MAKE_PROGRAM:UNINITIALIZED=/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of modules during
|
|
||||||
// all build types.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of modules during
|
|
||||||
// DEBUG builds.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of modules during
|
|
||||||
// MINSIZEREL builds.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of modules during
|
|
||||||
// RELEASE builds.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of modules during
|
|
||||||
// RELWITHDEBINFO builds.
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_NM:FILEPATH=/usr/bin/nm
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
CMAKE_PROJECT_DESCRIPTION:STATIC=
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
CMAKE_PROJECT_NAME:STATIC=BLT_TESTS
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
CMAKE_PROJECT_VERSION:STATIC=0.5.2
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
CMAKE_PROJECT_VERSION_MAJOR:STATIC=0
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
CMAKE_PROJECT_VERSION_MINOR:STATIC=5
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
CMAKE_PROJECT_VERSION_PATCH:STATIC=2
|
|
||||||
|
|
||||||
//Value Computed by CMake
|
|
||||||
CMAKE_PROJECT_VERSION_TWEAK:STATIC=
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_READELF:FILEPATH=/usr/bin/readelf
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of shared libraries
|
|
||||||
// during all build types.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of shared libraries
|
|
||||||
// during DEBUG builds.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of shared libraries
|
|
||||||
// during MINSIZEREL builds.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of shared libraries
|
|
||||||
// during RELEASE builds.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of shared libraries
|
|
||||||
// during RELWITHDEBINFO builds.
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
||||||
|
|
||||||
//If set, runtime paths are not added when installing shared libraries,
|
|
||||||
// but are added when building.
|
|
||||||
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
|
|
||||||
|
|
||||||
//If set, runtime paths are not added when using shared libraries.
|
|
||||||
CMAKE_SKIP_RPATH:BOOL=NO
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of static libraries
|
|
||||||
// during all build types.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of static libraries
|
|
||||||
// during DEBUG builds.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of static libraries
|
|
||||||
// during MINSIZEREL builds.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of static libraries
|
|
||||||
// during RELEASE builds.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
|
|
||||||
|
|
||||||
//Flags used by the linker during the creation of static libraries
|
|
||||||
// during RELWITHDEBINFO builds.
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
||||||
|
|
||||||
//Path to a program.
|
|
||||||
CMAKE_STRIP:FILEPATH=/usr/bin/strip
|
|
||||||
|
|
||||||
//If this value is on, makefiles will be generated without the
|
|
||||||
// .SILENT directive, and all commands will be echoed to the console
|
|
||||||
// during the make. This is useful for debugging only. With Visual
|
|
||||||
// Studio IDE projects all commands are done without /nologo.
|
|
||||||
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
|
|
||||||
|
|
||||||
//Path to a file.
|
|
||||||
ZLIB_INCLUDE_DIR:PATH=/usr/include
|
|
||||||
|
|
||||||
//Path to a library.
|
|
||||||
ZLIB_LIBRARY_DEBUG:FILEPATH=ZLIB_LIBRARY_DEBUG-NOTFOUND
|
|
||||||
|
|
||||||
//Path to a library.
|
|
||||||
ZLIB_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libz.so
|
|
||||||
|
|
||||||
|
|
||||||
########################
|
|
||||||
# INTERNAL cache entries
|
|
||||||
########################
|
|
||||||
|
|
||||||
//ADVANCED property for variable: CMAKE_ADDR2LINE
|
|
||||||
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_AR
|
|
||||||
CMAKE_AR-ADVANCED:INTERNAL=1
|
|
||||||
//This is the directory where this CMakeCache.txt was created
|
|
||||||
CMAKE_CACHEFILE_DIR:INTERNAL=/home/brett/Documents/code/c++/BLT/cmake-build-release
|
|
||||||
//Major version of cmake used to create the current loaded cache
|
|
||||||
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
|
|
||||||
//Minor version of cmake used to create the current loaded cache
|
|
||||||
CMAKE_CACHE_MINOR_VERSION:INTERNAL=25
|
|
||||||
//Patch version of cmake used to create the current loaded cache
|
|
||||||
CMAKE_CACHE_PATCH_VERSION:INTERNAL=2
|
|
||||||
//Path to CMake executable.
|
|
||||||
CMAKE_COMMAND:INTERNAL=/opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/bin/cmake
|
|
||||||
//Path to cpack program executable.
|
|
||||||
CMAKE_CPACK_COMMAND:INTERNAL=/opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/bin/cpack
|
|
||||||
//Path to ctest program executable.
|
|
||||||
CMAKE_CTEST_COMMAND:INTERNAL=/opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/bin/ctest
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_COMPILER
|
|
||||||
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
|
|
||||||
CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
|
|
||||||
CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS
|
|
||||||
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
|
|
||||||
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
|
|
||||||
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_COMPILER
|
|
||||||
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_COMPILER_AR
|
|
||||||
CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB
|
|
||||||
CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS
|
|
||||||
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
|
|
||||||
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
|
|
||||||
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_DLLTOOL
|
|
||||||
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
|
|
||||||
//Executable file format
|
|
||||||
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
|
|
||||||
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
|
|
||||||
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
|
|
||||||
//Name of external makefile project generator.
|
|
||||||
CMAKE_EXTRA_GENERATOR:INTERNAL=
|
|
||||||
//Name of generator.
|
|
||||||
CMAKE_GENERATOR:INTERNAL=Ninja
|
|
||||||
//Generator instance identifier.
|
|
||||||
CMAKE_GENERATOR_INSTANCE:INTERNAL=
|
|
||||||
//Name of generator platform.
|
|
||||||
CMAKE_GENERATOR_PLATFORM:INTERNAL=
|
|
||||||
//Name of generator toolset.
|
|
||||||
CMAKE_GENERATOR_TOOLSET:INTERNAL=
|
|
||||||
//Source directory with the top level CMakeLists.txt file for this
|
|
||||||
// project
|
|
||||||
CMAKE_HOME_DIRECTORY:INTERNAL=/home/brett/Documents/code/c++/BLT
|
|
||||||
//Install .so files without execute permission.
|
|
||||||
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_LINKER
|
|
||||||
CMAKE_LINKER-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_NM
|
|
||||||
CMAKE_NM-ADVANCED:INTERNAL=1
|
|
||||||
//number of local generators
|
|
||||||
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_OBJCOPY
|
|
||||||
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_OBJDUMP
|
|
||||||
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
|
|
||||||
//Platform information initialized
|
|
||||||
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_RANLIB
|
|
||||||
CMAKE_RANLIB-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_READELF
|
|
||||||
CMAKE_READELF-ADVANCED:INTERNAL=1
|
|
||||||
//Path to CMake installation.
|
|
||||||
CMAKE_ROOT:INTERNAL=/opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
|
|
||||||
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_SKIP_RPATH
|
|
||||||
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
|
|
||||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: CMAKE_STRIP
|
|
||||||
CMAKE_STRIP-ADVANCED:INTERNAL=1
|
|
||||||
//uname command
|
|
||||||
CMAKE_UNAME:INTERNAL=/usr/bin/uname
|
|
||||||
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
|
|
||||||
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: ZLIB_INCLUDE_DIR
|
|
||||||
ZLIB_INCLUDE_DIR-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: ZLIB_LIBRARY_DEBUG
|
|
||||||
ZLIB_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
|
|
||||||
//ADVANCED property for variable: ZLIB_LIBRARY_RELEASE
|
|
||||||
ZLIB_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
|
|
||||||
//linker supports push/pop state
|
|
||||||
_CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE
|
|
||||||
|
|
|
@ -1,431 +0,0 @@
|
||||||
The system is: Linux - 6.1.0-6-amd64 - x86_64
|
|
||||||
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
|
|
||||||
Compiler: /usr/bin/cc
|
|
||||||
Build flags:
|
|
||||||
Id flags:
|
|
||||||
|
|
||||||
The output was:
|
|
||||||
0
|
|
||||||
|
|
||||||
|
|
||||||
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
|
|
||||||
|
|
||||||
The C compiler identification is GNU, found in "/home/brett/Documents/code/c++/BLT/cmake-build-release/CMakeFiles/3.25.2/CompilerIdC/a.out"
|
|
||||||
|
|
||||||
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
|
|
||||||
Compiler: /usr/bin/c++
|
|
||||||
Build flags:
|
|
||||||
Id flags:
|
|
||||||
|
|
||||||
The output was:
|
|
||||||
0
|
|
||||||
|
|
||||||
|
|
||||||
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
|
|
||||||
|
|
||||||
The CXX compiler identification is GNU, found in "/home/brett/Documents/code/c++/BLT/cmake-build-release/CMakeFiles/3.25.2/CompilerIdCXX/a.out"
|
|
||||||
|
|
||||||
Detecting C compiler ABI info compiled with the following output:
|
|
||||||
Change Dir: /home/brett/Documents/code/c++/BLT/cmake-build-release/CMakeFiles/CMakeScratch/TryCompile-ZFsa4L
|
|
||||||
|
|
||||||
Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_f5b92 && [1/2] Building C object CMakeFiles/cmTC_f5b92.dir/CMakeCCompilerABI.c.o
|
|
||||||
Using built-in specs.
|
|
||||||
COLLECT_GCC=/usr/bin/cc
|
|
||||||
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
|
|
||||||
OFFLOAD_TARGET_DEFAULT=1
|
|
||||||
Target: x86_64-linux-gnu
|
|
||||||
Configured with: ../src/configure -v --with-pkgversion='Debian 12.2.0-14' --with-bugurl=file:///usr/share/doc/gcc-12/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-12 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-12-bTRWOB/gcc-12-12.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-12-bTRWOB/gcc-12-12.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
|
|
||||||
Thread model: posix
|
|
||||||
Supported LTO compression algorithms: zlib zstd
|
|
||||||
gcc version 12.2.0 (Debian 12.2.0-14)
|
|
||||||
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_f5b92.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_f5b92.dir/'
|
|
||||||
/usr/lib/gcc/x86_64-linux-gnu/12/cc1 -quiet -v -imultiarch x86_64-linux-gnu /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/CMakeCCompilerABI.c -quiet -dumpdir CMakeFiles/cmTC_f5b92.dir/ -dumpbase CMakeCCompilerABI.c.c -dumpbase-ext .c -mtune=generic -march=x86-64 -version -fdiagnostics-color=always -fasynchronous-unwind-tables -o /tmp/ccCibWqY.s
|
|
||||||
GNU C17 (Debian 12.2.0-14) version 12.2.0 (x86_64-linux-gnu)
|
|
||||||
compiled by GNU C version 12.2.0, GMP version 6.2.1, MPFR version 4.1.1-p1, MPC version 1.3.1, isl version isl-0.25-GMP
|
|
||||||
|
|
||||||
warning: MPFR header version 4.1.1-p1 differs from library version 4.2.0.
|
|
||||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
|
||||||
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
|
|
||||||
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/12/include-fixed"
|
|
||||||
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/12/../../../../x86_64-linux-gnu/include"
|
|
||||||
#include "..." search starts here:
|
|
||||||
#include <...> search starts here:
|
|
||||||
/usr/lib/gcc/x86_64-linux-gnu/12/include
|
|
||||||
/usr/local/include
|
|
||||||
/usr/include/x86_64-linux-gnu
|
|
||||||
/usr/include
|
|
||||||
End of search list.
|
|
||||||
GNU C17 (Debian 12.2.0-14) version 12.2.0 (x86_64-linux-gnu)
|
|
||||||
compiled by GNU C version 12.2.0, GMP version 6.2.1, MPFR version 4.1.1-p1, MPC version 1.3.1, isl version isl-0.25-GMP
|
|
||||||
|
|
||||||
warning: MPFR header version 4.1.1-p1 differs from library version 4.2.0.
|
|
||||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
|
||||||
Compiler executable checksum: cc72d2b9b5048fedc2be9051c917b40b
|
|
||||||
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_f5b92.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_f5b92.dir/'
|
|
||||||
as -v --64 -o CMakeFiles/cmTC_f5b92.dir/CMakeCCompilerABI.c.o /tmp/ccCibWqY.s
|
|
||||||
GNU assembler version 2.40 (x86_64-linux-gnu) using BFD version (GNU Binutils for Debian) 2.40
|
|
||||||
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/
|
|
||||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/12/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/12/../../../:/lib/:/usr/lib/
|
|
||||||
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_f5b92.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_f5b92.dir/CMakeCCompilerABI.c.'
|
|
||||||
[2/2] Linking C executable cmTC_f5b92
|
|
||||||
Using built-in specs.
|
|
||||||
COLLECT_GCC=/usr/bin/cc
|
|
||||||
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/12/lto-wrapper
|
|
||||||
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
|
|
||||||
OFFLOAD_TARGET_DEFAULT=1
|
|
||||||
Target: x86_64-linux-gnu
|
|
||||||
Configured with: ../src/configure -v --with-pkgversion='Debian 12.2.0-14' --with-bugurl=file:///usr/share/doc/gcc-12/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-12 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-12-bTRWOB/gcc-12-12.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-12-bTRWOB/gcc-12-12.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
|
|
||||||
Thread model: posix
|
|
||||||
Supported LTO compression algorithms: zlib zstd
|
|
||||||
gcc version 12.2.0 (Debian 12.2.0-14)
|
|
||||||
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/
|
|
||||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/12/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/12/../../../:/lib/:/usr/lib/
|
|
||||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_f5b92' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_f5b92.'
|
|
||||||
/usr/lib/gcc/x86_64-linux-gnu/12/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/12/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/12/lto-wrapper -plugin-opt=-fresolution=/tmp/ccAuS0Ks.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_f5b92 /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/12/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/12 -L/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/12/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/12/../../.. CMakeFiles/cmTC_f5b92.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/12/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crtn.o
|
|
||||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_f5b92' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_f5b92.'
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Parsed C implicit include dir info from above output: rv=done
|
|
||||||
found start of include info
|
|
||||||
found start of implicit include info
|
|
||||||
add: [/usr/lib/gcc/x86_64-linux-gnu/12/include]
|
|
||||||
add: [/usr/local/include]
|
|
||||||
add: [/usr/include/x86_64-linux-gnu]
|
|
||||||
add: [/usr/include]
|
|
||||||
end of search list found
|
|
||||||
collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/12/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/12/include]
|
|
||||||
collapse include dir [/usr/local/include] ==> [/usr/local/include]
|
|
||||||
collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu]
|
|
||||||
collapse include dir [/usr/include] ==> [/usr/include]
|
|
||||||
implicit include dirs: [/usr/lib/gcc/x86_64-linux-gnu/12/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include]
|
|
||||||
|
|
||||||
|
|
||||||
Parsed C implicit link information from above output:
|
|
||||||
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
|
|
||||||
ignore line: [Change Dir: /home/brett/Documents/code/c++/BLT/cmake-build-release/CMakeFiles/CMakeScratch/TryCompile-ZFsa4L]
|
|
||||||
ignore line: []
|
|
||||||
ignore line: [Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_f5b92 && [1/2] Building C object CMakeFiles/cmTC_f5b92.dir/CMakeCCompilerABI.c.o]
|
|
||||||
ignore line: [Using built-in specs.]
|
|
||||||
ignore line: [COLLECT_GCC=/usr/bin/cc]
|
|
||||||
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa]
|
|
||||||
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
|
|
||||||
ignore line: [Target: x86_64-linux-gnu]
|
|
||||||
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Debian 12.2.0-14' --with-bugurl=file:///usr/share/doc/gcc-12/README.Bugs --enable-languages=c ada c++ go d fortran objc obj-c++ m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-12 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-12-bTRWOB/gcc-12-12.2.0/debian/tmp-nvptx/usr amdgcn-amdhsa=/build/gcc-12-bTRWOB/gcc-12-12.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
|
|
||||||
ignore line: [Thread model: posix]
|
|
||||||
ignore line: [Supported LTO compression algorithms: zlib zstd]
|
|
||||||
ignore line: [gcc version 12.2.0 (Debian 12.2.0-14) ]
|
|
||||||
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_f5b92.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_f5b92.dir/']
|
|
||||||
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/12/cc1 -quiet -v -imultiarch x86_64-linux-gnu /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/CMakeCCompilerABI.c -quiet -dumpdir CMakeFiles/cmTC_f5b92.dir/ -dumpbase CMakeCCompilerABI.c.c -dumpbase-ext .c -mtune=generic -march=x86-64 -version -fdiagnostics-color=always -fasynchronous-unwind-tables -o /tmp/ccCibWqY.s]
|
|
||||||
ignore line: [GNU C17 (Debian 12.2.0-14) version 12.2.0 (x86_64-linux-gnu)]
|
|
||||||
ignore line: [ compiled by GNU C version 12.2.0 GMP version 6.2.1 MPFR version 4.1.1-p1 MPC version 1.3.1 isl version isl-0.25-GMP]
|
|
||||||
ignore line: []
|
|
||||||
ignore line: [warning: MPFR header version 4.1.1-p1 differs from library version 4.2.0.]
|
|
||||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
|
||||||
ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"]
|
|
||||||
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/12/include-fixed"]
|
|
||||||
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/12/../../../../x86_64-linux-gnu/include"]
|
|
||||||
ignore line: [#include "..." search starts here:]
|
|
||||||
ignore line: [#include <...> search starts here:]
|
|
||||||
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/12/include]
|
|
||||||
ignore line: [ /usr/local/include]
|
|
||||||
ignore line: [ /usr/include/x86_64-linux-gnu]
|
|
||||||
ignore line: [ /usr/include]
|
|
||||||
ignore line: [End of search list.]
|
|
||||||
ignore line: [GNU C17 (Debian 12.2.0-14) version 12.2.0 (x86_64-linux-gnu)]
|
|
||||||
ignore line: [ compiled by GNU C version 12.2.0 GMP version 6.2.1 MPFR version 4.1.1-p1 MPC version 1.3.1 isl version isl-0.25-GMP]
|
|
||||||
ignore line: []
|
|
||||||
ignore line: [warning: MPFR header version 4.1.1-p1 differs from library version 4.2.0.]
|
|
||||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
|
||||||
ignore line: [Compiler executable checksum: cc72d2b9b5048fedc2be9051c917b40b]
|
|
||||||
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_f5b92.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_f5b92.dir/']
|
|
||||||
ignore line: [ as -v --64 -o CMakeFiles/cmTC_f5b92.dir/CMakeCCompilerABI.c.o /tmp/ccCibWqY.s]
|
|
||||||
ignore line: [GNU assembler version 2.40 (x86_64-linux-gnu) using BFD version (GNU Binutils for Debian) 2.40]
|
|
||||||
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/]
|
|
||||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/12/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/12/../../../:/lib/:/usr/lib/]
|
|
||||||
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_f5b92.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_f5b92.dir/CMakeCCompilerABI.c.']
|
|
||||||
ignore line: [[2/2] Linking C executable cmTC_f5b92]
|
|
||||||
ignore line: [Using built-in specs.]
|
|
||||||
ignore line: [COLLECT_GCC=/usr/bin/cc]
|
|
||||||
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/12/lto-wrapper]
|
|
||||||
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa]
|
|
||||||
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
|
|
||||||
ignore line: [Target: x86_64-linux-gnu]
|
|
||||||
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Debian 12.2.0-14' --with-bugurl=file:///usr/share/doc/gcc-12/README.Bugs --enable-languages=c ada c++ go d fortran objc obj-c++ m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-12 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-12-bTRWOB/gcc-12-12.2.0/debian/tmp-nvptx/usr amdgcn-amdhsa=/build/gcc-12-bTRWOB/gcc-12-12.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
|
|
||||||
ignore line: [Thread model: posix]
|
|
||||||
ignore line: [Supported LTO compression algorithms: zlib zstd]
|
|
||||||
ignore line: [gcc version 12.2.0 (Debian 12.2.0-14) ]
|
|
||||||
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/]
|
|
||||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/12/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/12/../../../:/lib/:/usr/lib/]
|
|
||||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_f5b92' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_f5b92.']
|
|
||||||
link line: [ /usr/lib/gcc/x86_64-linux-gnu/12/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/12/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/12/lto-wrapper -plugin-opt=-fresolution=/tmp/ccAuS0Ks.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_f5b92 /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/12/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/12 -L/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/12/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/12/../../.. CMakeFiles/cmTC_f5b92.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/12/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crtn.o]
|
|
||||||
arg [/usr/lib/gcc/x86_64-linux-gnu/12/collect2] ==> ignore
|
|
||||||
arg [-plugin] ==> ignore
|
|
||||||
arg [/usr/lib/gcc/x86_64-linux-gnu/12/liblto_plugin.so] ==> ignore
|
|
||||||
arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/12/lto-wrapper] ==> ignore
|
|
||||||
arg [-plugin-opt=-fresolution=/tmp/ccAuS0Ks.res] ==> ignore
|
|
||||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
|
||||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
|
||||||
arg [-plugin-opt=-pass-through=-lc] ==> ignore
|
|
||||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
|
||||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
|
||||||
arg [--build-id] ==> ignore
|
|
||||||
arg [--eh-frame-hdr] ==> ignore
|
|
||||||
arg [-m] ==> ignore
|
|
||||||
arg [elf_x86_64] ==> ignore
|
|
||||||
arg [--hash-style=gnu] ==> ignore
|
|
||||||
arg [--as-needed] ==> ignore
|
|
||||||
arg [-dynamic-linker] ==> ignore
|
|
||||||
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
|
||||||
arg [-pie] ==> ignore
|
|
||||||
arg [-o] ==> ignore
|
|
||||||
arg [cmTC_f5b92] ==> ignore
|
|
||||||
arg [/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/Scrt1.o]
|
|
||||||
arg [/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crti.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crti.o]
|
|
||||||
arg [/usr/lib/gcc/x86_64-linux-gnu/12/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/12/crtbeginS.o]
|
|
||||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/12] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/12]
|
|
||||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu]
|
|
||||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/12/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/12/../../../../lib]
|
|
||||||
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
|
|
||||||
arg [-L/lib/../lib] ==> dir [/lib/../lib]
|
|
||||||
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
|
|
||||||
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
|
||||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/12/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/12/../../..]
|
|
||||||
arg [CMakeFiles/cmTC_f5b92.dir/CMakeCCompilerABI.c.o] ==> ignore
|
|
||||||
arg [-lgcc] ==> lib [gcc]
|
|
||||||
arg [--push-state] ==> ignore
|
|
||||||
arg [--as-needed] ==> ignore
|
|
||||||
arg [-lgcc_s] ==> lib [gcc_s]
|
|
||||||
arg [--pop-state] ==> ignore
|
|
||||||
arg [-lc] ==> lib [c]
|
|
||||||
arg [-lgcc] ==> lib [gcc]
|
|
||||||
arg [--push-state] ==> ignore
|
|
||||||
arg [--as-needed] ==> ignore
|
|
||||||
arg [-lgcc_s] ==> lib [gcc_s]
|
|
||||||
arg [--pop-state] ==> ignore
|
|
||||||
arg [/usr/lib/gcc/x86_64-linux-gnu/12/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/12/crtendS.o]
|
|
||||||
arg [/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crtn.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crtn.o]
|
|
||||||
collapse obj [/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/Scrt1.o] ==> [/usr/lib/x86_64-linux-gnu/Scrt1.o]
|
|
||||||
collapse obj [/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crti.o] ==> [/usr/lib/x86_64-linux-gnu/crti.o]
|
|
||||||
collapse obj [/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crtn.o] ==> [/usr/lib/x86_64-linux-gnu/crtn.o]
|
|
||||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/12] ==> [/usr/lib/gcc/x86_64-linux-gnu/12]
|
|
||||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
|
||||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/12/../../../../lib] ==> [/usr/lib]
|
|
||||||
collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
|
|
||||||
collapse library dir [/lib/../lib] ==> [/lib]
|
|
||||||
collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
|
||||||
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
|
|
||||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/12/../../..] ==> [/usr/lib]
|
|
||||||
implicit libs: [gcc;gcc_s;c;gcc;gcc_s]
|
|
||||||
implicit objs: [/usr/lib/x86_64-linux-gnu/Scrt1.o;/usr/lib/x86_64-linux-gnu/crti.o;/usr/lib/gcc/x86_64-linux-gnu/12/crtbeginS.o;/usr/lib/gcc/x86_64-linux-gnu/12/crtendS.o;/usr/lib/x86_64-linux-gnu/crtn.o]
|
|
||||||
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/12;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
|
|
||||||
implicit fwks: []
|
|
||||||
|
|
||||||
|
|
||||||
Detecting CXX compiler ABI info compiled with the following output:
|
|
||||||
Change Dir: /home/brett/Documents/code/c++/BLT/cmake-build-release/CMakeFiles/CMakeScratch/TryCompile-IpZjlY
|
|
||||||
|
|
||||||
Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_c04e5 && [1/2] Building CXX object CMakeFiles/cmTC_c04e5.dir/CMakeCXXCompilerABI.cpp.o
|
|
||||||
Using built-in specs.
|
|
||||||
COLLECT_GCC=/usr/bin/c++
|
|
||||||
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
|
|
||||||
OFFLOAD_TARGET_DEFAULT=1
|
|
||||||
Target: x86_64-linux-gnu
|
|
||||||
Configured with: ../src/configure -v --with-pkgversion='Debian 12.2.0-14' --with-bugurl=file:///usr/share/doc/gcc-12/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-12 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-12-bTRWOB/gcc-12-12.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-12-bTRWOB/gcc-12-12.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
|
|
||||||
Thread model: posix
|
|
||||||
Supported LTO compression algorithms: zlib zstd
|
|
||||||
gcc version 12.2.0 (Debian 12.2.0-14)
|
|
||||||
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_c04e5.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_c04e5.dir/'
|
|
||||||
/usr/lib/gcc/x86_64-linux-gnu/12/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_c04e5.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -fdiagnostics-color=always -fasynchronous-unwind-tables -o /tmp/ccmFoFfI.s
|
|
||||||
GNU C++17 (Debian 12.2.0-14) version 12.2.0 (x86_64-linux-gnu)
|
|
||||||
compiled by GNU C version 12.2.0, GMP version 6.2.1, MPFR version 4.1.1-p1, MPC version 1.3.1, isl version isl-0.25-GMP
|
|
||||||
|
|
||||||
warning: MPFR header version 4.1.1-p1 differs from library version 4.2.0.
|
|
||||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
|
||||||
ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/12"
|
|
||||||
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
|
|
||||||
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/12/include-fixed"
|
|
||||||
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/12/../../../../x86_64-linux-gnu/include"
|
|
||||||
#include "..." search starts here:
|
|
||||||
#include <...> search starts here:
|
|
||||||
/usr/include/c++/12
|
|
||||||
/usr/include/x86_64-linux-gnu/c++/12
|
|
||||||
/usr/include/c++/12/backward
|
|
||||||
/usr/lib/gcc/x86_64-linux-gnu/12/include
|
|
||||||
/usr/local/include
|
|
||||||
/usr/include/x86_64-linux-gnu
|
|
||||||
/usr/include
|
|
||||||
End of search list.
|
|
||||||
GNU C++17 (Debian 12.2.0-14) version 12.2.0 (x86_64-linux-gnu)
|
|
||||||
compiled by GNU C version 12.2.0, GMP version 6.2.1, MPFR version 4.1.1-p1, MPC version 1.3.1, isl version isl-0.25-GMP
|
|
||||||
|
|
||||||
warning: MPFR header version 4.1.1-p1 differs from library version 4.2.0.
|
|
||||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
|
||||||
Compiler executable checksum: 62b090dbbefa50644117a3c13d47369a
|
|
||||||
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_c04e5.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_c04e5.dir/'
|
|
||||||
as -v --64 -o CMakeFiles/cmTC_c04e5.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccmFoFfI.s
|
|
||||||
GNU assembler version 2.40 (x86_64-linux-gnu) using BFD version (GNU Binutils for Debian) 2.40
|
|
||||||
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/
|
|
||||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/12/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/12/../../../:/lib/:/usr/lib/
|
|
||||||
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_c04e5.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_c04e5.dir/CMakeCXXCompilerABI.cpp.'
|
|
||||||
[2/2] Linking CXX executable cmTC_c04e5
|
|
||||||
Using built-in specs.
|
|
||||||
COLLECT_GCC=/usr/bin/c++
|
|
||||||
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/12/lto-wrapper
|
|
||||||
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
|
|
||||||
OFFLOAD_TARGET_DEFAULT=1
|
|
||||||
Target: x86_64-linux-gnu
|
|
||||||
Configured with: ../src/configure -v --with-pkgversion='Debian 12.2.0-14' --with-bugurl=file:///usr/share/doc/gcc-12/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-12 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-12-bTRWOB/gcc-12-12.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-12-bTRWOB/gcc-12-12.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
|
|
||||||
Thread model: posix
|
|
||||||
Supported LTO compression algorithms: zlib zstd
|
|
||||||
gcc version 12.2.0 (Debian 12.2.0-14)
|
|
||||||
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/
|
|
||||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/12/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/12/../../../:/lib/:/usr/lib/
|
|
||||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_c04e5' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_c04e5.'
|
|
||||||
/usr/lib/gcc/x86_64-linux-gnu/12/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/12/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/12/lto-wrapper -plugin-opt=-fresolution=/tmp/ccvLOddL.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_c04e5 /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/12/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/12 -L/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/12/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/12/../../.. CMakeFiles/cmTC_c04e5.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/12/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crtn.o
|
|
||||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_c04e5' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_c04e5.'
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Parsed CXX implicit include dir info from above output: rv=done
|
|
||||||
found start of include info
|
|
||||||
found start of implicit include info
|
|
||||||
add: [/usr/include/c++/12]
|
|
||||||
add: [/usr/include/x86_64-linux-gnu/c++/12]
|
|
||||||
add: [/usr/include/c++/12/backward]
|
|
||||||
add: [/usr/lib/gcc/x86_64-linux-gnu/12/include]
|
|
||||||
add: [/usr/local/include]
|
|
||||||
add: [/usr/include/x86_64-linux-gnu]
|
|
||||||
add: [/usr/include]
|
|
||||||
end of search list found
|
|
||||||
collapse include dir [/usr/include/c++/12] ==> [/usr/include/c++/12]
|
|
||||||
collapse include dir [/usr/include/x86_64-linux-gnu/c++/12] ==> [/usr/include/x86_64-linux-gnu/c++/12]
|
|
||||||
collapse include dir [/usr/include/c++/12/backward] ==> [/usr/include/c++/12/backward]
|
|
||||||
collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/12/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/12/include]
|
|
||||||
collapse include dir [/usr/local/include] ==> [/usr/local/include]
|
|
||||||
collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu]
|
|
||||||
collapse include dir [/usr/include] ==> [/usr/include]
|
|
||||||
implicit include dirs: [/usr/include/c++/12;/usr/include/x86_64-linux-gnu/c++/12;/usr/include/c++/12/backward;/usr/lib/gcc/x86_64-linux-gnu/12/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include]
|
|
||||||
|
|
||||||
|
|
||||||
Parsed CXX implicit link information from above output:
|
|
||||||
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
|
|
||||||
ignore line: [Change Dir: /home/brett/Documents/code/c++/BLT/cmake-build-release/CMakeFiles/CMakeScratch/TryCompile-IpZjlY]
|
|
||||||
ignore line: []
|
|
||||||
ignore line: [Run Build Command(s):/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja cmTC_c04e5 && [1/2] Building CXX object CMakeFiles/cmTC_c04e5.dir/CMakeCXXCompilerABI.cpp.o]
|
|
||||||
ignore line: [Using built-in specs.]
|
|
||||||
ignore line: [COLLECT_GCC=/usr/bin/c++]
|
|
||||||
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa]
|
|
||||||
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
|
|
||||||
ignore line: [Target: x86_64-linux-gnu]
|
|
||||||
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Debian 12.2.0-14' --with-bugurl=file:///usr/share/doc/gcc-12/README.Bugs --enable-languages=c ada c++ go d fortran objc obj-c++ m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-12 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-12-bTRWOB/gcc-12-12.2.0/debian/tmp-nvptx/usr amdgcn-amdhsa=/build/gcc-12-bTRWOB/gcc-12-12.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
|
|
||||||
ignore line: [Thread model: posix]
|
|
||||||
ignore line: [Supported LTO compression algorithms: zlib zstd]
|
|
||||||
ignore line: [gcc version 12.2.0 (Debian 12.2.0-14) ]
|
|
||||||
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_c04e5.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_c04e5.dir/']
|
|
||||||
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/12/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_c04e5.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -fdiagnostics-color=always -fasynchronous-unwind-tables -o /tmp/ccmFoFfI.s]
|
|
||||||
ignore line: [GNU C++17 (Debian 12.2.0-14) version 12.2.0 (x86_64-linux-gnu)]
|
|
||||||
ignore line: [ compiled by GNU C version 12.2.0 GMP version 6.2.1 MPFR version 4.1.1-p1 MPC version 1.3.1 isl version isl-0.25-GMP]
|
|
||||||
ignore line: []
|
|
||||||
ignore line: [warning: MPFR header version 4.1.1-p1 differs from library version 4.2.0.]
|
|
||||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
|
||||||
ignore line: [ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/12"]
|
|
||||||
ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"]
|
|
||||||
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/12/include-fixed"]
|
|
||||||
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/12/../../../../x86_64-linux-gnu/include"]
|
|
||||||
ignore line: [#include "..." search starts here:]
|
|
||||||
ignore line: [#include <...> search starts here:]
|
|
||||||
ignore line: [ /usr/include/c++/12]
|
|
||||||
ignore line: [ /usr/include/x86_64-linux-gnu/c++/12]
|
|
||||||
ignore line: [ /usr/include/c++/12/backward]
|
|
||||||
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/12/include]
|
|
||||||
ignore line: [ /usr/local/include]
|
|
||||||
ignore line: [ /usr/include/x86_64-linux-gnu]
|
|
||||||
ignore line: [ /usr/include]
|
|
||||||
ignore line: [End of search list.]
|
|
||||||
ignore line: [GNU C++17 (Debian 12.2.0-14) version 12.2.0 (x86_64-linux-gnu)]
|
|
||||||
ignore line: [ compiled by GNU C version 12.2.0 GMP version 6.2.1 MPFR version 4.1.1-p1 MPC version 1.3.1 isl version isl-0.25-GMP]
|
|
||||||
ignore line: []
|
|
||||||
ignore line: [warning: MPFR header version 4.1.1-p1 differs from library version 4.2.0.]
|
|
||||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
|
||||||
ignore line: [Compiler executable checksum: 62b090dbbefa50644117a3c13d47369a]
|
|
||||||
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_c04e5.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_c04e5.dir/']
|
|
||||||
ignore line: [ as -v --64 -o CMakeFiles/cmTC_c04e5.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccmFoFfI.s]
|
|
||||||
ignore line: [GNU assembler version 2.40 (x86_64-linux-gnu) using BFD version (GNU Binutils for Debian) 2.40]
|
|
||||||
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/]
|
|
||||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/12/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/12/../../../:/lib/:/usr/lib/]
|
|
||||||
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles/cmTC_c04e5.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_c04e5.dir/CMakeCXXCompilerABI.cpp.']
|
|
||||||
ignore line: [[2/2] Linking CXX executable cmTC_c04e5]
|
|
||||||
ignore line: [Using built-in specs.]
|
|
||||||
ignore line: [COLLECT_GCC=/usr/bin/c++]
|
|
||||||
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/12/lto-wrapper]
|
|
||||||
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa]
|
|
||||||
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
|
|
||||||
ignore line: [Target: x86_64-linux-gnu]
|
|
||||||
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Debian 12.2.0-14' --with-bugurl=file:///usr/share/doc/gcc-12/README.Bugs --enable-languages=c ada c++ go d fortran objc obj-c++ m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-12 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-12-bTRWOB/gcc-12-12.2.0/debian/tmp-nvptx/usr amdgcn-amdhsa=/build/gcc-12-bTRWOB/gcc-12-12.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
|
|
||||||
ignore line: [Thread model: posix]
|
|
||||||
ignore line: [Supported LTO compression algorithms: zlib zstd]
|
|
||||||
ignore line: [gcc version 12.2.0 (Debian 12.2.0-14) ]
|
|
||||||
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/]
|
|
||||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/12/:/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/12/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/12/../../../:/lib/:/usr/lib/]
|
|
||||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_c04e5' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_c04e5.']
|
|
||||||
link line: [ /usr/lib/gcc/x86_64-linux-gnu/12/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/12/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/12/lto-wrapper -plugin-opt=-fresolution=/tmp/ccvLOddL.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_c04e5 /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/12/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/12 -L/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/12/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/12/../../.. CMakeFiles/cmTC_c04e5.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/12/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crtn.o]
|
|
||||||
arg [/usr/lib/gcc/x86_64-linux-gnu/12/collect2] ==> ignore
|
|
||||||
arg [-plugin] ==> ignore
|
|
||||||
arg [/usr/lib/gcc/x86_64-linux-gnu/12/liblto_plugin.so] ==> ignore
|
|
||||||
arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/12/lto-wrapper] ==> ignore
|
|
||||||
arg [-plugin-opt=-fresolution=/tmp/ccvLOddL.res] ==> ignore
|
|
||||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
|
||||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
|
||||||
arg [-plugin-opt=-pass-through=-lc] ==> ignore
|
|
||||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
|
||||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
|
||||||
arg [--build-id] ==> ignore
|
|
||||||
arg [--eh-frame-hdr] ==> ignore
|
|
||||||
arg [-m] ==> ignore
|
|
||||||
arg [elf_x86_64] ==> ignore
|
|
||||||
arg [--hash-style=gnu] ==> ignore
|
|
||||||
arg [--as-needed] ==> ignore
|
|
||||||
arg [-dynamic-linker] ==> ignore
|
|
||||||
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
|
||||||
arg [-pie] ==> ignore
|
|
||||||
arg [-o] ==> ignore
|
|
||||||
arg [cmTC_c04e5] ==> ignore
|
|
||||||
arg [/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/Scrt1.o]
|
|
||||||
arg [/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crti.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crti.o]
|
|
||||||
arg [/usr/lib/gcc/x86_64-linux-gnu/12/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/12/crtbeginS.o]
|
|
||||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/12] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/12]
|
|
||||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu]
|
|
||||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/12/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/12/../../../../lib]
|
|
||||||
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
|
|
||||||
arg [-L/lib/../lib] ==> dir [/lib/../lib]
|
|
||||||
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
|
|
||||||
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
|
||||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/12/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/12/../../..]
|
|
||||||
arg [CMakeFiles/cmTC_c04e5.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
|
|
||||||
arg [-lstdc++] ==> lib [stdc++]
|
|
||||||
arg [-lm] ==> lib [m]
|
|
||||||
arg [-lgcc_s] ==> lib [gcc_s]
|
|
||||||
arg [-lgcc] ==> lib [gcc]
|
|
||||||
arg [-lc] ==> lib [c]
|
|
||||||
arg [-lgcc_s] ==> lib [gcc_s]
|
|
||||||
arg [-lgcc] ==> lib [gcc]
|
|
||||||
arg [/usr/lib/gcc/x86_64-linux-gnu/12/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/12/crtendS.o]
|
|
||||||
arg [/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crtn.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crtn.o]
|
|
||||||
collapse obj [/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/Scrt1.o] ==> [/usr/lib/x86_64-linux-gnu/Scrt1.o]
|
|
||||||
collapse obj [/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crti.o] ==> [/usr/lib/x86_64-linux-gnu/crti.o]
|
|
||||||
collapse obj [/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/crtn.o] ==> [/usr/lib/x86_64-linux-gnu/crtn.o]
|
|
||||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/12] ==> [/usr/lib/gcc/x86_64-linux-gnu/12]
|
|
||||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
|
||||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/12/../../../../lib] ==> [/usr/lib]
|
|
||||||
collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
|
|
||||||
collapse library dir [/lib/../lib] ==> [/lib]
|
|
||||||
collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
|
||||||
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
|
|
||||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/12/../../..] ==> [/usr/lib]
|
|
||||||
implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc]
|
|
||||||
implicit objs: [/usr/lib/x86_64-linux-gnu/Scrt1.o;/usr/lib/x86_64-linux-gnu/crti.o;/usr/lib/gcc/x86_64-linux-gnu/12/crtbeginS.o;/usr/lib/gcc/x86_64-linux-gnu/12/crtendS.o;/usr/lib/x86_64-linux-gnu/crtn.o]
|
|
||||||
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/12;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
|
|
||||||
implicit fwks: []
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
/home/brett/Documents/code/c++/BLT/cmake-build-release/CMakeFiles/BLT.dir
|
|
||||||
/home/brett/Documents/code/c++/BLT/cmake-build-release/CMakeFiles/BLT_TESTS.dir
|
|
||||||
/home/brett/Documents/code/c++/BLT/cmake-build-release/CMakeFiles/edit_cache.dir
|
|
||||||
/home/brett/Documents/code/c++/BLT/cmake-build-release/CMakeFiles/rebuild_cache.dir
|
|
|
@ -1,10 +0,0 @@
|
||||||
/opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/bin/cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_MAKE_PROGRAM=/opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja -DBUILD_TESTS:BOOL=ON -G Ninja -S /home/brett/Documents/code/c++/BLT -B /home/brett/Documents/code/c++/BLT/cmake-build-release
|
|
||||||
Standard Files /home/brett/Documents/code/c++/BLT/src/blt/std/filesystem.cpp;/home/brett/Documents/code/c++/BLT/src/blt/std/format.cpp;/home/brett/Documents/code/c++/BLT/src/blt/std/loader.cpp;/home/brett/Documents/code/c++/BLT/src/blt/std/logging.cpp;/home/brett/Documents/code/c++/BLT/src/blt/std/system.cpp
|
|
||||||
Profiler Files /home/brett/Documents/code/c++/BLT/src/blt/profiling/profiler.cpp
|
|
||||||
Source: /home/brett/Documents/code/c++/BLT
|
|
||||||
Current Source: /home/brett/Documents/code/c++/BLT
|
|
||||||
BLT 0.5.2 Successfully included!
|
|
||||||
BLT tests included!
|
|
||||||
-- Configuring done
|
|
||||||
-- Generating done
|
|
||||||
-- Build files have been written to: /home/brett/Documents/code/c++/BLT/cmake-build-release
|
|
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
|
|
|
@ -1,83 +0,0 @@
|
||||||
# CMAKE generated file: DO NOT EDIT!
|
|
||||||
# Generated by "Ninja" Generator, CMake Version 3.25
|
|
||||||
|
|
||||||
# This file contains all the rules used to get the outputs files
|
|
||||||
# built from the input files.
|
|
||||||
# It is included in the main 'build.ninja'.
|
|
||||||
|
|
||||||
# =============================================================================
|
|
||||||
# Project: BLT_TESTS
|
|
||||||
# Configurations: Release
|
|
||||||
# =============================================================================
|
|
||||||
# =============================================================================
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Rule for compiling CXX files.
|
|
||||||
|
|
||||||
rule CXX_COMPILER__BLT_Release
|
|
||||||
depfile = $DEP_FILE
|
|
||||||
deps = gcc
|
|
||||||
command = /usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
|
||||||
description = Building CXX object $out
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Rule for linking CXX static library.
|
|
||||||
|
|
||||||
rule CXX_STATIC_LIBRARY_LINKER__BLT_Release
|
|
||||||
command = $PRE_LINK && /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/bin/cmake -E rm -f $TARGET_FILE && /usr/bin/ar qc $TARGET_FILE $LINK_FLAGS $in && /usr/bin/ranlib $TARGET_FILE && $POST_BUILD
|
|
||||||
description = Linking CXX static library $TARGET_FILE
|
|
||||||
restat = $RESTAT
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Rule for compiling CXX files.
|
|
||||||
|
|
||||||
rule CXX_COMPILER__BLT_TESTS_Release
|
|
||||||
depfile = $DEP_FILE
|
|
||||||
deps = gcc
|
|
||||||
command = /usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
|
||||||
description = Building CXX object $out
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Rule for linking CXX executable.
|
|
||||||
|
|
||||||
rule CXX_EXECUTABLE_LINKER__BLT_TESTS_Release
|
|
||||||
command = $PRE_LINK && /usr/bin/c++ $FLAGS $LINK_FLAGS $in -o $TARGET_FILE $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
|
|
||||||
description = Linking CXX executable $TARGET_FILE
|
|
||||||
restat = $RESTAT
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Rule for running custom commands.
|
|
||||||
|
|
||||||
rule CUSTOM_COMMAND
|
|
||||||
command = $COMMAND
|
|
||||||
description = $DESC
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Rule for re-running cmake.
|
|
||||||
|
|
||||||
rule RERUN_CMAKE
|
|
||||||
command = /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/bin/cmake --regenerate-during-build -S/home/brett/Documents/code/c++/BLT -B/home/brett/Documents/code/c++/BLT/cmake-build-release
|
|
||||||
description = Re-running CMake...
|
|
||||||
generator = 1
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Rule for cleaning all built files.
|
|
||||||
|
|
||||||
rule CLEAN
|
|
||||||
command = /opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja $FILE_ARG -t clean $TARGETS
|
|
||||||
description = Cleaning all built files...
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Rule for printing all primary targets available.
|
|
||||||
|
|
||||||
rule HELP
|
|
||||||
command = /opt/netbrains/clion/clion-2022.1.3/bin/ninja/linux/x64/ninja -t targets
|
|
||||||
description = All primary targets available:
|
|
||||||
|
|
|
@ -1,233 +0,0 @@
|
||||||
# CMAKE generated file: DO NOT EDIT!
|
|
||||||
# Generated by "Ninja" Generator, CMake Version 3.25
|
|
||||||
|
|
||||||
# This file contains all the build statements describing the
|
|
||||||
# compilation DAG.
|
|
||||||
|
|
||||||
# =============================================================================
|
|
||||||
# Write statements declared in CMakeLists.txt:
|
|
||||||
#
|
|
||||||
# Which is the root file.
|
|
||||||
# =============================================================================
|
|
||||||
|
|
||||||
# =============================================================================
|
|
||||||
# Project: BLT_TESTS
|
|
||||||
# Configurations: Release
|
|
||||||
# =============================================================================
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Minimal version of Ninja required by this file
|
|
||||||
|
|
||||||
ninja_required_version = 1.5
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Set configuration variable for custom commands.
|
|
||||||
|
|
||||||
CONFIGURATION = Release
|
|
||||||
# =============================================================================
|
|
||||||
# Include auxiliary files.
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Include rules file.
|
|
||||||
|
|
||||||
include CMakeFiles/rules.ninja
|
|
||||||
|
|
||||||
# =============================================================================
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Logical path to working directory; prefix for absolute paths.
|
|
||||||
|
|
||||||
cmake_ninja_workdir = /home/brett/Documents/code/c++/BLT/cmake-build-release/
|
|
||||||
# =============================================================================
|
|
||||||
# Object build statements for STATIC_LIBRARY target BLT
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Order-only phony target for BLT
|
|
||||||
|
|
||||||
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 -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 -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 -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 -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 -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 -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 -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 -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
|
|
||||||
|
|
||||||
|
|
||||||
# =============================================================================
|
|
||||||
# Link build statements for STATIC_LIBRARY target BLT
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Link the static library libBLT.a
|
|
||||||
|
|
||||||
build libBLT.a: CXX_STATIC_LIBRARY_LINKER__BLT_Release CMakeFiles/BLT.dir/src/blt/std/filesystem.cpp.o CMakeFiles/BLT.dir/src/blt/std/format.cpp.o CMakeFiles/BLT.dir/src/blt/std/loader.cpp.o CMakeFiles/BLT.dir/src/blt/std/logging.cpp.o CMakeFiles/BLT.dir/src/blt/std/system.cpp.o CMakeFiles/BLT.dir/src/blt/profiling/profiler.cpp.o CMakeFiles/BLT.dir/src/blt/nbt/nbt.cpp.o CMakeFiles/BLT.dir/src/blt/nbt/nbt_block.cpp.o
|
|
||||||
LANGUAGE_COMPILE_FLAGS = -O3 -DNDEBUG
|
|
||||||
OBJECT_DIR = CMakeFiles/BLT.dir
|
|
||||||
POST_BUILD = :
|
|
||||||
PRE_LINK = :
|
|
||||||
TARGET_FILE = libBLT.a
|
|
||||||
TARGET_PDB = BLT.a.dbg
|
|
||||||
|
|
||||||
# =============================================================================
|
|
||||||
# Object build statements for EXECUTABLE target BLT_TESTS
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Order-only phony target for BLT_TESTS
|
|
||||||
|
|
||||||
build cmake_object_order_depends_target_BLT_TESTS: phony || cmake_object_order_depends_target_BLT
|
|
||||||
|
|
||||||
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 -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
|
|
||||||
|
|
||||||
|
|
||||||
# =============================================================================
|
|
||||||
# Link build statements for EXECUTABLE target BLT_TESTS
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Link the executable BLT_TESTS
|
|
||||||
|
|
||||||
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 = -rdynamic -fsanitize=address
|
|
||||||
LINK_LIBRARIES = libBLT.a /usr/lib/x86_64-linux-gnu/libz.so
|
|
||||||
OBJECT_DIR = CMakeFiles/BLT_TESTS.dir
|
|
||||||
POST_BUILD = :
|
|
||||||
PRE_LINK = :
|
|
||||||
TARGET_FILE = BLT_TESTS
|
|
||||||
TARGET_PDB = BLT_TESTS.dbg
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Utility command for edit_cache
|
|
||||||
|
|
||||||
build CMakeFiles/edit_cache.util: CUSTOM_COMMAND
|
|
||||||
COMMAND = cd /home/brett/Documents/code/c++/BLT/cmake-build-release && /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
|
|
||||||
DESC = No interactive CMake dialog available...
|
|
||||||
restat = 1
|
|
||||||
|
|
||||||
build edit_cache: phony CMakeFiles/edit_cache.util
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Utility command for rebuild_cache
|
|
||||||
|
|
||||||
build CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
|
|
||||||
COMMAND = cd /home/brett/Documents/code/c++/BLT/cmake-build-release && /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/bin/cmake --regenerate-during-build -S/home/brett/Documents/code/c++/BLT -B/home/brett/Documents/code/c++/BLT/cmake-build-release
|
|
||||||
DESC = Running CMake to regenerate build system...
|
|
||||||
pool = console
|
|
||||||
restat = 1
|
|
||||||
|
|
||||||
build rebuild_cache: phony CMakeFiles/rebuild_cache.util
|
|
||||||
|
|
||||||
# =============================================================================
|
|
||||||
# Target aliases.
|
|
||||||
|
|
||||||
build BLT: phony libBLT.a
|
|
||||||
|
|
||||||
# =============================================================================
|
|
||||||
# Folder targets.
|
|
||||||
|
|
||||||
# =============================================================================
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Folder: /home/brett/Documents/code/c++/BLT/cmake-build-release
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Re-run CMake if any of its inputs changed.
|
|
||||||
|
|
||||||
build build.ninja: RERUN_CMAKE | /home/brett/Documents/code/c++/BLT/CMakeLists.txt /home/brett/Documents/code/c++/BLT/include/blt/config.h.in /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/CMakeCInformation.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/CMakeCXXInformation.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/CMakeCommonLanguageInclude.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/CMakeGenericSystem.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/CMakeInitializeConfigs.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/CMakeLanguageInformation.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/CMakeSystemSpecificInformation.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/CMakeSystemSpecificInitialize.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/Compiler/CMakeCommonCompilerMacros.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/Compiler/GNU-C.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/Compiler/GNU-CXX.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/Compiler/GNU.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/FindPackageMessage.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/FindZLIB.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/Platform/Linux-GNU-C.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/Platform/Linux-GNU-CXX.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/Platform/Linux-GNU.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/Platform/Linux.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/Platform/UnixPaths.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/SelectLibraryConfigurations.cmake CMakeCache.txt CMakeFiles/3.25.2/CMakeCCompiler.cmake CMakeFiles/3.25.2/CMakeCXXCompiler.cmake CMakeFiles/3.25.2/CMakeSystem.cmake
|
|
||||||
pool = console
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# A missing CMake input file is not an error.
|
|
||||||
|
|
||||||
build /home/brett/Documents/code/c++/BLT/CMakeLists.txt /home/brett/Documents/code/c++/BLT/include/blt/config.h.in /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/CMakeCInformation.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/CMakeCXXInformation.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/CMakeCommonLanguageInclude.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/CMakeGenericSystem.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/CMakeInitializeConfigs.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/CMakeLanguageInformation.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/CMakeSystemSpecificInformation.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/CMakeSystemSpecificInitialize.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/Compiler/CMakeCommonCompilerMacros.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/Compiler/GNU-C.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/Compiler/GNU-CXX.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/Compiler/GNU.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/FindPackageMessage.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/FindZLIB.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/Platform/Linux-GNU-C.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/Platform/Linux-GNU-CXX.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/Platform/Linux-GNU.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/Platform/Linux.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/Platform/UnixPaths.cmake /opt/netbrains/clion/clion-2022.1.3/bin/cmake/linux/x64/share/cmake-3.25/Modules/SelectLibraryConfigurations.cmake CMakeCache.txt CMakeFiles/3.25.2/CMakeCCompiler.cmake CMakeFiles/3.25.2/CMakeCXXCompiler.cmake CMakeFiles/3.25.2/CMakeSystem.cmake: phony
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Clean all the built files.
|
|
||||||
|
|
||||||
build clean: CLEAN
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Print all primary targets available.
|
|
||||||
|
|
||||||
build help: HELP
|
|
||||||
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# Make the all target the default.
|
|
||||||
|
|
||||||
default all
|
|
|
@ -1,54 +0,0 @@
|
||||||
# Install script for directory: /home/brett/Documents/code/c++/BLT
|
|
||||||
|
|
||||||
# Set the install prefix
|
|
||||||
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
|
||||||
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
|
||||||
endif()
|
|
||||||
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
|
||||||
|
|
||||||
# Set the install configuration name.
|
|
||||||
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
|
||||||
if(BUILD_TYPE)
|
|
||||||
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
|
||||||
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
|
||||||
else()
|
|
||||||
set(CMAKE_INSTALL_CONFIG_NAME "Release")
|
|
||||||
endif()
|
|
||||||
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Set the component getting installed.
|
|
||||||
if(NOT CMAKE_INSTALL_COMPONENT)
|
|
||||||
if(COMPONENT)
|
|
||||||
message(STATUS "Install component: \"${COMPONENT}\"")
|
|
||||||
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
|
||||||
else()
|
|
||||||
set(CMAKE_INSTALL_COMPONENT)
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Install shared libraries without execute permission?
|
|
||||||
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
|
||||||
set(CMAKE_INSTALL_SO_NO_EXE "1")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Is this installation the result of a crosscompile?
|
|
||||||
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
|
||||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Set default install directory permissions.
|
|
||||||
if(NOT DEFINED CMAKE_OBJDUMP)
|
|
||||||
set(CMAKE_OBJDUMP "/usr/bin/objdump")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(CMAKE_INSTALL_COMPONENT)
|
|
||||||
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
|
|
||||||
else()
|
|
||||||
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
|
|
||||||
"${CMAKE_INSTALL_MANIFEST_FILES}")
|
|
||||||
file(WRITE "/home/brett/Documents/code/c++/BLT/cmake-build-release/${CMAKE_INSTALL_MANIFEST}"
|
|
||||||
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
|
|
@ -1,2 +0,0 @@
|
||||||
|
|
||||||
#define ZLIB_FOUND
|
|
|
@ -1,44 +0,0 @@
|
||||||
# Install script for directory: /home/brett/Documents/code/c++/BLT/libraries/parallel-hashmap
|
|
||||||
|
|
||||||
# Set the install prefix
|
|
||||||
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
|
||||||
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
|
||||||
endif()
|
|
||||||
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
|
||||||
|
|
||||||
# Set the install configuration name.
|
|
||||||
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
|
||||||
if(BUILD_TYPE)
|
|
||||||
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
|
||||||
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
|
||||||
else()
|
|
||||||
set(CMAKE_INSTALL_CONFIG_NAME "Release")
|
|
||||||
endif()
|
|
||||||
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Set the component getting installed.
|
|
||||||
if(NOT CMAKE_INSTALL_COMPONENT)
|
|
||||||
if(COMPONENT)
|
|
||||||
message(STATUS "Install component: \"${COMPONENT}\"")
|
|
||||||
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
|
||||||
else()
|
|
||||||
set(CMAKE_INSTALL_COMPONENT)
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Install shared libraries without execute permission?
|
|
||||||
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
|
||||||
set(CMAKE_INSTALL_SO_NO_EXE "1")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Is this installation the result of a crosscompile?
|
|
||||||
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
|
||||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Set default install directory permissions.
|
|
||||||
if(NOT DEFINED CMAKE_OBJDUMP)
|
|
||||||
set(CMAKE_OBJDUMP "/usr/bin/objdump")
|
|
||||||
endif()
|
|
||||||
|
|
|
@ -28,20 +28,20 @@ namespace blt {
|
||||||
float x, y;
|
float x, y;
|
||||||
x = n * 0.5f;
|
x = n * 0.5f;
|
||||||
y = n;
|
y = n;
|
||||||
i = * (int*) &y;
|
i = *reinterpret_cast<int*>(&y);
|
||||||
i = 0x5f3759df - (i >> 1);
|
i = 0x5f3759df - (i >> 1);
|
||||||
y = * (float*) &i;
|
y = *reinterpret_cast<float*>(&i);
|
||||||
y = y * (1.5f - (x * y * y));
|
y = y * (1.5f - (x * y * y));
|
||||||
y = y * (1.5f - (x * y * y));
|
y = y * (1.5f - (x * y * y));
|
||||||
return y;
|
return y;
|
||||||
}
|
}
|
||||||
|
|
||||||
// inline std::ostream& operator<<(std::ostream& out, const mat4x4& v) {
|
/*inline std::ostream& operator<<(std::ostream& out, const mat4x4& v) {
|
||||||
// return out << "\rMatrix4x4{" << v.m00() << ", " << v.m01() << ", " << v.m02() << ", " << v.m03() << "} \n"\
|
return out << "\rMatrix4x4{" << v.m00() << ", " << v.m01() << ", " << v.m02() << ", " << v.m03() << "} \n"\
|
||||||
// << " {" << v.m10() << ", " << v.m11() << ", " << v.m12() << ", " << v.m13() << "} \n"\
|
<< " {" << v.m10() << ", " << v.m11() << ", " << v.m12() << ", " << v.m13() << "} \n"\
|
||||||
// << " {" << v.m20() << ", " << v.m21() << ", " << v.m22() << ", " << v.m23() << "} \n"\
|
<< " {" << v.m20() << ", " << v.m21() << ", " << v.m22() << ", " << v.m23() << "} \n"\
|
||||||
// << " {" << v.m30() << ", " << v.m31() << ", " << v.m32() << ", " << v.m33() << "} \n";
|
<< " {" << v.m30() << ", " << v.m31() << ", " << v.m32() << ", " << v.m33() << "} \n";
|
||||||
// }
|
}*/
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -51,6 +51,14 @@ namespace blt {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mat4x4& operator=(const mat4x4& copy){
|
||||||
|
if (© == this)
|
||||||
|
return *this;
|
||||||
|
for (int i = 0; i < 16; i++) {
|
||||||
|
data.single[i] = copy.data.single[i];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
explicit mat4x4(const float dat[16]) {
|
explicit mat4x4(const float dat[16]) {
|
||||||
for (int i = 0; i < 16; i++) {
|
for (int i = 0; i < 16; i++) {
|
||||||
data.single[i] = dat[i];
|
data.single[i] = dat[i];
|
||||||
|
@ -334,8 +342,6 @@ namespace blt {
|
||||||
static inline mat4x4 perspective(float fov, float aspect_ratio, float near, float far){
|
static inline mat4x4 perspective(float fov, float aspect_ratio, float near, float far){
|
||||||
mat4x4 perspectiveMat4x4 {emptyMatrix};
|
mat4x4 perspectiveMat4x4 {emptyMatrix};
|
||||||
|
|
||||||
float oneOverNearMFar = 1.0f / (near - far);
|
|
||||||
|
|
||||||
float halfTan = tanf(fov * 0.5f * (float)M_PI / 180.0f);
|
float halfTan = tanf(fov * 0.5f * (float)M_PI / 180.0f);
|
||||||
perspectiveMat4x4.m00(float(1.0 / (aspect_ratio * halfTan)));
|
perspectiveMat4x4.m00(float(1.0 / (aspect_ratio * halfTan)));
|
||||||
perspectiveMat4x4.m11(float(1.0 / halfTan));
|
perspectiveMat4x4.m11(float(1.0 / halfTan));
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
#include <initializer_list>
|
#include <initializer_list>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
namespace blt {
|
namespace blt {
|
||||||
|
|
||||||
|
@ -19,31 +20,37 @@ namespace blt {
|
||||||
return v1 >= v2 - EPSILON && v1 <= v2 + EPSILON;
|
return v1 >= v2 - EPSILON && v1 <= v2 + EPSILON;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T, unsigned long size, typename std::enable_if<std::is_arithmetic<T>::value>::type* = nullptr>
|
template<typename T, uint32_t size, typename std::enable_if<std::is_arithmetic<T>::value>::type* = nullptr>
|
||||||
struct vec {
|
struct vec {
|
||||||
private:
|
private:
|
||||||
T elements[size]{};
|
T elements[size]{};
|
||||||
public:
|
public:
|
||||||
|
|
||||||
vec() {
|
vec() {
|
||||||
for (int i = 0; i < size; i++)
|
for (uint32_t i = 0; i < size; i++)
|
||||||
elements[i] = 0;
|
elements[i] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
vec(std::initializer_list<T> args): vec() {
|
vec(std::initializer_list<T> args): vec() {
|
||||||
for (int i = 0; i < args.size(); i++) {
|
for (uint32_t i = 0; i < args.size(); i++)
|
||||||
elements[i] = *(args.begin() + i);
|
elements[i] = *(args.begin() + i);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
explicit vec(const T elem[size]) {
|
explicit vec(const T elem[size]) {
|
||||||
for (int i = 0; i < size; i++) {
|
for (uint32_t i = 0; i < size; i++)
|
||||||
elements[i] = elem[i];
|
elements[i] = elem[i];
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
vec(const vec<T, size>& copy): vec(copy.elements) {}
|
vec(const vec<T, size>& copy): vec(copy.elements) {}
|
||||||
|
|
||||||
|
vec& operator=(const vec<T, size>& copy) {
|
||||||
|
if (© == this)
|
||||||
|
return *this;
|
||||||
|
for (uint32_t i = 0; i < size; i++)
|
||||||
|
elements[i] = copy[i];
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
[[nodiscard]] inline T x() const {
|
[[nodiscard]] inline T x() const {
|
||||||
return elements[0];
|
return elements[0];
|
||||||
}
|
}
|
||||||
|
@ -65,7 +72,7 @@ namespace blt {
|
||||||
|
|
||||||
[[nodiscard]] inline T magnitude() const {
|
[[nodiscard]] inline T magnitude() const {
|
||||||
T total = 0;
|
T total = 0;
|
||||||
for (int i = 0; i < size; i++)
|
for (uint32_t i = 0; i < size; i++)
|
||||||
total += elements[i] * elements[i];
|
total += elements[i] * elements[i];
|
||||||
return std::sqrt(total);
|
return std::sqrt(total);
|
||||||
}
|
}
|
||||||
|
@ -73,7 +80,7 @@ namespace blt {
|
||||||
[[nodiscard]] inline vec<T, size> normalize() const {
|
[[nodiscard]] inline vec<T, size> normalize() const {
|
||||||
auto mag = this->magnitude();
|
auto mag = this->magnitude();
|
||||||
if (mag == 0)
|
if (mag == 0)
|
||||||
return *this;
|
return vec<T, size>(*this);
|
||||||
return *this / mag;
|
return *this / mag;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -86,50 +93,50 @@ namespace blt {
|
||||||
}
|
}
|
||||||
|
|
||||||
inline vec<T, size>& operator=(T v) {
|
inline vec<T, size>& operator=(T v) {
|
||||||
for (int i = 0; i < size; i++)
|
for (uint32_t i = 0; i < size; i++)
|
||||||
elements[i] = v;
|
elements[i] = v;
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline vec<T, size> operator-() {
|
inline vec<T, size> operator-() {
|
||||||
T negativeCopy[size];
|
T negativeCopy[size];
|
||||||
for (int i = 0; i < size; i++)
|
for (uint32_t i = 0; i < size; i++)
|
||||||
negativeCopy[i] = -elements[i];
|
negativeCopy[i] = -elements[i];
|
||||||
return vec<T, size>{negativeCopy};
|
return vec<T, size>{negativeCopy};
|
||||||
}
|
}
|
||||||
|
|
||||||
inline vec<T, size>& operator+=(const vec<T, size>& other) {
|
inline vec<T, size>& operator+=(const vec<T, size>& other) {
|
||||||
for (int i = 0; i < size; i++)
|
for (uint32_t i = 0; i < size; i++)
|
||||||
elements[i] += other[i];
|
elements[i] += other[i];
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline vec<T, size>& operator*=(const vec<T, size>& other) {
|
inline vec<T, size>& operator*=(const vec<T, size>& other) {
|
||||||
for (int i = 0; i < size; i++)
|
for (uint32_t i = 0; i < size; i++)
|
||||||
elements[i] *= other[i];
|
elements[i] *= other[i];
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline vec<T, size>& operator+=(T f) {
|
inline vec<T, size>& operator+=(T f) {
|
||||||
for (int i = 0; i < size; i++)
|
for (uint32_t i = 0; i < size; i++)
|
||||||
elements[i] += f;
|
elements[i] += f;
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline vec<T, size>& operator*=(T f) {
|
inline vec<T, size>& operator*=(T f) {
|
||||||
for (int i = 0; i < size; i++)
|
for (uint32_t i = 0; i < size; i++)
|
||||||
elements[i] *= f;
|
elements[i] *= f;
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline vec<T, size>& operator-=(const vec<T, size>& other) {
|
inline vec<T, size>& operator-=(const vec<T, size>& other) {
|
||||||
for (int i = 0; i < size; i++)
|
for (uint32_t i = 0; i < size; i++)
|
||||||
elements[i] -= other[i];
|
elements[i] -= other[i];
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline vec<T, size>& operator-=(T f) {
|
inline vec<T, size>& operator-=(T f) {
|
||||||
for (int i = 0; i < size; i++)
|
for (uint32_t i = 0; i < size; i++)
|
||||||
elements[i] -= f;
|
elements[i] -= f;
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
@ -139,7 +146,7 @@ namespace blt {
|
||||||
*/
|
*/
|
||||||
static inline constexpr T dot(const vec<T, size>& left, const vec<T, size>& right) {
|
static inline constexpr T dot(const vec<T, size>& left, const vec<T, size>& right) {
|
||||||
T dot = 0;
|
T dot = 0;
|
||||||
for (int i = 0; i < size; i++)
|
for (uint32_t i = 0; i < size; i++)
|
||||||
dot += left[i] * right[i];
|
dot += left[i] * right[i];
|
||||||
return dot;
|
return dot;
|
||||||
}
|
}
|
||||||
|
@ -159,97 +166,97 @@ namespace blt {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
template<typename T, unsigned long size>
|
template<typename T, uint32_t size>
|
||||||
inline constexpr vec<T, size> operator+(const vec<T, size>& left, const vec<T, size>& right) {
|
inline constexpr vec<T, size> operator+(const vec<T, size>& left, const vec<T, size>& right) {
|
||||||
T initializer[size];
|
T initializer[size];
|
||||||
for (int i = 0; i < size; i++)
|
for (uint32_t i = 0; i < size; i++)
|
||||||
initializer[i] = left[i] + right[i];
|
initializer[i] = left[i] + right[i];
|
||||||
return vec<T, size>{initializer};
|
return vec<T, size>{initializer};
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T, unsigned long size>
|
template<typename T, uint32_t size>
|
||||||
inline constexpr vec<T, size> operator-(const vec<T, size>& left, const vec<T, size>& right) {
|
inline constexpr vec<T, size> operator-(const vec<T, size>& left, const vec<T, size>& right) {
|
||||||
T initializer[size];
|
T initializer[size];
|
||||||
for (int i = 0; i < size; i++)
|
for (uint32_t i = 0; i < size; i++)
|
||||||
initializer[i] = left[i] - right[i];
|
initializer[i] = left[i] - right[i];
|
||||||
return vec<T, size>{initializer};
|
return vec<T, size>{initializer};
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T, unsigned long size>
|
template<typename T, uint32_t size>
|
||||||
inline constexpr vec<T, size> operator+(const vec<T, size>& left, float f) {
|
inline constexpr vec<T, size> operator+(const vec<T, size>& left, float f) {
|
||||||
T initializer[size];
|
T initializer[size];
|
||||||
for (int i = 0; i < size; i++)
|
for (uint32_t i = 0; i < size; i++)
|
||||||
initializer[i] = left[i] + f;
|
initializer[i] = left[i] + f;
|
||||||
return vec<T, size>{initializer};
|
return vec<T, size>{initializer};
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T, unsigned long size>
|
template<typename T, uint32_t size>
|
||||||
inline constexpr vec<T, size> operator-(const vec<T, size>& left, float f) {
|
inline constexpr vec<T, size> operator-(const vec<T, size>& left, float f) {
|
||||||
T initializer[size];
|
T initializer[size];
|
||||||
for (int i = 0; i < size; i++)
|
for (uint32_t i = 0; i < size; i++)
|
||||||
initializer[i] = left[i] + f;
|
initializer[i] = left[i] + f;
|
||||||
return vec<T, size>{initializer};
|
return vec<T, size>{initializer};
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T, unsigned long size>
|
template<typename T, uint32_t size>
|
||||||
inline constexpr vec<T, size> operator+(float f, const vec<T, size>& right) {
|
inline constexpr vec<T, size> operator+(float f, const vec<T, size>& right) {
|
||||||
T initializer[size];
|
T initializer[size];
|
||||||
for (int i = 0; i < size; i++)
|
for (uint32_t i = 0; i < size; i++)
|
||||||
initializer[i] = f + right[i];
|
initializer[i] = f + right[i];
|
||||||
return vec<T, size>{initializer};
|
return vec<T, size>{initializer};
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T, unsigned long size>
|
template<typename T, uint32_t size>
|
||||||
inline constexpr vec<T, size> operator-(float f, const vec<T, size>& right) {
|
inline constexpr vec<T, size> operator-(float f, const vec<T, size>& right) {
|
||||||
T initializer[size];
|
T initializer[size];
|
||||||
for (int i = 0; i < size; i++)
|
for (uint32_t i = 0; i < size; i++)
|
||||||
initializer[i] = f - right[i];
|
initializer[i] = f - right[i];
|
||||||
return vec<T, size>{initializer};
|
return vec<T, size>{initializer};
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T, unsigned long size>
|
template<typename T, uint32_t size>
|
||||||
inline constexpr vec<T, size> operator*(const vec<T, size>& left, const vec<T, size>& right) {
|
inline constexpr vec<T, size> operator*(const vec<T, size>& left, const vec<T, size>& right) {
|
||||||
T initializer[size];
|
T initializer[size];
|
||||||
for (int i = 0; i < size; i++)
|
for (uint32_t i = 0; i < size; i++)
|
||||||
initializer[i] = left[i] * right[i];
|
initializer[i] = left[i] * right[i];
|
||||||
return vec<T, size>{initializer};
|
return vec<T, size>{initializer};
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T, unsigned long size>
|
template<typename T, uint32_t size>
|
||||||
inline constexpr vec<T, size> operator*(const vec<T, size>& left, float f) {
|
inline constexpr vec<T, size> operator*(const vec<T, size>& left, float f) {
|
||||||
T initializer[size];
|
T initializer[size];
|
||||||
for (int i = 0; i < size; i++)
|
for (uint32_t i = 0; i < size; i++)
|
||||||
initializer[i] = left[i] * f;
|
initializer[i] = left[i] * f;
|
||||||
return vec<T, size>{initializer};
|
return vec<T, size>{initializer};
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T, unsigned long size>
|
template<typename T, uint32_t size>
|
||||||
inline constexpr vec<T, size> operator*(float f, const vec<T, size>& right) {
|
inline constexpr vec<T, size> operator*(float f, const vec<T, size>& right) {
|
||||||
T initializer[size];
|
T initializer[size];
|
||||||
for (int i = 0; i < size; i++)
|
for (uint32_t i = 0; i < size; i++)
|
||||||
initializer[i] = f * right[i];
|
initializer[i] = f * right[i];
|
||||||
return vec<T, size>{initializer};
|
return vec<T, size>{initializer};
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T, unsigned long size>
|
template<typename T, uint32_t size>
|
||||||
inline constexpr vec<T, size> operator/(const vec<T, size>& left, float f) {
|
inline constexpr vec<T, size> operator/(const vec<T, size>& left, float f) {
|
||||||
T initializer[size];
|
T initializer[size];
|
||||||
for (int i = 0; i < size; i++)
|
for (uint32_t i = 0; i < size; i++)
|
||||||
initializer[i] = left[i] / f;
|
initializer[i] = left[i] / f;
|
||||||
return vec<T, size>{initializer};
|
return vec<T, size>{initializer};
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T, unsigned long size>
|
template<typename T, uint32_t size>
|
||||||
inline constexpr bool operator==(const vec<T, size>& left, const vec<T, size>& right) {
|
inline constexpr bool operator==(const vec<T, size>& left, const vec<T, size>& right) {
|
||||||
for (int i = 0; i < size; i++)
|
for (uint32_t i = 0; i < size; i++)
|
||||||
if (left[i] != right[i])
|
if (left[i] != right[i])
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T, unsigned long size>
|
template<typename T, uint32_t size>
|
||||||
inline constexpr bool operator&&(const vec<T, size>& left, const vec<T, size>& right) {
|
inline constexpr bool operator&&(const vec<T, size>& left, const vec<T, size>& right) {
|
||||||
for (int i = 0; i < size; i++)
|
for (uint32_t i = 0; i < size; i++)
|
||||||
if (!f_equal(left[i], right[i]))
|
if (!f_equal(left[i], right[i]))
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
|
@ -263,21 +270,21 @@ namespace blt {
|
||||||
typedef vec<double, 3> vec3d;
|
typedef vec<double, 3> vec3d;
|
||||||
typedef vec<double, 4> vec4d;
|
typedef vec<double, 4> vec4d;
|
||||||
|
|
||||||
typedef vec<int, 2> vec2i;
|
typedef vec<int32_t, 2> vec2i;
|
||||||
typedef vec<int, 3> vec3i;
|
typedef vec<int32_t, 3> vec3i;
|
||||||
typedef vec<int, 4> vec4i;
|
typedef vec<int32_t, 4> vec4i;
|
||||||
|
|
||||||
typedef vec<long long, 2> vec2l;
|
typedef vec<int64_t, 2> vec2l;
|
||||||
typedef vec<long long, 3> vec3l;
|
typedef vec<int64_t, 3> vec3l;
|
||||||
typedef vec<long long, 4> vec4l;
|
typedef vec<int64_t, 4> vec4l;
|
||||||
|
|
||||||
typedef vec<unsigned int, 2> vec2ui;
|
typedef vec<uint32_t, 2> vec2ui;
|
||||||
typedef vec<unsigned int, 3> vec3ui;
|
typedef vec<uint32_t, 3> vec3ui;
|
||||||
typedef vec<unsigned int, 4> vec4ui;
|
typedef vec<uint32_t, 4> vec4ui;
|
||||||
|
|
||||||
typedef vec<unsigned long long, 2> vec2ul;
|
typedef vec<uint64_t, 2> vec2ul;
|
||||||
typedef vec<unsigned long long, 3> vec3ul;
|
typedef vec<uint64_t, 3> vec3ul;
|
||||||
typedef vec<unsigned long long, 4> vec4ul;
|
typedef vec<uint64_t, 4> vec4ul;
|
||||||
|
|
||||||
typedef vec2f vec2;
|
typedef vec2f vec2;
|
||||||
typedef vec3f vec3;
|
typedef vec3f vec3;
|
||||||
|
|
|
@ -69,7 +69,7 @@ namespace blt::fs {
|
||||||
size_t readIndex = 0;
|
size_t readIndex = 0;
|
||||||
public:
|
public:
|
||||||
explicit fstream_block_reader(std::fstream& stream, size_t bufferSize):
|
explicit fstream_block_reader(std::fstream& stream, size_t bufferSize):
|
||||||
m_stream(stream), m_buffer(new char[bufferSize]), block_reader(bufferSize) {}
|
block_reader(bufferSize), m_stream(stream), m_buffer(new char[bufferSize]) {}
|
||||||
|
|
||||||
explicit fstream_block_reader(fstream_block_reader& copy) = delete;
|
explicit fstream_block_reader(fstream_block_reader& copy) = delete;
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ namespace blt::fs {
|
||||||
size_t writeIndex = 0;
|
size_t writeIndex = 0;
|
||||||
public:
|
public:
|
||||||
explicit fstream_block_writer(std::fstream& stream, size_t bufferSize):
|
explicit fstream_block_writer(std::fstream& stream, size_t bufferSize):
|
||||||
m_stream(stream), m_buffer(new char[bufferSize]), block_writer(bufferSize) {}
|
block_writer(bufferSize), m_stream(stream), m_buffer(new char[bufferSize]) {}
|
||||||
|
|
||||||
explicit fstream_block_writer(fstream_block_writer& copy) = delete;
|
explicit fstream_block_writer(fstream_block_writer& copy) = delete;
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,7 @@ namespace blt::string {
|
||||||
if ((int) expectedLength - currentSize <= 0)
|
if ((int) expectedLength - currentSize <= 0)
|
||||||
return str;
|
return str;
|
||||||
auto paddedString = str;
|
auto paddedString = str;
|
||||||
for (int i = 0; i < expectedLength - currentSize; i++)
|
for (size_t i = 0; i < expectedLength - currentSize; i++)
|
||||||
paddedString += " ";
|
paddedString += " ";
|
||||||
return paddedString;
|
return paddedString;
|
||||||
}
|
}
|
||||||
|
@ -74,7 +74,7 @@ namespace blt::string {
|
||||||
static inline std::string prePadWithSpaces(const std::string& str, size_t expectedLength) {
|
static inline std::string prePadWithSpaces(const std::string& str, size_t expectedLength) {
|
||||||
auto currentSize = str.length() - 1;
|
auto currentSize = str.length() - 1;
|
||||||
auto paddedString = std::string();
|
auto paddedString = std::string();
|
||||||
for (int i = 0; i < expectedLength - currentSize; i++)
|
for (unsigned int i = 0; i < expectedLength - currentSize; i++)
|
||||||
paddedString += " ";
|
paddedString += " ";
|
||||||
paddedString += str;
|
paddedString += str;
|
||||||
return paddedString;
|
return paddedString;
|
||||||
|
@ -91,7 +91,7 @@ namespace blt::string {
|
||||||
const unsigned int strlen = str.size();
|
const unsigned int strlen = str.size();
|
||||||
unsigned int utflen = strlen;
|
unsigned int utflen = strlen;
|
||||||
|
|
||||||
for (int i = 0; i < strlen; i++) {
|
for (unsigned int i = 0; i < strlen; i++) {
|
||||||
unsigned char c = str[i];
|
unsigned char c = str[i];
|
||||||
if (c >= 0x80 || c == 0)
|
if (c >= 0x80 || c == 0)
|
||||||
utflen += 1;
|
utflen += 1;
|
||||||
|
@ -108,7 +108,7 @@ namespace blt::string {
|
||||||
chars.characters[count++] = (char) ((utflen >> 0) & 0xFF);
|
chars.characters[count++] = (char) ((utflen >> 0) & 0xFF);
|
||||||
chars.characters[count++] = (char) ((utflen >> 8) & 0xFF);
|
chars.characters[count++] = (char) ((utflen >> 8) & 0xFF);
|
||||||
|
|
||||||
int i = 0;
|
unsigned int i = 0;
|
||||||
for (i = 0; i < strlen; i++) { // optimized for initial run of ASCII
|
for (i = 0; i < strlen; i++) { // optimized for initial run of ASCII
|
||||||
int c = (unsigned char) str[i];
|
int c = (unsigned char) str[i];
|
||||||
if (c >= 0x80 || c == 0) break;
|
if (c >= 0x80 || c == 0) break;
|
||||||
|
@ -132,7 +132,7 @@ namespace blt::string {
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline std::string getStringFromUTF8(const utf8_string& str) {
|
static inline std::string getStringFromUTF8(const utf8_string& str) {
|
||||||
auto utflen = str.size;
|
int utflen = (int) str.size;
|
||||||
int c, char2, char3;
|
int c, char2, char3;
|
||||||
int count = 0;
|
int count = 0;
|
||||||
int chararr_count = 0;
|
int chararr_count = 0;
|
||||||
|
@ -172,6 +172,7 @@ namespace blt::string {
|
||||||
throw "malformed input around byte " + std::to_string(count);
|
throw "malformed input around byte " + std::to_string(count);
|
||||||
chararr[chararr_count++] = (char) (((c & 0x1F) << 6) |
|
chararr[chararr_count++] = (char) (((c & 0x1F) << 6) |
|
||||||
(char2 & 0x3F));
|
(char2 & 0x3F));
|
||||||
|
break;
|
||||||
case 14:
|
case 14:
|
||||||
/* 1110 xxxx 10xx xxxx 10xx xxxx */
|
/* 1110 xxxx 10xx xxxx 10xx xxxx */
|
||||||
count += 3;
|
count += 3;
|
||||||
|
|
|
@ -51,13 +51,6 @@ namespace blt::logging {
|
||||||
};
|
};
|
||||||
|
|
||||||
static logger std_out{NONE};
|
static logger std_out{NONE};
|
||||||
|
|
||||||
static logger tlog{TRACE};
|
|
||||||
static logger dlog{DEBUG};
|
|
||||||
static logger ilog{INFO};
|
|
||||||
static logger wlog{WARN};
|
|
||||||
static logger elog{ERROR};
|
|
||||||
static logger flog{FATAL};
|
|
||||||
|
|
||||||
static logger trace{TRACE};
|
static logger trace{TRACE};
|
||||||
static logger debug{DEBUG};
|
static logger debug{DEBUG};
|
||||||
|
@ -67,7 +60,7 @@ namespace blt::logging {
|
||||||
static logger fatal{FATAL};
|
static logger fatal{FATAL};
|
||||||
|
|
||||||
static inline logger& getLoggerFromLevel(LOG_LEVEL level) {
|
static inline logger& getLoggerFromLevel(LOG_LEVEL level) {
|
||||||
static logger loggerLevelDecode[7]{tlog, dlog, ilog, wlog, elog, flog, std_out};
|
static logger loggerLevelDecode[7]{trace, debug, info, warn, error, fatal, std_out};
|
||||||
return loggerLevelDecode[level];
|
return loggerLevelDecode[level];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -106,6 +99,8 @@ namespace blt::logging {
|
||||||
* Will flush all buffers! This might cause issues with threads!
|
* Will flush all buffers! This might cause issues with threads!
|
||||||
*/
|
*/
|
||||||
void flush();
|
void flush();
|
||||||
|
|
||||||
|
void testLogging();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef BLT_DISABLE_LOGGING
|
#ifdef BLT_DISABLE_LOGGING
|
||||||
|
|
|
@ -21,7 +21,7 @@ namespace blt::string {
|
||||||
return false;
|
return false;
|
||||||
auto chars = string.c_str();
|
auto chars = string.c_str();
|
||||||
auto search_chars = search.c_str();
|
auto search_chars = search.c_str();
|
||||||
for (int i = 0; i < search.length(); i++){
|
for (unsigned int i = 0; i < search.length(); i++){
|
||||||
if (chars[i] != search_chars[i])
|
if (chars[i] != search_chars[i])
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,7 @@ namespace blt::string {
|
||||||
auto chars = string.c_str();
|
auto chars = string.c_str();
|
||||||
auto search_chars = search.c_str();
|
auto search_chars = search.c_str();
|
||||||
auto startPosition = string.length() - search.length();
|
auto startPosition = string.length() - search.length();
|
||||||
for (int i = 0; i < search.length(); i++){
|
for (unsigned int i = 0; i < search.length(); i++){
|
||||||
if (chars[startPosition + i] != search_chars[i])
|
if (chars[startPosition + i] != search_chars[i])
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -46,10 +46,10 @@ namespace blt::string {
|
||||||
return false;
|
return false;
|
||||||
auto chars = string.c_str();
|
auto chars = string.c_str();
|
||||||
auto search_chars = search.c_str();
|
auto search_chars = search.c_str();
|
||||||
for (int i = 0; i < string.length(); i++){
|
for (unsigned int i = 0; i < string.length(); i++){
|
||||||
if (chars[i] == search_chars[0]) {
|
if (chars[i] == search_chars[0]) {
|
||||||
bool correct = true;
|
bool correct = true;
|
||||||
for (int j = 0; j < search.length(); j++) {
|
for (unsigned int j = 0; j < search.length(); j++) {
|
||||||
if (chars[i + j] != search_chars[j]) {
|
if (chars[i + j] != search_chars[j]) {
|
||||||
correct = false;
|
correct = false;
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -19,7 +19,7 @@ namespace blt::system {
|
||||||
return asString;
|
return asString;
|
||||||
std::string zeros;
|
std::string zeros;
|
||||||
zeros.reserve(length);
|
zeros.reserve(length);
|
||||||
for (int i = 0; i < length; i++){
|
for (unsigned int i = 0; i < length; i++){
|
||||||
zeros += '0';
|
zeros += '0';
|
||||||
}
|
}
|
||||||
return zeros + asString;
|
return zeros + asString;
|
||||||
|
|
|
@ -25,6 +25,6 @@ namespace blt::nbt {
|
||||||
|
|
||||||
auto strOut = std::move(blt::string::getStringFromUTF8(str));
|
auto strOut = std::move(blt::string::getStringFromUTF8(str));
|
||||||
delete[] str.characters;
|
delete[] str.characters;
|
||||||
return std::move(strOut);
|
return strOut;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -81,7 +81,6 @@ namespace blt::profiling {
|
||||||
auto& profile = profiles[profileName];
|
auto& profile = profiles[profileName];
|
||||||
const auto& intervals = profile.intervals;
|
const auto& intervals = profile.intervals;
|
||||||
const auto& intervals_total = profile.intervals_total;
|
const auto& intervals_total = profile.intervals_total;
|
||||||
const auto& points = profile.points;
|
|
||||||
|
|
||||||
std::vector<IntervalComparable> order_rows;
|
std::vector<IntervalComparable> order_rows;
|
||||||
std::unordered_map<std::string, capture_interval> averaged_intervals;
|
std::unordered_map<std::string, capture_interval> averaged_intervals;
|
||||||
|
@ -110,7 +109,6 @@ namespace blt::profiling {
|
||||||
auto& profile = profiles[profileName];
|
auto& profile = profiles[profileName];
|
||||||
const auto& intervals = profile.intervals;
|
const auto& intervals = profile.intervals;
|
||||||
const auto& intervals_total = profile.intervals_total;
|
const auto& intervals_total = profile.intervals_total;
|
||||||
const auto& points = profile.points;
|
|
||||||
|
|
||||||
std::vector<IntervalComparable> ordered_rows;
|
std::vector<IntervalComparable> ordered_rows;
|
||||||
std::unordered_map<std::string, capture_interval> averaged_intervals;
|
std::unordered_map<std::string, capture_interval> averaged_intervals;
|
||||||
|
|
|
@ -28,7 +28,7 @@ std::vector<std::string> blt::string::TableFormatter::createTable(bool top, bool
|
||||||
|
|
||||||
for (const auto& row : rows) {
|
for (const auto& row : rows) {
|
||||||
std::string rowString = "|";
|
std::string rowString = "|";
|
||||||
for (int i = 0; i < row.rowValues.size(); i++) {
|
for (unsigned int i = 0; i < row.rowValues.size(); i++) {
|
||||||
const auto& rowValue = row.rowValues[i];
|
const auto& rowValue = row.rowValues[i];
|
||||||
const auto& column = columns[i];
|
const auto& column = columns[i];
|
||||||
const int spaceLeft = int(column.maxColumnLength) - int(rowValue.size());
|
const int spaceLeft = int(column.maxColumnLength) - int(rowValue.size());
|
||||||
|
@ -51,7 +51,7 @@ std::string blt::string::TableFormatter::generateColumnHeader() {
|
||||||
updateMaxColumnLengths();
|
updateMaxColumnLengths();
|
||||||
std::string header = "|";
|
std::string header = "|";
|
||||||
|
|
||||||
for (int i = 0; i < columns.size(); i++) {
|
for (unsigned int i = 0; i < columns.size(); i++) {
|
||||||
const auto& column = columns[i];
|
const auto& column = columns[i];
|
||||||
auto columnPaddingLength = (int(column.maxColumnLength) - int(column.columnName.size()))/2.0;
|
auto columnPaddingLength = (int(column.maxColumnLength) - int(column.columnName.size()))/2.0;
|
||||||
header += createPadding(int(m_columnPadding + (int)std::floor(columnPaddingLength)));
|
header += createPadding(int(m_columnPadding + (int)std::floor(columnPaddingLength)));
|
||||||
|
@ -82,10 +82,10 @@ std::string blt::string::TableFormatter::generateTopSeparator(size_t size) {
|
||||||
|
|
||||||
halfWidthLeftSeparator += "+";
|
halfWidthLeftSeparator += "+";
|
||||||
|
|
||||||
for (int i = 0; i < sizeNameFloor - 1; i++)
|
for (unsigned int i = 0; i < sizeNameFloor - 1; i++)
|
||||||
halfWidthLeftSeparator += "-";
|
halfWidthLeftSeparator += "-";
|
||||||
|
|
||||||
for (int i = 0; i < sizeNameCeil - 1; i++)
|
for (unsigned int i = 0; i < sizeNameCeil - 1; i++)
|
||||||
halfWidthRightSeparator += "-";
|
halfWidthRightSeparator += "-";
|
||||||
|
|
||||||
halfWidthRightSeparator += "+";
|
halfWidthRightSeparator += "+";
|
||||||
|
@ -105,7 +105,7 @@ std::string blt::string::TableFormatter::generateSeparator(size_t size) {
|
||||||
size_t nextIndex = 0;
|
size_t nextIndex = 0;
|
||||||
size_t currentColumnIndex = 0;
|
size_t currentColumnIndex = 0;
|
||||||
std::string wholeWidthSeparator;
|
std::string wholeWidthSeparator;
|
||||||
for (int i = 0; i < size; i++) {
|
for (unsigned int i = 0; i < size; i++) {
|
||||||
if (i == nextIndex) {
|
if (i == nextIndex) {
|
||||||
auto currentColumnSize = columns[currentColumnIndex++].maxColumnLength + m_columnPadding*2;
|
auto currentColumnSize = columns[currentColumnIndex++].maxColumnLength + m_columnPadding*2;
|
||||||
nextIndex += currentColumnSize + 1;
|
nextIndex += currentColumnSize + 1;
|
||||||
|
@ -118,7 +118,7 @@ std::string blt::string::TableFormatter::generateSeparator(size_t size) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void blt::string::TableFormatter::updateMaxColumnLengths() {
|
void blt::string::TableFormatter::updateMaxColumnLengths() {
|
||||||
for (int i = 0; i < columns.size(); i++) {
|
for (unsigned int i = 0; i < columns.size(); i++) {
|
||||||
auto& column = columns[i];
|
auto& column = columns[i];
|
||||||
column.maxColumnLength = column.columnName.size();
|
column.maxColumnLength = column.columnName.size();
|
||||||
for (const auto& row : rows) {
|
for (const auto& row : rows) {
|
||||||
|
|
|
@ -37,7 +37,7 @@ std::vector<std::string> blt::fs::recursiveShaderInclude(const std::string& path
|
||||||
auto mainLines = getLinesFromFile(path);
|
auto mainLines = getLinesFromFile(path);
|
||||||
std::unordered_map<int, std::vector<std::string>> includes;
|
std::unordered_map<int, std::vector<std::string>> includes;
|
||||||
|
|
||||||
for (int i = 0; i < mainLines.size(); i++) {
|
for (unsigned int i = 0; i < mainLines.size(); i++) {
|
||||||
auto& line = mainLines[i];
|
auto& line = mainLines[i];
|
||||||
// if the line is an include statement then we want to add lines recursively.
|
// if the line is an include statement then we want to add lines recursively.
|
||||||
if (string::starts_with(line, "#include")) {
|
if (string::starts_with(line, "#include")) {
|
||||||
|
@ -71,7 +71,7 @@ std::vector<std::string> blt::fs::recursiveShaderInclude(const std::string& path
|
||||||
std::vector<std::string> returnLines;
|
std::vector<std::string> returnLines;
|
||||||
|
|
||||||
// now combine all the loaded files while respecting the include's position in the file.
|
// now combine all the loaded files while respecting the include's position in the file.
|
||||||
for (int i = 0; i < mainLines.size(); i++) {
|
for (unsigned int i = 0; i < mainLines.size(); i++) {
|
||||||
if (!includes[i].empty()) {
|
if (!includes[i].empty()) {
|
||||||
auto includedFileLines = includes[i];
|
auto includedFileLines = includes[i];
|
||||||
|
|
||||||
|
|
|
@ -226,6 +226,15 @@ namespace blt::logging {
|
||||||
std::cerr.flush();
|
std::cerr.flush();
|
||||||
std::cout.flush();
|
std::cout.flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void testLogging() {
|
||||||
|
trace << "Trace Test!\n";
|
||||||
|
debug << "Debug Test!\n";
|
||||||
|
info << "Info Test!\n";
|
||||||
|
warn << "Warn Test!\n";
|
||||||
|
error << "Error Test!\n";
|
||||||
|
fatal << "Fatal Test!\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -18,10 +18,10 @@ void run_logging() {
|
||||||
BLT_ERROR("Hello World!\n");
|
BLT_ERROR("Hello World!\n");
|
||||||
BLT_FATAL("Hello World!\n");
|
BLT_FATAL("Hello World!\n");
|
||||||
|
|
||||||
blt::logging::tlog << "Hello! " << "Double stream insertion! " << 51 << 65 << " ";
|
blt::logging::trace << "Hello! " << "Double stream insertion! " << 51 << 65 << " ";
|
||||||
blt::logging::tlog << "Same Line! ";
|
blt::logging::trace << "Same Line! ";
|
||||||
blt::logging::tlog << "Write the end!\n";
|
blt::logging::trace << "Write the end!\n";
|
||||||
blt::logging::tlog << "Seeee\n Super\n";
|
blt::logging::trace << "Seeee\n Super\n";
|
||||||
|
|
||||||
std::string hello = "superSexyMax";
|
std::string hello = "superSexyMax";
|
||||||
std::cout << "String starts with: " << blt::string::contains(hello, "superSexyMaxE") << "\n";
|
std::cout << "String starts with: " << blt::string::contains(hello, "superSexyMaxE") << "\n";
|
||||||
|
|
|
@ -19,10 +19,10 @@ int main() {
|
||||||
|
|
||||||
nbt_tests();
|
nbt_tests();
|
||||||
|
|
||||||
blt::logging::tlog << "Test Output!\n";
|
blt::logging::trace << "Test Output!\n";
|
||||||
blt::logging::tlog << 5;
|
blt::logging::trace << 5;
|
||||||
blt::logging::flog << 5;
|
blt::logging::trace << 5;
|
||||||
blt::logging::ilog << 5;
|
blt::logging::trace << 5;
|
||||||
|
|
||||||
blt::logging::flush();
|
blt::logging::flush();
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ inline bool readLargeBlockUsingNBTBufferedReader(const std::string& file, const
|
||||||
std::fstream largeBlockInputLarge(file, std::ios::in | std::ios::binary);
|
std::fstream largeBlockInputLarge(file, std::ios::in | std::ios::binary);
|
||||||
blt::fs::fstream_block_reader byteLargeBlockInputLarge(largeBlockInputLarge, bufferSize);
|
blt::fs::fstream_block_reader byteLargeBlockInputLarge(largeBlockInputLarge, bufferSize);
|
||||||
byteLargeBlockInputLarge.read(read_buffer.buffer, bufferToCompare.size);
|
byteLargeBlockInputLarge.read(read_buffer.buffer, bufferToCompare.size);
|
||||||
for (int i = 0; i < bufferToCompare.size; i++) {
|
for (unsigned int i = 0; i < bufferToCompare.size; i++) {
|
||||||
if (read_buffer[i] != bufferToCompare.buffer[i])
|
if (read_buffer[i] != bufferToCompare.buffer[i])
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,7 @@ inline bool readLargeBlockUsingNBTBufferedReader(const std::string& file, const
|
||||||
inline bool readIndividualUsingNBTBufferedReader(const std::string& file, const blt::scoped_buffer<char>& bufferToCompare, size_t bufferSize) {
|
inline bool readIndividualUsingNBTBufferedReader(const std::string& file, const blt::scoped_buffer<char>& bufferToCompare, size_t bufferSize) {
|
||||||
std::fstream largeBlockInput(file, std::ios::in | std::ios::binary);
|
std::fstream largeBlockInput(file, std::ios::in | std::ios::binary);
|
||||||
blt::fs::fstream_block_reader byteLargeBlockInput(largeBlockInput, bufferSize);
|
blt::fs::fstream_block_reader byteLargeBlockInput(largeBlockInput, bufferSize);
|
||||||
for (int i = 0; i < bufferToCompare.size; i++) {
|
for (unsigned int i = 0; i < bufferToCompare.size; i++) {
|
||||||
char byte;
|
char byte;
|
||||||
byteLargeBlockInput.read(&byte, 1);
|
byteLargeBlockInput.read(&byte, 1);
|
||||||
if (byte != bufferToCompare[i]) {
|
if (byte != bufferToCompare[i]) {
|
||||||
|
|
|
@ -99,7 +99,7 @@ static inline void random_access() {
|
||||||
blt_flat_queue.push(value);
|
blt_flat_queue.push(value);
|
||||||
base_queue.push(value);
|
base_queue.push(value);
|
||||||
}
|
}
|
||||||
for (int i = 0; i < values.size(); i++) {
|
for (unsigned int i = 0; i < values.size(); i++) {
|
||||||
auto front = blt_flat_queue.front();
|
auto front = blt_flat_queue.front();
|
||||||
auto next = base_queue.front();
|
auto next = base_queue.front();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue