diff options
| author | zhangyang <[email protected]> | 2024-04-24 05:52:42 -0400 |
|---|---|---|
| committer | zhangyang <[email protected]> | 2024-04-24 05:52:42 -0400 |
| commit | 1e6ca0cfe417228820f840d1285d77155545164b (patch) | |
| tree | 03734ef4f8f447c1ae994aeb7f7ace343f66dd49 | |
init
130 files changed, 8744 insertions, 0 deletions
diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..8925bde --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,17 @@ +{ + "configurations": [ + { + "name": "Linux", + "includePath": [ + "${workspaceFolder}/**", + "/opt/MESA/include", + "/opt/MESA/include/MESA" + ], + "defines": [], + "cStandard": "c17", + "cppStandard": "gnu++14", + "intelliSenseMode": "linux-gcc-x64" + } + ], + "version": 4 +}
\ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..59872fe --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "files.associations": { + "maat.h": "c", + "assert.h": "c", + "string.h": "c" + }, + "C_Cpp.default.compilerPath": "/usr/bin/gcc" +}
\ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..24338f0 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,13 @@ +cmake_minimum_required(VERSION 3.10) + +# Set the project name +project(MyProject) + +include_directories(/opt/MESA/include/MESA) +link_directories(/opt/MESA/lib) # assuming the library is in /opt/MESA/lib +link_libraries(maatframe fieldstat4) + +# Add subdirectories +add_subdirectory(demo1) +add_subdirectory(demo2) +add_subdirectory(matt)
\ No newline at end of file diff --git a/build/.cmake/api/v1/query/client-integration-vscode/cache-v2 b/build/.cmake/api/v1/query/client-integration-vscode/cache-v2 new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/build/.cmake/api/v1/query/client-integration-vscode/cache-v2 diff --git a/build/.cmake/api/v1/query/client-integration-vscode/cmakeFiles-v1 b/build/.cmake/api/v1/query/client-integration-vscode/cmakeFiles-v1 new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/build/.cmake/api/v1/query/client-integration-vscode/cmakeFiles-v1 diff --git a/build/.cmake/api/v1/query/client-integration-vscode/codemodel-v2 b/build/.cmake/api/v1/query/client-integration-vscode/codemodel-v2 new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/build/.cmake/api/v1/query/client-integration-vscode/codemodel-v2 diff --git a/build/.cmake/api/v1/query/client-vscode/query.json b/build/.cmake/api/v1/query/client-vscode/query.json new file mode 100644 index 0000000..82bb964 --- /dev/null +++ b/build/.cmake/api/v1/query/client-vscode/query.json @@ -0,0 +1 @@ +{"requests":[{"kind":"cache","version":2},{"kind":"codemodel","version":2},{"kind":"toolchains","version":1},{"kind":"cmakeFiles","version":1}]}
\ No newline at end of file diff --git a/build/.cmake/api/v1/reply/cache-v2-cdd0331164648c300cf2.json b/build/.cmake/api/v1/reply/cache-v2-cdd0331164648c300cf2.json new file mode 100644 index 0000000..924ef23 --- /dev/null +++ b/build/.cmake/api/v1/reply/cache-v2-cdd0331164648c300cf2.json @@ -0,0 +1,1307 @@ +{ + "entries" : + [ + { + "name" : "CMAKE_ADDR2LINE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/addr2line" + }, + { + "name" : "CMAKE_AR", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/ar" + }, + { + "name" : "CMAKE_BUILD_TYPE", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "No help, variable specified on the command line." + } + ], + "type" : "STRING", + "value" : "Debug" + }, + { + "name" : "CMAKE_CACHEFILE_DIR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "This is the directory where this CMakeCache.txt was created" + } + ], + "type" : "INTERNAL", + "value" : "/root/Git/demo/build" + }, + { + "name" : "CMAKE_CACHE_MAJOR_VERSION", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Major version of cmake used to create the current loaded cache" + } + ], + "type" : "INTERNAL", + "value" : "3" + }, + { + "name" : "CMAKE_CACHE_MINOR_VERSION", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Minor version of cmake used to create the current loaded cache" + } + ], + "type" : "INTERNAL", + "value" : "26" + }, + { + "name" : "CMAKE_CACHE_PATCH_VERSION", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Patch version of cmake used to create the current loaded cache" + } + ], + "type" : "INTERNAL", + "value" : "5" + }, + { + "name" : "CMAKE_COLOR_MAKEFILE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Enable/Disable color output during build." + } + ], + "type" : "BOOL", + "value" : "ON" + }, + { + "name" : "CMAKE_COMMAND", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Path to CMake executable." + } + ], + "type" : "INTERNAL", + "value" : "/usr/bin/cmake" + }, + { + "name" : "CMAKE_CPACK_COMMAND", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Path to cpack program executable." + } + ], + "type" : "INTERNAL", + "value" : "/usr/bin/cpack" + }, + { + "name" : "CMAKE_CTEST_COMMAND", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Path to ctest program executable." + } + ], + "type" : "INTERNAL", + "value" : "/usr/bin/ctest" + }, + { + "name" : "CMAKE_CXX_COMPILER", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "No help, variable specified on the command line." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/g++" + }, + { + "name" : "CMAKE_CXX_COMPILER_AR", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "A wrapper around 'ar' adding the appropriate '--plugin' option for the GCC compiler" + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/gcc-ar" + }, + { + "name" : "CMAKE_CXX_COMPILER_RANLIB", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "A wrapper around 'ranlib' adding the appropriate '--plugin' option for the GCC compiler" + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/gcc-ranlib" + }, + { + "name" : "CMAKE_CXX_FLAGS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the CXX compiler during all build types." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_CXX_FLAGS_DEBUG", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the CXX compiler during DEBUG builds." + } + ], + "type" : "STRING", + "value" : "-g" + }, + { + "name" : "CMAKE_CXX_FLAGS_MINSIZEREL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the CXX compiler during MINSIZEREL builds." + } + ], + "type" : "STRING", + "value" : "-Os -DNDEBUG" + }, + { + "name" : "CMAKE_CXX_FLAGS_RELEASE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the CXX compiler during RELEASE builds." + } + ], + "type" : "STRING", + "value" : "-O3 -DNDEBUG" + }, + { + "name" : "CMAKE_CXX_FLAGS_RELWITHDEBINFO", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the CXX compiler during RELWITHDEBINFO builds." + } + ], + "type" : "STRING", + "value" : "-O2 -g -DNDEBUG" + }, + { + "name" : "CMAKE_C_COMPILER", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "No help, variable specified on the command line." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/gcc" + }, + { + "name" : "CMAKE_C_COMPILER_AR", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "A wrapper around 'ar' adding the appropriate '--plugin' option for the GCC compiler" + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/gcc-ar" + }, + { + "name" : "CMAKE_C_COMPILER_RANLIB", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "A wrapper around 'ranlib' adding the appropriate '--plugin' option for the GCC compiler" + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/gcc-ranlib" + }, + { + "name" : "CMAKE_C_FLAGS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the C compiler during all build types." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_C_FLAGS_DEBUG", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the C compiler during DEBUG builds." + } + ], + "type" : "STRING", + "value" : "-g" + }, + { + "name" : "CMAKE_C_FLAGS_MINSIZEREL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the C compiler during MINSIZEREL builds." + } + ], + "type" : "STRING", + "value" : "-Os -DNDEBUG" + }, + { + "name" : "CMAKE_C_FLAGS_RELEASE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the C compiler during RELEASE builds." + } + ], + "type" : "STRING", + "value" : "-O3 -DNDEBUG" + }, + { + "name" : "CMAKE_C_FLAGS_RELWITHDEBINFO", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the C compiler during RELWITHDEBINFO builds." + } + ], + "type" : "STRING", + "value" : "-O2 -g -DNDEBUG" + }, + { + "name" : "CMAKE_DLLTOOL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "CMAKE_DLLTOOL-NOTFOUND" + }, + { + "name" : "CMAKE_EDIT_COMMAND", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Path to cache edit program executable." + } + ], + "type" : "INTERNAL", + "value" : "/usr/bin/ccmake" + }, + { + "name" : "CMAKE_EXECUTABLE_FORMAT", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Executable file format" + } + ], + "type" : "INTERNAL", + "value" : "ELF" + }, + { + "name" : "CMAKE_EXE_LINKER_FLAGS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during all build types." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_EXE_LINKER_FLAGS_DEBUG", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during DEBUG builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_EXE_LINKER_FLAGS_MINSIZEREL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during MINSIZEREL builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_EXE_LINKER_FLAGS_RELEASE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during RELEASE builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during RELWITHDEBINFO builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_EXPORT_COMPILE_COMMANDS", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "No help, variable specified on the command line." + } + ], + "type" : "BOOL", + "value" : "TRUE" + }, + { + "name" : "CMAKE_EXTRA_GENERATOR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Name of external makefile project generator." + } + ], + "type" : "INTERNAL", + "value" : "" + }, + { + "name" : "CMAKE_FIND_PACKAGE_REDIRECTS_DIR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake." + } + ], + "type" : "STATIC", + "value" : "/root/Git/demo/build/CMakeFiles/pkgRedirects" + }, + { + "name" : "CMAKE_GENERATOR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Name of generator." + } + ], + "type" : "INTERNAL", + "value" : "Unix Makefiles" + }, + { + "name" : "CMAKE_GENERATOR_INSTANCE", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Generator instance identifier." + } + ], + "type" : "INTERNAL", + "value" : "" + }, + { + "name" : "CMAKE_GENERATOR_PLATFORM", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Name of generator platform." + } + ], + "type" : "INTERNAL", + "value" : "" + }, + { + "name" : "CMAKE_GENERATOR_TOOLSET", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Name of generator toolset." + } + ], + "type" : "INTERNAL", + "value" : "" + }, + { + "name" : "CMAKE_HOME_DIRECTORY", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Source directory with the top level CMakeLists.txt file for this project" + } + ], + "type" : "INTERNAL", + "value" : "/root/Git/demo" + }, + { + "name" : "CMAKE_INSTALL_PREFIX", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Install path prefix, prepended onto install directories." + } + ], + "type" : "PATH", + "value" : "/usr/local" + }, + { + "name" : "CMAKE_INSTALL_SO_NO_EXE", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Install .so files without execute permission." + } + ], + "type" : "INTERNAL", + "value" : "0" + }, + { + "name" : "CMAKE_LINKER", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/ld" + }, + { + "name" : "CMAKE_MAKE_PROGRAM", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/gmake" + }, + { + "name" : "CMAKE_MODULE_LINKER_FLAGS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of modules during all build types." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_MODULE_LINKER_FLAGS_DEBUG", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of modules during DEBUG builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of modules during MINSIZEREL builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_MODULE_LINKER_FLAGS_RELEASE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of modules during RELEASE builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of modules during RELWITHDEBINFO builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_NM", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/nm" + }, + { + "name" : "CMAKE_NUMBER_OF_MAKEFILES", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "number of local generators" + } + ], + "type" : "INTERNAL", + "value" : "4" + }, + { + "name" : "CMAKE_OBJCOPY", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/objcopy" + }, + { + "name" : "CMAKE_OBJDUMP", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/objdump" + }, + { + "name" : "CMAKE_PLATFORM_INFO_INITIALIZED", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Platform information initialized" + } + ], + "type" : "INTERNAL", + "value" : "1" + }, + { + "name" : "CMAKE_PROJECT_DESCRIPTION", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "" + }, + { + "name" : "CMAKE_PROJECT_HOMEPAGE_URL", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "" + }, + { + "name" : "CMAKE_PROJECT_NAME", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "MyProject" + }, + { + "name" : "CMAKE_RANLIB", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/ranlib" + }, + { + "name" : "CMAKE_READELF", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/readelf" + }, + { + "name" : "CMAKE_ROOT", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Path to CMake installation." + } + ], + "type" : "INTERNAL", + "value" : "/usr/share/cmake" + }, + { + "name" : "CMAKE_SHARED_LINKER_FLAGS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of shared libraries during all build types." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_SHARED_LINKER_FLAGS_DEBUG", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of shared libraries during DEBUG builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of shared libraries during MINSIZEREL builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_SHARED_LINKER_FLAGS_RELEASE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of shared libraries during RELEASE builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of shared libraries during RELWITHDEBINFO builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_SKIP_INSTALL_RPATH", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "If set, runtime paths are not added when installing shared libraries, but are added when building." + } + ], + "type" : "BOOL", + "value" : "NO" + }, + { + "name" : "CMAKE_SKIP_RPATH", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "If set, runtime paths are not added when using shared libraries." + } + ], + "type" : "BOOL", + "value" : "NO" + }, + { + "name" : "CMAKE_STATIC_LINKER_FLAGS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of static libraries during all build types." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_STATIC_LINKER_FLAGS_DEBUG", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of static libraries during DEBUG builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of static libraries during MINSIZEREL builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_STATIC_LINKER_FLAGS_RELEASE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of static libraries during RELEASE builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of static libraries during RELWITHDEBINFO builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_STRIP", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/strip" + }, + { + "name" : "CMAKE_UNAME", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "uname command" + } + ], + "type" : "INTERNAL", + "value" : "/usr/bin/uname" + }, + { + "name" : "CMAKE_VERBOSE_MAKEFILE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "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." + } + ], + "type" : "BOOL", + "value" : "FALSE" + }, + { + "name" : "Demo1_BINARY_DIR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "/root/Git/demo/build/demo1" + }, + { + "name" : "Demo1_IS_TOP_LEVEL", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "OFF" + }, + { + "name" : "Demo1_SOURCE_DIR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "/root/Git/demo/demo1" + }, + { + "name" : "Demo2_BINARY_DIR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "/root/Git/demo/build/demo2" + }, + { + "name" : "Demo2_IS_TOP_LEVEL", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "OFF" + }, + { + "name" : "Demo2_SOURCE_DIR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "/root/Git/demo/demo2" + }, + { + "name" : "MyProject_BINARY_DIR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "/root/Git/demo/build" + }, + { + "name" : "MyProject_IS_TOP_LEVEL", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "ON" + }, + { + "name" : "MyProject_SOURCE_DIR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "/root/Git/demo" + }, + { + "name" : "_CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "linker supports push/pop state" + } + ], + "type" : "INTERNAL", + "value" : "TRUE" + }, + { + "name" : "maat_BINARY_DIR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "/root/Git/demo/build/matt" + }, + { + "name" : "maat_IS_TOP_LEVEL", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "OFF" + }, + { + "name" : "maat_SOURCE_DIR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "/root/Git/demo/matt" + } + ], + "kind" : "cache", + "version" : + { + "major" : 2, + "minor" : 0 + } +} diff --git a/build/.cmake/api/v1/reply/cmakeFiles-v1-0370241398768e88a209.json b/build/.cmake/api/v1/reply/cmakeFiles-v1-0370241398768e88a209.json new file mode 100644 index 0000000..4006b98 --- /dev/null +++ b/build/.cmake/api/v1/reply/cmakeFiles-v1-0370241398768e88a209.json @@ -0,0 +1,145 @@ +{ + "inputs" : + [ + { + "path" : "CMakeLists.txt" + }, + { + "isGenerated" : true, + "path" : "build/CMakeFiles/3.26.5/CMakeSystem.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/usr/share/cmake/Modules/CMakeSystemSpecificInitialize.cmake" + }, + { + "isGenerated" : true, + "path" : "build/CMakeFiles/3.26.5/CMakeCCompiler.cmake" + }, + { + "isGenerated" : true, + "path" : "build/CMakeFiles/3.26.5/CMakeCXXCompiler.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/usr/share/cmake/Modules/CMakeSystemSpecificInformation.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/usr/share/cmake/Modules/CMakeGenericSystem.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/usr/share/cmake/Modules/CMakeInitializeConfigs.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/usr/share/cmake/Modules/Platform/Linux.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/usr/share/cmake/Modules/Platform/UnixPaths.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/usr/share/cmake/Modules/CMakeCInformation.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/usr/share/cmake/Modules/CMakeLanguageInformation.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/usr/share/cmake/Modules/Compiler/GNU-C.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/usr/share/cmake/Modules/Compiler/GNU.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/usr/share/cmake/Modules/Platform/Linux-GNU-C.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/usr/share/cmake/Modules/Platform/Linux-GNU.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/usr/share/cmake/Modules/CMakeCommonLanguageInclude.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/usr/share/cmake/Modules/CMakeCXXInformation.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/usr/share/cmake/Modules/CMakeLanguageInformation.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/usr/share/cmake/Modules/Compiler/GNU-CXX.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/usr/share/cmake/Modules/Compiler/GNU.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/usr/share/cmake/Modules/Platform/Linux-GNU-CXX.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/usr/share/cmake/Modules/Platform/Linux-GNU.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/usr/share/cmake/Modules/CMakeCommonLanguageInclude.cmake" + }, + { + "path" : "demo1/CMakeLists.txt" + }, + { + "path" : "demo2/CMakeLists.txt" + }, + { + "path" : "matt/CMakeLists.txt" + } + ], + "kind" : "cmakeFiles", + "paths" : + { + "build" : "/root/Git/demo/build", + "source" : "/root/Git/demo" + }, + "version" : + { + "major" : 1, + "minor" : 0 + } +} diff --git a/build/.cmake/api/v1/reply/codemodel-v2-7443924ae294a8508ed0.json b/build/.cmake/api/v1/reply/codemodel-v2-7443924ae294a8508ed0.json new file mode 100644 index 0000000..e19d9b3 --- /dev/null +++ b/build/.cmake/api/v1/reply/codemodel-v2-7443924ae294a8508ed0.json @@ -0,0 +1,159 @@ +{ + "configurations" : + [ + { + "directories" : + [ + { + "build" : ".", + "childIndexes" : + [ + 1, + 2, + 3 + ], + "jsonFile" : "directory-.-Debug-f5ebdc15457944623624.json", + "minimumCMakeVersion" : + { + "string" : "3.10" + }, + "projectIndex" : 0, + "source" : "." + }, + { + "build" : "demo1", + "jsonFile" : "directory-demo1-Debug-afc0378f5fc55573f7ad.json", + "minimumCMakeVersion" : + { + "string" : "3.10" + }, + "parentIndex" : 0, + "projectIndex" : 1, + "source" : "demo1", + "targetIndexes" : + [ + 0 + ] + }, + { + "build" : "demo2", + "jsonFile" : "directory-demo2-Debug-02366f60116917dfeb97.json", + "minimumCMakeVersion" : + { + "string" : "3.10" + }, + "parentIndex" : 0, + "projectIndex" : 2, + "source" : "demo2", + "targetIndexes" : + [ + 1 + ] + }, + { + "build" : "matt", + "jsonFile" : "directory-matt-Debug-deb8920de8562baf6e09.json", + "minimumCMakeVersion" : + { + "string" : "3.10" + }, + "parentIndex" : 0, + "projectIndex" : 3, + "source" : "matt", + "targetIndexes" : + [ + 2 + ] + } + ], + "name" : "Debug", + "projects" : + [ + { + "childIndexes" : + [ + 1, + 2, + 3 + ], + "directoryIndexes" : + [ + 0 + ], + "name" : "MyProject" + }, + { + "directoryIndexes" : + [ + 1 + ], + "name" : "Demo1", + "parentIndex" : 0, + "targetIndexes" : + [ + 0 + ] + }, + { + "directoryIndexes" : + [ + 2 + ], + "name" : "Demo2", + "parentIndex" : 0, + "targetIndexes" : + [ + 1 + ] + }, + { + "directoryIndexes" : + [ + 3 + ], + "name" : "maat", + "parentIndex" : 0, + "targetIndexes" : + [ + 2 + ] + } + ], + "targets" : + [ + { + "directoryIndex" : 1, + "id" : "Demo1::@2e4d1c325edd2030c738", + "jsonFile" : "target-Demo1-Debug-7cc44388b56620017ca8.json", + "name" : "Demo1", + "projectIndex" : 1 + }, + { + "directoryIndex" : 2, + "id" : "Demo2::@b55165302732da4498f2", + "jsonFile" : "target-Demo2-Debug-e217036f4a8d6fd35795.json", + "name" : "Demo2", + "projectIndex" : 2 + }, + { + "directoryIndex" : 3, + "id" : "maat::@df8a535218c4af5b545b", + "jsonFile" : "target-maat-Debug-2174f4a39137783d9bdc.json", + "name" : "maat", + "projectIndex" : 3 + } + ] + } + ], + "kind" : "codemodel", + "paths" : + { + "build" : "/root/Git/demo/build", + "source" : "/root/Git/demo" + }, + "version" : + { + "major" : 2, + "minor" : 5 + } +} diff --git a/build/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json b/build/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json new file mode 100644 index 0000000..3a67af9 --- /dev/null +++ b/build/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json @@ -0,0 +1,14 @@ +{ + "backtraceGraph" : + { + "commands" : [], + "files" : [], + "nodes" : [] + }, + "installers" : [], + "paths" : + { + "build" : ".", + "source" : "." + } +} diff --git a/build/.cmake/api/v1/reply/directory-demo1-Debug-afc0378f5fc55573f7ad.json b/build/.cmake/api/v1/reply/directory-demo1-Debug-afc0378f5fc55573f7ad.json new file mode 100644 index 0000000..7313dad --- /dev/null +++ b/build/.cmake/api/v1/reply/directory-demo1-Debug-afc0378f5fc55573f7ad.json @@ -0,0 +1,14 @@ +{ + "backtraceGraph" : + { + "commands" : [], + "files" : [], + "nodes" : [] + }, + "installers" : [], + "paths" : + { + "build" : "demo1", + "source" : "demo1" + } +} diff --git a/build/.cmake/api/v1/reply/directory-demo2-Debug-02366f60116917dfeb97.json b/build/.cmake/api/v1/reply/directory-demo2-Debug-02366f60116917dfeb97.json new file mode 100644 index 0000000..764b462 --- /dev/null +++ b/build/.cmake/api/v1/reply/directory-demo2-Debug-02366f60116917dfeb97.json @@ -0,0 +1,14 @@ +{ + "backtraceGraph" : + { + "commands" : [], + "files" : [], + "nodes" : [] + }, + "installers" : [], + "paths" : + { + "build" : "demo2", + "source" : "demo2" + } +} diff --git a/build/.cmake/api/v1/reply/directory-matt-Debug-deb8920de8562baf6e09.json b/build/.cmake/api/v1/reply/directory-matt-Debug-deb8920de8562baf6e09.json new file mode 100644 index 0000000..4bcc756 --- /dev/null +++ b/build/.cmake/api/v1/reply/directory-matt-Debug-deb8920de8562baf6e09.json @@ -0,0 +1,14 @@ +{ + "backtraceGraph" : + { + "commands" : [], + "files" : [], + "nodes" : [] + }, + "installers" : [], + "paths" : + { + "build" : "matt", + "source" : "matt" + } +} diff --git a/build/.cmake/api/v1/reply/index-2024-04-24T07-13-59-0435.json b/build/.cmake/api/v1/reply/index-2024-04-24T07-13-59-0435.json new file mode 100644 index 0000000..6d64216 --- /dev/null +++ b/build/.cmake/api/v1/reply/index-2024-04-24T07-13-59-0435.json @@ -0,0 +1,165 @@ +{ + "cmake" : + { + "generator" : + { + "multiConfig" : false, + "name" : "Unix Makefiles" + }, + "paths" : + { + "cmake" : "/usr/bin/cmake", + "cpack" : "/usr/bin/cpack", + "ctest" : "/usr/bin/ctest", + "root" : "/usr/share/cmake" + }, + "version" : + { + "isDirty" : false, + "major" : 3, + "minor" : 26, + "patch" : 5, + "string" : "3.26.5", + "suffix" : "" + } + }, + "objects" : + [ + { + "jsonFile" : "codemodel-v2-7443924ae294a8508ed0.json", + "kind" : "codemodel", + "version" : + { + "major" : 2, + "minor" : 5 + } + }, + { + "jsonFile" : "cache-v2-cdd0331164648c300cf2.json", + "kind" : "cache", + "version" : + { + "major" : 2, + "minor" : 0 + } + }, + { + "jsonFile" : "cmakeFiles-v1-0370241398768e88a209.json", + "kind" : "cmakeFiles", + "version" : + { + "major" : 1, + "minor" : 0 + } + }, + { + "jsonFile" : "toolchains-v1-0773755ddd5ae8620655.json", + "kind" : "toolchains", + "version" : + { + "major" : 1, + "minor" : 0 + } + } + ], + "reply" : + { + "client-integration-vscode" : + { + "cache-v2" : + { + "jsonFile" : "cache-v2-cdd0331164648c300cf2.json", + "kind" : "cache", + "version" : + { + "major" : 2, + "minor" : 0 + } + }, + "cmakeFiles-v1" : + { + "jsonFile" : "cmakeFiles-v1-0370241398768e88a209.json", + "kind" : "cmakeFiles", + "version" : + { + "major" : 1, + "minor" : 0 + } + }, + "codemodel-v2" : + { + "jsonFile" : "codemodel-v2-7443924ae294a8508ed0.json", + "kind" : "codemodel", + "version" : + { + "major" : 2, + "minor" : 5 + } + } + }, + "client-vscode" : + { + "query.json" : + { + "requests" : + [ + { + "kind" : "cache", + "version" : 2 + }, + { + "kind" : "codemodel", + "version" : 2 + }, + { + "kind" : "toolchains", + "version" : 1 + }, + { + "kind" : "cmakeFiles", + "version" : 1 + } + ], + "responses" : + [ + { + "jsonFile" : "cache-v2-cdd0331164648c300cf2.json", + "kind" : "cache", + "version" : + { + "major" : 2, + "minor" : 0 + } + }, + { + "jsonFile" : "codemodel-v2-7443924ae294a8508ed0.json", + "kind" : "codemodel", + "version" : + { + "major" : 2, + "minor" : 5 + } + }, + { + "jsonFile" : "toolchains-v1-0773755ddd5ae8620655.json", + "kind" : "toolchains", + "version" : + { + "major" : 1, + "minor" : 0 + } + }, + { + "jsonFile" : "cmakeFiles-v1-0370241398768e88a209.json", + "kind" : "cmakeFiles", + "version" : + { + "major" : 1, + "minor" : 0 + } + } + ] + } + } + } +} diff --git a/build/.cmake/api/v1/reply/target-Demo1-Debug-7cc44388b56620017ca8.json b/build/.cmake/api/v1/reply/target-Demo1-Debug-7cc44388b56620017ca8.json new file mode 100644 index 0000000..a826313 --- /dev/null +++ b/build/.cmake/api/v1/reply/target-Demo1-Debug-7cc44388b56620017ca8.json @@ -0,0 +1,135 @@ +{ + "artifacts" : + [ + { + "path" : "demo1/Demo1" + } + ], + "backtrace" : 1, + "backtraceGraph" : + { + "commands" : + [ + "add_executable", + "link_directories", + "include_directories" + ], + "files" : + [ + "demo1/CMakeLists.txt", + "CMakeLists.txt" + ], + "nodes" : + [ + { + "file" : 0 + }, + { + "command" : 0, + "file" : 0, + "line" : 8, + "parent" : 0 + }, + { + "file" : 1 + }, + { + "command" : 1, + "file" : 1, + "line" : 7, + "parent" : 2 + }, + { + "command" : 2, + "file" : 1, + "line" : 6, + "parent" : 2 + } + ] + }, + "compileGroups" : + [ + { + "compileCommandFragments" : + [ + { + "fragment" : "-g" + } + ], + "includes" : + [ + { + "backtrace" : 4, + "path" : "/opt/MESA/include/MESA" + } + ], + "language" : "C", + "sourceIndexes" : + [ + 0 + ] + } + ], + "id" : "Demo1::@2e4d1c325edd2030c738", + "link" : + { + "commandFragments" : + [ + { + "fragment" : "-g", + "role" : "flags" + }, + { + "fragment" : "", + "role" : "flags" + }, + { + "backtrace" : 3, + "fragment" : "-L/opt/MESA/lib", + "role" : "libraryPath" + }, + { + "fragment" : "-Wl,-rpath,/opt/MESA/lib", + "role" : "libraries" + }, + { + "backtrace" : 1, + "fragment" : "-lmaatframe", + "role" : "libraries" + }, + { + "backtrace" : 1, + "fragment" : "-lfieldstat4", + "role" : "libraries" + } + ], + "language" : "C" + }, + "name" : "Demo1", + "nameOnDisk" : "Demo1", + "paths" : + { + "build" : "demo1", + "source" : "demo1" + }, + "sourceGroups" : + [ + { + "name" : "Source Files", + "sourceIndexes" : + [ + 0 + ] + } + ], + "sources" : + [ + { + "backtrace" : 1, + "compileGroupIndex" : 0, + "path" : "demo1/main.c", + "sourceGroupIndex" : 0 + } + ], + "type" : "EXECUTABLE" +} diff --git a/build/.cmake/api/v1/reply/target-Demo2-Debug-e217036f4a8d6fd35795.json b/build/.cmake/api/v1/reply/target-Demo2-Debug-e217036f4a8d6fd35795.json new file mode 100644 index 0000000..1f378e9 --- /dev/null +++ b/build/.cmake/api/v1/reply/target-Demo2-Debug-e217036f4a8d6fd35795.json @@ -0,0 +1,135 @@ +{ + "artifacts" : + [ + { + "path" : "demo2/Demo2" + } + ], + "backtrace" : 1, + "backtraceGraph" : + { + "commands" : + [ + "add_executable", + "link_directories", + "include_directories" + ], + "files" : + [ + "demo2/CMakeLists.txt", + "CMakeLists.txt" + ], + "nodes" : + [ + { + "file" : 0 + }, + { + "command" : 0, + "file" : 0, + "line" : 8, + "parent" : 0 + }, + { + "file" : 1 + }, + { + "command" : 1, + "file" : 1, + "line" : 7, + "parent" : 2 + }, + { + "command" : 2, + "file" : 1, + "line" : 6, + "parent" : 2 + } + ] + }, + "compileGroups" : + [ + { + "compileCommandFragments" : + [ + { + "fragment" : "-g" + } + ], + "includes" : + [ + { + "backtrace" : 4, + "path" : "/opt/MESA/include/MESA" + } + ], + "language" : "C", + "sourceIndexes" : + [ + 0 + ] + } + ], + "id" : "Demo2::@b55165302732da4498f2", + "link" : + { + "commandFragments" : + [ + { + "fragment" : "-g", + "role" : "flags" + }, + { + "fragment" : "", + "role" : "flags" + }, + { + "backtrace" : 3, + "fragment" : "-L/opt/MESA/lib", + "role" : "libraryPath" + }, + { + "fragment" : "-Wl,-rpath,/opt/MESA/lib", + "role" : "libraries" + }, + { + "backtrace" : 1, + "fragment" : "-lmaatframe", + "role" : "libraries" + }, + { + "backtrace" : 1, + "fragment" : "-lfieldstat4", + "role" : "libraries" + } + ], + "language" : "C" + }, + "name" : "Demo2", + "nameOnDisk" : "Demo2", + "paths" : + { + "build" : "demo2", + "source" : "demo2" + }, + "sourceGroups" : + [ + { + "name" : "Source Files", + "sourceIndexes" : + [ + 0 + ] + } + ], + "sources" : + [ + { + "backtrace" : 1, + "compileGroupIndex" : 0, + "path" : "demo2/main.c", + "sourceGroupIndex" : 0 + } + ], + "type" : "EXECUTABLE" +} diff --git a/build/.cmake/api/v1/reply/target-maat-Debug-2174f4a39137783d9bdc.json b/build/.cmake/api/v1/reply/target-maat-Debug-2174f4a39137783d9bdc.json new file mode 100644 index 0000000..19d10d6 --- /dev/null +++ b/build/.cmake/api/v1/reply/target-maat-Debug-2174f4a39137783d9bdc.json @@ -0,0 +1,135 @@ +{ + "artifacts" : + [ + { + "path" : "matt/maat" + } + ], + "backtrace" : 1, + "backtraceGraph" : + { + "commands" : + [ + "add_executable", + "link_directories", + "include_directories" + ], + "files" : + [ + "matt/CMakeLists.txt", + "CMakeLists.txt" + ], + "nodes" : + [ + { + "file" : 0 + }, + { + "command" : 0, + "file" : 0, + "line" : 8, + "parent" : 0 + }, + { + "file" : 1 + }, + { + "command" : 1, + "file" : 1, + "line" : 7, + "parent" : 2 + }, + { + "command" : 2, + "file" : 1, + "line" : 6, + "parent" : 2 + } + ] + }, + "compileGroups" : + [ + { + "compileCommandFragments" : + [ + { + "fragment" : "-g" + } + ], + "includes" : + [ + { + "backtrace" : 4, + "path" : "/opt/MESA/include/MESA" + } + ], + "language" : "C", + "sourceIndexes" : + [ + 0 + ] + } + ], + "id" : "maat::@df8a535218c4af5b545b", + "link" : + { + "commandFragments" : + [ + { + "fragment" : "-g", + "role" : "flags" + }, + { + "fragment" : "", + "role" : "flags" + }, + { + "backtrace" : 3, + "fragment" : "-L/opt/MESA/lib", + "role" : "libraryPath" + }, + { + "fragment" : "-Wl,-rpath,/opt/MESA/lib", + "role" : "libraries" + }, + { + "backtrace" : 1, + "fragment" : "-lmaatframe", + "role" : "libraries" + }, + { + "backtrace" : 1, + "fragment" : "-lfieldstat4", + "role" : "libraries" + } + ], + "language" : "C" + }, + "name" : "maat", + "nameOnDisk" : "maat", + "paths" : + { + "build" : "matt", + "source" : "matt" + }, + "sourceGroups" : + [ + { + "name" : "Source Files", + "sourceIndexes" : + [ + 0 + ] + } + ], + "sources" : + [ + { + "backtrace" : 1, + "compileGroupIndex" : 0, + "path" : "matt/main.c", + "sourceGroupIndex" : 0 + } + ], + "type" : "EXECUTABLE" +} diff --git a/build/.cmake/api/v1/reply/toolchains-v1-0773755ddd5ae8620655.json b/build/.cmake/api/v1/reply/toolchains-v1-0773755ddd5ae8620655.json new file mode 100644 index 0000000..7209de9 --- /dev/null +++ b/build/.cmake/api/v1/reply/toolchains-v1-0773755ddd5ae8620655.json @@ -0,0 +1,103 @@ +{ + "kind" : "toolchains", + "toolchains" : + [ + { + "compiler" : + { + "id" : "GNU", + "implicit" : + { + "includeDirectories" : + [ + "/usr/lib/gcc/x86_64-redhat-linux/8/include", + "/usr/local/include", + "/usr/include" + ], + "linkDirectories" : + [ + "/usr/lib/gcc/x86_64-redhat-linux/8", + "/usr/lib64", + "/lib64", + "/usr/lib" + ], + "linkFrameworkDirectories" : [], + "linkLibraries" : + [ + "gcc", + "gcc_s", + "c", + "gcc", + "gcc_s" + ] + }, + "path" : "/usr/bin/gcc", + "version" : "8.5.0" + }, + "language" : "C", + "sourceFileExtensions" : + [ + "c", + "m" + ] + }, + { + "compiler" : + { + "id" : "GNU", + "implicit" : + { + "includeDirectories" : + [ + "/usr/include/c++/8", + "/usr/include/c++/8/x86_64-redhat-linux", + "/usr/include/c++/8/backward", + "/usr/lib/gcc/x86_64-redhat-linux/8/include", + "/usr/local/include", + "/usr/include" + ], + "linkDirectories" : + [ + "/usr/lib/gcc/x86_64-redhat-linux/8", + "/usr/lib64", + "/lib64", + "/usr/lib" + ], + "linkFrameworkDirectories" : [], + "linkLibraries" : + [ + "stdc++", + "m", + "gcc_s", + "gcc", + "c", + "gcc_s", + "gcc" + ] + }, + "path" : "/usr/bin/g++", + "version" : "8.5.0" + }, + "language" : "CXX", + "sourceFileExtensions" : + [ + "C", + "M", + "c++", + "cc", + "cpp", + "cxx", + "mm", + "mpp", + "CPP", + "ixx", + "cppm" + ] + } + ], + "version" : + { + "major" : 1, + "minor" : 0 + } +} diff --git a/build/CMakeCache.txt b/build/CMakeCache.txt new file mode 100644 index 0000000..156af9b --- /dev/null +++ b/build/CMakeCache.txt @@ -0,0 +1,400 @@ +# This is the CMakeCache file. +# For build in directory: /root/Git/demo/build +# It was generated by CMake: /usr/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 +######################## + +//Path to a program. +CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line + +//Path to a program. +CMAKE_AR:FILEPATH=/usr/bin/ar + +//No help, variable specified on the command line. +CMAKE_BUILD_TYPE:STRING=Debug + +//Enable/Disable color output during build. +CMAKE_COLOR_MAKEFILE:BOOL=ON + +//No help, variable specified on the command line. +CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++ + +//A wrapper around 'ar' adding the appropriate '--plugin' option +// for the GCC compiler +CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar + +//A wrapper around 'ranlib' adding the appropriate '--plugin' option +// for the GCC compiler +CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib + +//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 + +//No help, variable specified on the command line. +CMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc + +//A wrapper around 'ar' adding the appropriate '--plugin' option +// for the GCC compiler +CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar + +//A wrapper around 'ranlib' adding the appropriate '--plugin' option +// for the GCC compiler +CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib + +//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= + +//No help, variable specified on the command line. +CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE + +//Value Computed by CMake. +CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/root/Git/demo/build/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 + +//Path to a program. +CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake + +//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=MyProject + +//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 + +//Value Computed by CMake +Demo1_BINARY_DIR:STATIC=/root/Git/demo/build/demo1 + +//Value Computed by CMake +Demo1_IS_TOP_LEVEL:STATIC=OFF + +//Value Computed by CMake +Demo1_SOURCE_DIR:STATIC=/root/Git/demo/demo1 + +//Value Computed by CMake +Demo2_BINARY_DIR:STATIC=/root/Git/demo/build/demo2 + +//Value Computed by CMake +Demo2_IS_TOP_LEVEL:STATIC=OFF + +//Value Computed by CMake +Demo2_SOURCE_DIR:STATIC=/root/Git/demo/demo2 + +//Value Computed by CMake +MyProject_BINARY_DIR:STATIC=/root/Git/demo/build + +//Value Computed by CMake +MyProject_IS_TOP_LEVEL:STATIC=ON + +//Value Computed by CMake +MyProject_SOURCE_DIR:STATIC=/root/Git/demo + +//Value Computed by CMake +maat_BINARY_DIR:STATIC=/root/Git/demo/build/matt + +//Value Computed by CMake +maat_IS_TOP_LEVEL:STATIC=OFF + +//Value Computed by CMake +maat_SOURCE_DIR:STATIC=/root/Git/demo/matt + + +######################## +# 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=/root/Git/demo/build +//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=26 +//Patch version of cmake used to create the current loaded cache +CMAKE_CACHE_PATCH_VERSION:INTERNAL=5 +//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE +CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1 +//Path to CMake executable. +CMAKE_COMMAND:INTERNAL=/usr/bin/cmake +//Path to cpack program executable. +CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack +//Path to ctest program executable. +CMAKE_CTEST_COMMAND:INTERNAL=/usr/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 +//Path to cache edit program executable. +CMAKE_EDIT_COMMAND:INTERNAL=/usr/bin/ccmake +//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 +//Name of external makefile project generator. +CMAKE_EXTRA_GENERATOR:INTERNAL= +//Name of generator. +CMAKE_GENERATOR:INTERNAL=Unix Makefiles +//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=/root/Git/demo +//Install .so files without execute permission. +CMAKE_INSTALL_SO_NO_EXE:INTERNAL=0 +//ADVANCED property for variable: CMAKE_LINKER +CMAKE_LINKER-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MAKE_PROGRAM +CMAKE_MAKE_PROGRAM-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=4 +//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=/usr/share/cmake +//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 +//linker supports push/pop state +_CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE + diff --git a/build/CMakeFiles/3.26.5/CMakeCCompiler.cmake b/build/CMakeFiles/3.26.5/CMakeCCompiler.cmake new file mode 100644 index 0000000..fb0ae9a --- /dev/null +++ b/build/CMakeFiles/3.26.5/CMakeCCompiler.cmake @@ -0,0 +1,72 @@ +set(CMAKE_C_COMPILER "/usr/bin/gcc") +set(CMAKE_C_COMPILER_ARG1 "") +set(CMAKE_C_COMPILER_ID "GNU") +set(CMAKE_C_COMPILER_VERSION "8.5.0") +set(CMAKE_C_COMPILER_VERSION_INTERNAL "") +set(CMAKE_C_COMPILER_WRAPPER "") +set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "17") +set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "ON") +set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert;c_std_17") +set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes") +set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros") +set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert") +set(CMAKE_C17_COMPILE_FEATURES "c_std_17") +set(CMAKE_C23_COMPILE_FEATURES "") + +set(CMAKE_C_PLATFORM_ID "Linux") +set(CMAKE_C_SIMULATE_ID "") +set(CMAKE_C_COMPILER_FRONTEND_VARIANT "GNU") +set(CMAKE_C_SIMULATE_VERSION "") + + + + +set(CMAKE_AR "/usr/bin/ar") +set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar") +set(CMAKE_RANLIB "/usr/bin/ranlib") +set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib") +set(CMAKE_LINKER "/usr/bin/ld") +set(CMAKE_MT "") +set(CMAKE_COMPILER_IS_GNUCC 1) +set(CMAKE_C_COMPILER_LOADED 1) +set(CMAKE_C_COMPILER_WORKS TRUE) +set(CMAKE_C_ABI_COMPILED TRUE) + +set(CMAKE_C_COMPILER_ENV_VAR "CC") + +set(CMAKE_C_COMPILER_ID_RUN 1) +set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) +set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) +set(CMAKE_C_LINKER_PREFERENCE 10) + +# Save compiler ABI information. +set(CMAKE_C_SIZEOF_DATA_PTR "8") +set(CMAKE_C_COMPILER_ABI "ELF") +set(CMAKE_C_BYTE_ORDER "LITTLE_ENDIAN") +set(CMAKE_C_LIBRARY_ARCHITECTURE "") + +if(CMAKE_C_SIZEOF_DATA_PTR) + set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") +endif() + +if(CMAKE_C_COMPILER_ABI) + set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") +endif() + +if(CMAKE_C_LIBRARY_ARCHITECTURE) + set(CMAKE_LIBRARY_ARCHITECTURE "") +endif() + +set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") +if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) + set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") +endif() + + + + + +set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/usr/lib/gcc/x86_64-redhat-linux/8/include;/usr/local/include;/usr/include") +set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s") +set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-redhat-linux/8;/usr/lib64;/lib64;/usr/lib") +set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/build/CMakeFiles/3.26.5/CMakeCXXCompiler.cmake b/build/CMakeFiles/3.26.5/CMakeCXXCompiler.cmake new file mode 100644 index 0000000..f9e8d08 --- /dev/null +++ b/build/CMakeFiles/3.26.5/CMakeCXXCompiler.cmake @@ -0,0 +1,83 @@ +set(CMAKE_CXX_COMPILER "/usr/bin/g++") +set(CMAKE_CXX_COMPILER_ARG1 "") +set(CMAKE_CXX_COMPILER_ID "GNU") +set(CMAKE_CXX_COMPILER_VERSION "8.5.0") +set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") +set(CMAKE_CXX_COMPILER_WRAPPER "") +set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") +set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "ON") +set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20") +set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters") +set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates") +set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates") +set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17") +set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20") +set(CMAKE_CXX23_COMPILE_FEATURES "") + +set(CMAKE_CXX_PLATFORM_ID "Linux") +set(CMAKE_CXX_SIMULATE_ID "") +set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "GNU") +set(CMAKE_CXX_SIMULATE_VERSION "") + + + + +set(CMAKE_AR "/usr/bin/ar") +set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar") +set(CMAKE_RANLIB "/usr/bin/ranlib") +set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib") +set(CMAKE_LINKER "/usr/bin/ld") +set(CMAKE_MT "") +set(CMAKE_COMPILER_IS_GNUCXX 1) +set(CMAKE_CXX_COMPILER_LOADED 1) +set(CMAKE_CXX_COMPILER_WORKS TRUE) +set(CMAKE_CXX_ABI_COMPILED TRUE) + +set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") + +set(CMAKE_CXX_COMPILER_ID_RUN 1) +set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm) +set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) + +foreach (lang C OBJC OBJCXX) + if (CMAKE_${lang}_COMPILER_ID_RUN) + foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) + list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) + endforeach() + endif() +endforeach() + +set(CMAKE_CXX_LINKER_PREFERENCE 30) +set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) + +# Save compiler ABI information. +set(CMAKE_CXX_SIZEOF_DATA_PTR "8") +set(CMAKE_CXX_COMPILER_ABI "ELF") +set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN") +set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") + +if(CMAKE_CXX_SIZEOF_DATA_PTR) + set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") +endif() + +if(CMAKE_CXX_COMPILER_ABI) + set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") +endif() + +if(CMAKE_CXX_LIBRARY_ARCHITECTURE) + set(CMAKE_LIBRARY_ARCHITECTURE "") +endif() + +set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "") +if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) + set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") +endif() + + + + + +set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/usr/include/c++/8;/usr/include/c++/8/x86_64-redhat-linux;/usr/include/c++/8/backward;/usr/lib/gcc/x86_64-redhat-linux/8/include;/usr/local/include;/usr/include") +set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc") +set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-redhat-linux/8;/usr/lib64;/lib64;/usr/lib") +set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/build/CMakeFiles/3.26.5/CMakeDetermineCompilerABI_C.bin b/build/CMakeFiles/3.26.5/CMakeDetermineCompilerABI_C.bin Binary files differnew file mode 100755 index 0000000..8dd1a00 --- /dev/null +++ b/build/CMakeFiles/3.26.5/CMakeDetermineCompilerABI_C.bin diff --git a/build/CMakeFiles/3.26.5/CMakeDetermineCompilerABI_CXX.bin b/build/CMakeFiles/3.26.5/CMakeDetermineCompilerABI_CXX.bin Binary files differnew file mode 100755 index 0000000..b3e520c --- /dev/null +++ b/build/CMakeFiles/3.26.5/CMakeDetermineCompilerABI_CXX.bin diff --git a/build/CMakeFiles/3.26.5/CMakeSystem.cmake b/build/CMakeFiles/3.26.5/CMakeSystem.cmake new file mode 100644 index 0000000..db03453 --- /dev/null +++ b/build/CMakeFiles/3.26.5/CMakeSystem.cmake @@ -0,0 +1,15 @@ +set(CMAKE_HOST_SYSTEM "Linux-4.18.0-513.5.1.el8_9.x86_64") +set(CMAKE_HOST_SYSTEM_NAME "Linux") +set(CMAKE_HOST_SYSTEM_VERSION "4.18.0-513.5.1.el8_9.x86_64") +set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") + + + +set(CMAKE_SYSTEM "Linux-4.18.0-513.5.1.el8_9.x86_64") +set(CMAKE_SYSTEM_NAME "Linux") +set(CMAKE_SYSTEM_VERSION "4.18.0-513.5.1.el8_9.x86_64") +set(CMAKE_SYSTEM_PROCESSOR "x86_64") + +set(CMAKE_CROSSCOMPILING "FALSE") + +set(CMAKE_SYSTEM_LOADED 1) diff --git a/build/CMakeFiles/3.26.5/CompilerIdC/CMakeCCompilerId.c b/build/CMakeFiles/3.26.5/CompilerIdC/CMakeCCompilerId.c new file mode 100644 index 0000000..66be365 --- /dev/null +++ b/build/CMakeFiles/3.26.5/CompilerIdC/CMakeCCompilerId.c @@ -0,0 +1,866 @@ +#ifdef __cplusplus +# error "A C++ compiler has been selected for C." +#endif + +#if defined(__18CXX) +# define ID_VOID_MAIN +#endif +#if defined(__CLASSIC_C__) +/* cv-qualifiers did not exist in K&R C */ +# define const +# define volatile +#endif + +#if !defined(__has_include) +/* If the compiler does not have __has_include, pretend the answer is + always no. */ +# define __has_include(x) 0 +#endif + + +/* Version number components: V=Version, R=Revision, P=Patch + Version date components: YYYY=Year, MM=Month, DD=Day */ + +#if defined(__INTEL_COMPILER) || defined(__ICC) +# define COMPILER_ID "Intel" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# if defined(__GNUC__) +# define SIMULATE_ID "GNU" +# endif + /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later, + except that a few beta releases use the old format with V=2021. */ +# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111 +# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) +# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) +# if defined(__INTEL_COMPILER_UPDATE) +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) +# else +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) +# endif +# else +# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER) +# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE) + /* The third version component from --version is an update index, + but no macro is provided for it. */ +# define COMPILER_VERSION_PATCH DEC(0) +# endif +# if defined(__INTEL_COMPILER_BUILD_DATE) + /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ +# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) +# endif +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif +# if defined(__GNUC__) +# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) +# elif defined(__GNUG__) +# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) +# endif +# if defined(__GNUC_MINOR__) +# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) +# endif +# if defined(__GNUC_PATCHLEVEL__) +# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +# endif + +#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER) +# define COMPILER_ID "IntelLLVM" +#if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +#endif +#if defined(__GNUC__) +# define SIMULATE_ID "GNU" +#endif +/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and + * later. Look for 6 digit vs. 8 digit version number to decide encoding. + * VVVV is no smaller than the current year when a version is released. + */ +#if __INTEL_LLVM_COMPILER < 1000000L +# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100) +# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10) +#else +# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000) +# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100) +# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100) +#endif +#if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +#endif +#if defined(__GNUC__) +# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) +#elif defined(__GNUG__) +# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) +#endif +#if defined(__GNUC_MINOR__) +# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) +#endif +#if defined(__GNUC_PATCHLEVEL__) +# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +#endif + +#elif defined(__PATHCC__) +# define COMPILER_ID "PathScale" +# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) +# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) +# if defined(__PATHCC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) +# endif + +#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) +# define COMPILER_ID "Embarcadero" +# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) +# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) +# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) + +#elif defined(__BORLANDC__) +# define COMPILER_ID "Borland" + /* __BORLANDC__ = 0xVRR */ +# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) +# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) + +#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 +# define COMPILER_ID "Watcom" + /* __WATCOMC__ = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__WATCOMC__) +# define COMPILER_ID "OpenWatcom" + /* __WATCOMC__ = VVRP + 1100 */ +# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__SUNPRO_C) +# define COMPILER_ID "SunPro" +# if __SUNPRO_C >= 0x5100 + /* __SUNPRO_C = 0xVRRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) +# else + /* __SUNPRO_CC = 0xVRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) +# endif + +#elif defined(__HP_cc) +# define COMPILER_ID "HP" + /* __HP_cc = VVRRPP */ +# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000) +# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100) +# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100) + +#elif defined(__DECC) +# define COMPILER_ID "Compaq" + /* __DECC_VER = VVRRTPPPP */ +# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000) +# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100) +# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000) + +#elif defined(__IBMC__) && defined(__COMPILER_VER__) +# define COMPILER_ID "zOS" + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) + +#elif defined(__open_xl__) && defined(__clang__) +# define COMPILER_ID "IBMClang" +# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__) +# define COMPILER_VERSION_MINOR DEC(__open_xl_release__) +# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__) +# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__) + + +#elif defined(__ibmxl__) && defined(__clang__) +# define COMPILER_ID "XLClang" +# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) +# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) +# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) +# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) + + +#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800 +# define COMPILER_ID "XL" + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) + +#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800 +# define COMPILER_ID "VisualAge" + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) + +#elif defined(__NVCOMPILER) +# define COMPILER_ID "NVHPC" +# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) +# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) +# if defined(__NVCOMPILER_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) +# endif + +#elif defined(__PGI) +# define COMPILER_ID "PGI" +# define COMPILER_VERSION_MAJOR DEC(__PGIC__) +# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) +# if defined(__PGIC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) +# endif + +#elif defined(_CRAYC) +# define COMPILER_ID "Cray" +# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) +# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) + +#elif defined(__TI_COMPILER_VERSION__) +# define COMPILER_ID "TI" + /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ +# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) +# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) +# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) + +#elif defined(__CLANG_FUJITSU) +# define COMPILER_ID "FujitsuClang" +# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) +# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) +# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) +# define COMPILER_VERSION_INTERNAL_STR __clang_version__ + + +#elif defined(__FUJITSU) +# define COMPILER_ID "Fujitsu" +# if defined(__FCC_version__) +# define COMPILER_VERSION __FCC_version__ +# elif defined(__FCC_major__) +# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) +# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) +# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) +# endif +# if defined(__fcc_version) +# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) +# elif defined(__FCC_VERSION) +# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) +# endif + + +#elif defined(__ghs__) +# define COMPILER_ID "GHS" +/* __GHS_VERSION_NUMBER = VVVVRP */ +# ifdef __GHS_VERSION_NUMBER +# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) +# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) +# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) +# endif + +#elif defined(__TASKING__) +# define COMPILER_ID "Tasking" + # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000) + # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100) +# define COMPILER_VERSION_INTERNAL DEC(__VERSION__) + +#elif defined(__TINYC__) +# define COMPILER_ID "TinyCC" + +#elif defined(__BCC__) +# define COMPILER_ID "Bruce" + +#elif defined(__SCO_VERSION__) +# define COMPILER_ID "SCO" + +#elif defined(__ARMCC_VERSION) && !defined(__clang__) +# define COMPILER_ID "ARMCC" +#if __ARMCC_VERSION >= 1000000 + /* __ARMCC_VERSION = VRRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#else + /* __ARMCC_VERSION = VRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#endif + + +#elif defined(__clang__) && defined(__apple_build_version__) +# define COMPILER_ID "AppleClang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif +# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) + +#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) +# define COMPILER_ID "ARMClang" + # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) + # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) + # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100) +# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) + +#elif defined(__clang__) +# define COMPILER_ID "Clang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif + +#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__)) +# define COMPILER_ID "LCC" +# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100) +# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100) +# if defined(__LCC_MINOR__) +# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__) +# endif +# if defined(__GNUC__) && defined(__GNUC_MINOR__) +# define SIMULATE_ID "GNU" +# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) +# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) +# if defined(__GNUC_PATCHLEVEL__) +# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +# endif +# endif + +#elif defined(__GNUC__) +# define COMPILER_ID "GNU" +# define COMPILER_VERSION_MAJOR DEC(__GNUC__) +# if defined(__GNUC_MINOR__) +# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) +# endif +# if defined(__GNUC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +# endif + +#elif defined(_MSC_VER) +# define COMPILER_ID "MSVC" + /* _MSC_VER = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) +# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) +# if defined(_MSC_FULL_VER) +# if _MSC_VER >= 1400 + /* _MSC_FULL_VER = VVRRPPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) +# else + /* _MSC_FULL_VER = VVRRPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) +# endif +# endif +# if defined(_MSC_BUILD) +# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) +# endif + +#elif defined(_ADI_COMPILER) +# define COMPILER_ID "ADSP" +#if defined(__VERSIONNUM__) + /* __VERSIONNUM__ = 0xVVRRPPTT */ +# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF) +# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF) +# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF) +# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF) +#endif + +#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) +# define COMPILER_ID "IAR" +# if defined(__VER__) && defined(__ICCARM__) +# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) +# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) +# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) +# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) +# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) +# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) +# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) +# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) +# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) +# endif + +#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC) +# define COMPILER_ID "SDCC" +# if defined(__SDCC_VERSION_MAJOR) +# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR) +# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR) +# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH) +# else + /* SDCC = VRP */ +# define COMPILER_VERSION_MAJOR DEC(SDCC/100) +# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10) +# define COMPILER_VERSION_PATCH DEC(SDCC % 10) +# endif + + +/* These compilers are either not known or too old to define an + identification macro. Try to identify the platform and guess that + it is the native compiler. */ +#elif defined(__hpux) || defined(__hpua) +# define COMPILER_ID "HP" + +#else /* unknown compiler */ +# define COMPILER_ID "" +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; +#ifdef SIMULATE_ID +char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; +#endif + +#ifdef __QNXNTO__ +char const* qnxnto = "INFO" ":" "qnxnto[]"; +#endif + +#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) +char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; +#endif + +#define STRINGIFY_HELPER(X) #X +#define STRINGIFY(X) STRINGIFY_HELPER(X) + +/* Identify known platforms by name. */ +#if defined(__linux) || defined(__linux__) || defined(linux) +# define PLATFORM_ID "Linux" + +#elif defined(__MSYS__) +# define PLATFORM_ID "MSYS" + +#elif defined(__CYGWIN__) +# define PLATFORM_ID "Cygwin" + +#elif defined(__MINGW32__) +# define PLATFORM_ID "MinGW" + +#elif defined(__APPLE__) +# define PLATFORM_ID "Darwin" + +#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) +# define PLATFORM_ID "Windows" + +#elif defined(__FreeBSD__) || defined(__FreeBSD) +# define PLATFORM_ID "FreeBSD" + +#elif defined(__NetBSD__) || defined(__NetBSD) +# define PLATFORM_ID "NetBSD" + +#elif defined(__OpenBSD__) || defined(__OPENBSD) +# define PLATFORM_ID "OpenBSD" + +#elif defined(__sun) || defined(sun) +# define PLATFORM_ID "SunOS" + +#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) +# define PLATFORM_ID "AIX" + +#elif defined(__hpux) || defined(__hpux__) +# define PLATFORM_ID "HP-UX" + +#elif defined(__HAIKU__) +# define PLATFORM_ID "Haiku" + +#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) +# define PLATFORM_ID "BeOS" + +#elif defined(__QNX__) || defined(__QNXNTO__) +# define PLATFORM_ID "QNX" + +#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) +# define PLATFORM_ID "Tru64" + +#elif defined(__riscos) || defined(__riscos__) +# define PLATFORM_ID "RISCos" + +#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) +# define PLATFORM_ID "SINIX" + +#elif defined(__UNIX_SV__) +# define PLATFORM_ID "UNIX_SV" + +#elif defined(__bsdos__) +# define PLATFORM_ID "BSDOS" + +#elif defined(_MPRAS) || defined(MPRAS) +# define PLATFORM_ID "MP-RAS" + +#elif defined(__osf) || defined(__osf__) +# define PLATFORM_ID "OSF1" + +#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) +# define PLATFORM_ID "SCO_SV" + +#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) +# define PLATFORM_ID "ULTRIX" + +#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) +# define PLATFORM_ID "Xenix" + +#elif defined(__WATCOMC__) +# if defined(__LINUX__) +# define PLATFORM_ID "Linux" + +# elif defined(__DOS__) +# define PLATFORM_ID "DOS" + +# elif defined(__OS2__) +# define PLATFORM_ID "OS2" + +# elif defined(__WINDOWS__) +# define PLATFORM_ID "Windows3x" + +# elif defined(__VXWORKS__) +# define PLATFORM_ID "VxWorks" + +# else /* unknown platform */ +# define PLATFORM_ID +# endif + +#elif defined(__INTEGRITY) +# if defined(INT_178B) +# define PLATFORM_ID "Integrity178" + +# else /* regular Integrity */ +# define PLATFORM_ID "Integrity" +# endif + +# elif defined(_ADI_COMPILER) +# define PLATFORM_ID "ADSP" + +#else /* unknown platform */ +# define PLATFORM_ID + +#endif + +/* For windows compilers MSVC and Intel we can determine + the architecture of the compiler being used. This is because + the compilers do not have flags that can change the architecture, + but rather depend on which compiler is being used +*/ +#if defined(_WIN32) && defined(_MSC_VER) +# if defined(_M_IA64) +# define ARCHITECTURE_ID "IA64" + +# elif defined(_M_ARM64EC) +# define ARCHITECTURE_ID "ARM64EC" + +# elif defined(_M_X64) || defined(_M_AMD64) +# define ARCHITECTURE_ID "x64" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# elif defined(_M_ARM64) +# define ARCHITECTURE_ID "ARM64" + +# elif defined(_M_ARM) +# if _M_ARM == 4 +# define ARCHITECTURE_ID "ARMV4I" +# elif _M_ARM == 5 +# define ARCHITECTURE_ID "ARMV5I" +# else +# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) +# endif + +# elif defined(_M_MIPS) +# define ARCHITECTURE_ID "MIPS" + +# elif defined(_M_SH) +# define ARCHITECTURE_ID "SHx" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__WATCOMC__) +# if defined(_M_I86) +# define ARCHITECTURE_ID "I86" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) +# if defined(__ICCARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__ICCRX__) +# define ARCHITECTURE_ID "RX" + +# elif defined(__ICCRH850__) +# define ARCHITECTURE_ID "RH850" + +# elif defined(__ICCRL78__) +# define ARCHITECTURE_ID "RL78" + +# elif defined(__ICCRISCV__) +# define ARCHITECTURE_ID "RISCV" + +# elif defined(__ICCAVR__) +# define ARCHITECTURE_ID "AVR" + +# elif defined(__ICC430__) +# define ARCHITECTURE_ID "MSP430" + +# elif defined(__ICCV850__) +# define ARCHITECTURE_ID "V850" + +# elif defined(__ICC8051__) +# define ARCHITECTURE_ID "8051" + +# elif defined(__ICCSTM8__) +# define ARCHITECTURE_ID "STM8" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__ghs__) +# if defined(__PPC64__) +# define ARCHITECTURE_ID "PPC64" + +# elif defined(__ppc__) +# define ARCHITECTURE_ID "PPC" + +# elif defined(__ARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__x86_64__) +# define ARCHITECTURE_ID "x64" + +# elif defined(__i386__) +# define ARCHITECTURE_ID "X86" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__TI_COMPILER_VERSION__) +# if defined(__TI_ARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__MSP430__) +# define ARCHITECTURE_ID "MSP430" + +# elif defined(__TMS320C28XX__) +# define ARCHITECTURE_ID "TMS320C28x" + +# elif defined(__TMS320C6X__) || defined(_TMS320C6X) +# define ARCHITECTURE_ID "TMS320C6x" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +# elif defined(__ADSPSHARC__) +# define ARCHITECTURE_ID "SHARC" + +# elif defined(__ADSPBLACKFIN__) +# define ARCHITECTURE_ID "Blackfin" + +#elif defined(__TASKING__) + +# if defined(__CTC__) || defined(__CPTC__) +# define ARCHITECTURE_ID "TriCore" + +# elif defined(__CMCS__) +# define ARCHITECTURE_ID "MCS" + +# elif defined(__CARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__CARC__) +# define ARCHITECTURE_ID "ARC" + +# elif defined(__C51__) +# define ARCHITECTURE_ID "8051" + +# elif defined(__CPCP__) +# define ARCHITECTURE_ID "PCP" + +# else +# define ARCHITECTURE_ID "" +# endif + +#else +# define ARCHITECTURE_ID +#endif + +/* Convert integer to decimal digit literals. */ +#define DEC(n) \ + ('0' + (((n) / 10000000)%10)), \ + ('0' + (((n) / 1000000)%10)), \ + ('0' + (((n) / 100000)%10)), \ + ('0' + (((n) / 10000)%10)), \ + ('0' + (((n) / 1000)%10)), \ + ('0' + (((n) / 100)%10)), \ + ('0' + (((n) / 10)%10)), \ + ('0' + ((n) % 10)) + +/* Convert integer to hex digit literals. */ +#define HEX(n) \ + ('0' + ((n)>>28 & 0xF)), \ + ('0' + ((n)>>24 & 0xF)), \ + ('0' + ((n)>>20 & 0xF)), \ + ('0' + ((n)>>16 & 0xF)), \ + ('0' + ((n)>>12 & 0xF)), \ + ('0' + ((n)>>8 & 0xF)), \ + ('0' + ((n)>>4 & 0xF)), \ + ('0' + ((n) & 0xF)) + +/* Construct a string literal encoding the version number. */ +#ifdef COMPILER_VERSION +char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; + +/* Construct a string literal encoding the version number components. */ +#elif defined(COMPILER_VERSION_MAJOR) +char const info_version[] = { + 'I', 'N', 'F', 'O', ':', + 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', + COMPILER_VERSION_MAJOR, +# ifdef COMPILER_VERSION_MINOR + '.', COMPILER_VERSION_MINOR, +# ifdef COMPILER_VERSION_PATCH + '.', COMPILER_VERSION_PATCH, +# ifdef COMPILER_VERSION_TWEAK + '.', COMPILER_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct a string literal encoding the internal version number. */ +#ifdef COMPILER_VERSION_INTERNAL +char const info_version_internal[] = { + 'I', 'N', 'F', 'O', ':', + 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', + 'i','n','t','e','r','n','a','l','[', + COMPILER_VERSION_INTERNAL,']','\0'}; +#elif defined(COMPILER_VERSION_INTERNAL_STR) +char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; +#endif + +/* Construct a string literal encoding the version number components. */ +#ifdef SIMULATE_VERSION_MAJOR +char const info_simulate_version[] = { + 'I', 'N', 'F', 'O', ':', + 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', + SIMULATE_VERSION_MAJOR, +# ifdef SIMULATE_VERSION_MINOR + '.', SIMULATE_VERSION_MINOR, +# ifdef SIMULATE_VERSION_PATCH + '.', SIMULATE_VERSION_PATCH, +# ifdef SIMULATE_VERSION_TWEAK + '.', SIMULATE_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; +char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; + + + +#if !defined(__STDC__) && !defined(__clang__) +# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__) +# define C_VERSION "90" +# else +# define C_VERSION +# endif +#elif __STDC_VERSION__ > 201710L +# define C_VERSION "23" +#elif __STDC_VERSION__ >= 201710L +# define C_VERSION "17" +#elif __STDC_VERSION__ >= 201000L +# define C_VERSION "11" +#elif __STDC_VERSION__ >= 199901L +# define C_VERSION "99" +#else +# define C_VERSION "90" +#endif +const char* info_language_standard_default = + "INFO" ":" "standard_default[" C_VERSION "]"; + +const char* info_language_extensions_default = "INFO" ":" "extensions_default[" +#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \ + defined(__TI_COMPILER_VERSION__)) && \ + !defined(__STRICT_ANSI__) + "ON" +#else + "OFF" +#endif +"]"; + +/*--------------------------------------------------------------------------*/ + +#ifdef ID_VOID_MAIN +void main() {} +#else +# if defined(__CLASSIC_C__) +int main(argc, argv) int argc; char *argv[]; +# else +int main(int argc, char* argv[]) +# endif +{ + int require = 0; + require += info_compiler[argc]; + require += info_platform[argc]; + require += info_arch[argc]; +#ifdef COMPILER_VERSION_MAJOR + require += info_version[argc]; +#endif +#ifdef COMPILER_VERSION_INTERNAL + require += info_version_internal[argc]; +#endif +#ifdef SIMULATE_ID + require += info_simulate[argc]; +#endif +#ifdef SIMULATE_VERSION_MAJOR + require += info_simulate_version[argc]; +#endif +#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) + require += info_cray[argc]; +#endif + require += info_language_standard_default[argc]; + require += info_language_extensions_default[argc]; + (void)argv; + return require; +} +#endif diff --git a/build/CMakeFiles/3.26.5/CompilerIdC/a.out b/build/CMakeFiles/3.26.5/CompilerIdC/a.out Binary files differnew file mode 100755 index 0000000..854d602 --- /dev/null +++ b/build/CMakeFiles/3.26.5/CompilerIdC/a.out diff --git a/build/CMakeFiles/3.26.5/CompilerIdCXX/CMakeCXXCompilerId.cpp b/build/CMakeFiles/3.26.5/CompilerIdCXX/CMakeCXXCompilerId.cpp new file mode 100644 index 0000000..52d56e2 --- /dev/null +++ b/build/CMakeFiles/3.26.5/CompilerIdCXX/CMakeCXXCompilerId.cpp @@ -0,0 +1,855 @@ +/* This source file must have a .cpp extension so that all C++ compilers + recognize the extension without flags. Borland does not know .cxx for + example. */ +#ifndef __cplusplus +# error "A C compiler has been selected for C++." +#endif + +#if !defined(__has_include) +/* If the compiler does not have __has_include, pretend the answer is + always no. */ +# define __has_include(x) 0 +#endif + + +/* Version number components: V=Version, R=Revision, P=Patch + Version date components: YYYY=Year, MM=Month, DD=Day */ + +#if defined(__COMO__) +# define COMPILER_ID "Comeau" + /* __COMO_VERSION__ = VRR */ +# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100) +# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100) + +#elif defined(__INTEL_COMPILER) || defined(__ICC) +# define COMPILER_ID "Intel" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# if defined(__GNUC__) +# define SIMULATE_ID "GNU" +# endif + /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later, + except that a few beta releases use the old format with V=2021. */ +# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111 +# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) +# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) +# if defined(__INTEL_COMPILER_UPDATE) +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) +# else +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) +# endif +# else +# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER) +# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE) + /* The third version component from --version is an update index, + but no macro is provided for it. */ +# define COMPILER_VERSION_PATCH DEC(0) +# endif +# if defined(__INTEL_COMPILER_BUILD_DATE) + /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ +# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) +# endif +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif +# if defined(__GNUC__) +# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) +# elif defined(__GNUG__) +# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) +# endif +# if defined(__GNUC_MINOR__) +# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) +# endif +# if defined(__GNUC_PATCHLEVEL__) +# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +# endif + +#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER) +# define COMPILER_ID "IntelLLVM" +#if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +#endif +#if defined(__GNUC__) +# define SIMULATE_ID "GNU" +#endif +/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and + * later. Look for 6 digit vs. 8 digit version number to decide encoding. + * VVVV is no smaller than the current year when a version is released. + */ +#if __INTEL_LLVM_COMPILER < 1000000L +# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100) +# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10) +#else +# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000) +# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100) +# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100) +#endif +#if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +#endif +#if defined(__GNUC__) +# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) +#elif defined(__GNUG__) +# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) +#endif +#if defined(__GNUC_MINOR__) +# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) +#endif +#if defined(__GNUC_PATCHLEVEL__) +# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +#endif + +#elif defined(__PATHCC__) +# define COMPILER_ID "PathScale" +# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) +# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) +# if defined(__PATHCC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) +# endif + +#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) +# define COMPILER_ID "Embarcadero" +# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) +# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) +# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) + +#elif defined(__BORLANDC__) +# define COMPILER_ID "Borland" + /* __BORLANDC__ = 0xVRR */ +# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) +# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) + +#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 +# define COMPILER_ID "Watcom" + /* __WATCOMC__ = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__WATCOMC__) +# define COMPILER_ID "OpenWatcom" + /* __WATCOMC__ = VVRP + 1100 */ +# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__SUNPRO_CC) +# define COMPILER_ID "SunPro" +# if __SUNPRO_CC >= 0x5100 + /* __SUNPRO_CC = 0xVRRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) +# else + /* __SUNPRO_CC = 0xVRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) +# endif + +#elif defined(__HP_aCC) +# define COMPILER_ID "HP" + /* __HP_aCC = VVRRPP */ +# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000) +# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100) +# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100) + +#elif defined(__DECCXX) +# define COMPILER_ID "Compaq" + /* __DECCXX_VER = VVRRTPPPP */ +# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000) +# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100) +# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000) + +#elif defined(__IBMCPP__) && defined(__COMPILER_VER__) +# define COMPILER_ID "zOS" + /* __IBMCPP__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) + +#elif defined(__open_xl__) && defined(__clang__) +# define COMPILER_ID "IBMClang" +# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__) +# define COMPILER_VERSION_MINOR DEC(__open_xl_release__) +# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__) +# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__) + + +#elif defined(__ibmxl__) && defined(__clang__) +# define COMPILER_ID "XLClang" +# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) +# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) +# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) +# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) + + +#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800 +# define COMPILER_ID "XL" + /* __IBMCPP__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) + +#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800 +# define COMPILER_ID "VisualAge" + /* __IBMCPP__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) + +#elif defined(__NVCOMPILER) +# define COMPILER_ID "NVHPC" +# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) +# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) +# if defined(__NVCOMPILER_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) +# endif + +#elif defined(__PGI) +# define COMPILER_ID "PGI" +# define COMPILER_VERSION_MAJOR DEC(__PGIC__) +# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) +# if defined(__PGIC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) +# endif + +#elif defined(_CRAYC) +# define COMPILER_ID "Cray" +# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) +# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) + +#elif defined(__TI_COMPILER_VERSION__) +# define COMPILER_ID "TI" + /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ +# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) +# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) +# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) + +#elif defined(__CLANG_FUJITSU) +# define COMPILER_ID "FujitsuClang" +# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) +# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) +# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) +# define COMPILER_VERSION_INTERNAL_STR __clang_version__ + + +#elif defined(__FUJITSU) +# define COMPILER_ID "Fujitsu" +# if defined(__FCC_version__) +# define COMPILER_VERSION __FCC_version__ +# elif defined(__FCC_major__) +# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) +# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) +# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) +# endif +# if defined(__fcc_version) +# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) +# elif defined(__FCC_VERSION) +# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) +# endif + + +#elif defined(__ghs__) +# define COMPILER_ID "GHS" +/* __GHS_VERSION_NUMBER = VVVVRP */ +# ifdef __GHS_VERSION_NUMBER +# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) +# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) +# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) +# endif + +#elif defined(__TASKING__) +# define COMPILER_ID "Tasking" + # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000) + # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100) +# define COMPILER_VERSION_INTERNAL DEC(__VERSION__) + +#elif defined(__SCO_VERSION__) +# define COMPILER_ID "SCO" + +#elif defined(__ARMCC_VERSION) && !defined(__clang__) +# define COMPILER_ID "ARMCC" +#if __ARMCC_VERSION >= 1000000 + /* __ARMCC_VERSION = VRRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#else + /* __ARMCC_VERSION = VRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#endif + + +#elif defined(__clang__) && defined(__apple_build_version__) +# define COMPILER_ID "AppleClang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif +# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) + +#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) +# define COMPILER_ID "ARMClang" + # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) + # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) + # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100) +# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) + +#elif defined(__clang__) +# define COMPILER_ID "Clang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif + +#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__)) +# define COMPILER_ID "LCC" +# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100) +# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100) +# if defined(__LCC_MINOR__) +# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__) +# endif +# if defined(__GNUC__) && defined(__GNUC_MINOR__) +# define SIMULATE_ID "GNU" +# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) +# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) +# if defined(__GNUC_PATCHLEVEL__) +# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +# endif +# endif + +#elif defined(__GNUC__) || defined(__GNUG__) +# define COMPILER_ID "GNU" +# if defined(__GNUC__) +# define COMPILER_VERSION_MAJOR DEC(__GNUC__) +# else +# define COMPILER_VERSION_MAJOR DEC(__GNUG__) +# endif +# if defined(__GNUC_MINOR__) +# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) +# endif +# if defined(__GNUC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +# endif + +#elif defined(_MSC_VER) +# define COMPILER_ID "MSVC" + /* _MSC_VER = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) +# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) +# if defined(_MSC_FULL_VER) +# if _MSC_VER >= 1400 + /* _MSC_FULL_VER = VVRRPPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) +# else + /* _MSC_FULL_VER = VVRRPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) +# endif +# endif +# if defined(_MSC_BUILD) +# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) +# endif + +#elif defined(_ADI_COMPILER) +# define COMPILER_ID "ADSP" +#if defined(__VERSIONNUM__) + /* __VERSIONNUM__ = 0xVVRRPPTT */ +# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF) +# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF) +# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF) +# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF) +#endif + +#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) +# define COMPILER_ID "IAR" +# if defined(__VER__) && defined(__ICCARM__) +# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) +# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) +# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) +# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) +# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) +# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) +# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) +# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) +# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) +# endif + + +/* These compilers are either not known or too old to define an + identification macro. Try to identify the platform and guess that + it is the native compiler. */ +#elif defined(__hpux) || defined(__hpua) +# define COMPILER_ID "HP" + +#else /* unknown compiler */ +# define COMPILER_ID "" +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; +#ifdef SIMULATE_ID +char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; +#endif + +#ifdef __QNXNTO__ +char const* qnxnto = "INFO" ":" "qnxnto[]"; +#endif + +#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) +char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; +#endif + +#define STRINGIFY_HELPER(X) #X +#define STRINGIFY(X) STRINGIFY_HELPER(X) + +/* Identify known platforms by name. */ +#if defined(__linux) || defined(__linux__) || defined(linux) +# define PLATFORM_ID "Linux" + +#elif defined(__MSYS__) +# define PLATFORM_ID "MSYS" + +#elif defined(__CYGWIN__) +# define PLATFORM_ID "Cygwin" + +#elif defined(__MINGW32__) +# define PLATFORM_ID "MinGW" + +#elif defined(__APPLE__) +# define PLATFORM_ID "Darwin" + +#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) +# define PLATFORM_ID "Windows" + +#elif defined(__FreeBSD__) || defined(__FreeBSD) +# define PLATFORM_ID "FreeBSD" + +#elif defined(__NetBSD__) || defined(__NetBSD) +# define PLATFORM_ID "NetBSD" + +#elif defined(__OpenBSD__) || defined(__OPENBSD) +# define PLATFORM_ID "OpenBSD" + +#elif defined(__sun) || defined(sun) +# define PLATFORM_ID "SunOS" + +#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) +# define PLATFORM_ID "AIX" + +#elif defined(__hpux) || defined(__hpux__) +# define PLATFORM_ID "HP-UX" + +#elif defined(__HAIKU__) +# define PLATFORM_ID "Haiku" + +#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) +# define PLATFORM_ID "BeOS" + +#elif defined(__QNX__) || defined(__QNXNTO__) +# define PLATFORM_ID "QNX" + +#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) +# define PLATFORM_ID "Tru64" + +#elif defined(__riscos) || defined(__riscos__) +# define PLATFORM_ID "RISCos" + +#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) +# define PLATFORM_ID "SINIX" + +#elif defined(__UNIX_SV__) +# define PLATFORM_ID "UNIX_SV" + +#elif defined(__bsdos__) +# define PLATFORM_ID "BSDOS" + +#elif defined(_MPRAS) || defined(MPRAS) +# define PLATFORM_ID "MP-RAS" + +#elif defined(__osf) || defined(__osf__) +# define PLATFORM_ID "OSF1" + +#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) +# define PLATFORM_ID "SCO_SV" + +#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) +# define PLATFORM_ID "ULTRIX" + +#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) +# define PLATFORM_ID "Xenix" + +#elif defined(__WATCOMC__) +# if defined(__LINUX__) +# define PLATFORM_ID "Linux" + +# elif defined(__DOS__) +# define PLATFORM_ID "DOS" + +# elif defined(__OS2__) +# define PLATFORM_ID "OS2" + +# elif defined(__WINDOWS__) +# define PLATFORM_ID "Windows3x" + +# elif defined(__VXWORKS__) +# define PLATFORM_ID "VxWorks" + +# else /* unknown platform */ +# define PLATFORM_ID +# endif + +#elif defined(__INTEGRITY) +# if defined(INT_178B) +# define PLATFORM_ID "Integrity178" + +# else /* regular Integrity */ +# define PLATFORM_ID "Integrity" +# endif + +# elif defined(_ADI_COMPILER) +# define PLATFORM_ID "ADSP" + +#else /* unknown platform */ +# define PLATFORM_ID + +#endif + +/* For windows compilers MSVC and Intel we can determine + the architecture of the compiler being used. This is because + the compilers do not have flags that can change the architecture, + but rather depend on which compiler is being used +*/ +#if defined(_WIN32) && defined(_MSC_VER) +# if defined(_M_IA64) +# define ARCHITECTURE_ID "IA64" + +# elif defined(_M_ARM64EC) +# define ARCHITECTURE_ID "ARM64EC" + +# elif defined(_M_X64) || defined(_M_AMD64) +# define ARCHITECTURE_ID "x64" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# elif defined(_M_ARM64) +# define ARCHITECTURE_ID "ARM64" + +# elif defined(_M_ARM) +# if _M_ARM == 4 +# define ARCHITECTURE_ID "ARMV4I" +# elif _M_ARM == 5 +# define ARCHITECTURE_ID "ARMV5I" +# else +# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) +# endif + +# elif defined(_M_MIPS) +# define ARCHITECTURE_ID "MIPS" + +# elif defined(_M_SH) +# define ARCHITECTURE_ID "SHx" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__WATCOMC__) +# if defined(_M_I86) +# define ARCHITECTURE_ID "I86" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) +# if defined(__ICCARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__ICCRX__) +# define ARCHITECTURE_ID "RX" + +# elif defined(__ICCRH850__) +# define ARCHITECTURE_ID "RH850" + +# elif defined(__ICCRL78__) +# define ARCHITECTURE_ID "RL78" + +# elif defined(__ICCRISCV__) +# define ARCHITECTURE_ID "RISCV" + +# elif defined(__ICCAVR__) +# define ARCHITECTURE_ID "AVR" + +# elif defined(__ICC430__) +# define ARCHITECTURE_ID "MSP430" + +# elif defined(__ICCV850__) +# define ARCHITECTURE_ID "V850" + +# elif defined(__ICC8051__) +# define ARCHITECTURE_ID "8051" + +# elif defined(__ICCSTM8__) +# define ARCHITECTURE_ID "STM8" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__ghs__) +# if defined(__PPC64__) +# define ARCHITECTURE_ID "PPC64" + +# elif defined(__ppc__) +# define ARCHITECTURE_ID "PPC" + +# elif defined(__ARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__x86_64__) +# define ARCHITECTURE_ID "x64" + +# elif defined(__i386__) +# define ARCHITECTURE_ID "X86" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__TI_COMPILER_VERSION__) +# if defined(__TI_ARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__MSP430__) +# define ARCHITECTURE_ID "MSP430" + +# elif defined(__TMS320C28XX__) +# define ARCHITECTURE_ID "TMS320C28x" + +# elif defined(__TMS320C6X__) || defined(_TMS320C6X) +# define ARCHITECTURE_ID "TMS320C6x" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +# elif defined(__ADSPSHARC__) +# define ARCHITECTURE_ID "SHARC" + +# elif defined(__ADSPBLACKFIN__) +# define ARCHITECTURE_ID "Blackfin" + +#elif defined(__TASKING__) + +# if defined(__CTC__) || defined(__CPTC__) +# define ARCHITECTURE_ID "TriCore" + +# elif defined(__CMCS__) +# define ARCHITECTURE_ID "MCS" + +# elif defined(__CARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__CARC__) +# define ARCHITECTURE_ID "ARC" + +# elif defined(__C51__) +# define ARCHITECTURE_ID "8051" + +# elif defined(__CPCP__) +# define ARCHITECTURE_ID "PCP" + +# else +# define ARCHITECTURE_ID "" +# endif + +#else +# define ARCHITECTURE_ID +#endif + +/* Convert integer to decimal digit literals. */ +#define DEC(n) \ + ('0' + (((n) / 10000000)%10)), \ + ('0' + (((n) / 1000000)%10)), \ + ('0' + (((n) / 100000)%10)), \ + ('0' + (((n) / 10000)%10)), \ + ('0' + (((n) / 1000)%10)), \ + ('0' + (((n) / 100)%10)), \ + ('0' + (((n) / 10)%10)), \ + ('0' + ((n) % 10)) + +/* Convert integer to hex digit literals. */ +#define HEX(n) \ + ('0' + ((n)>>28 & 0xF)), \ + ('0' + ((n)>>24 & 0xF)), \ + ('0' + ((n)>>20 & 0xF)), \ + ('0' + ((n)>>16 & 0xF)), \ + ('0' + ((n)>>12 & 0xF)), \ + ('0' + ((n)>>8 & 0xF)), \ + ('0' + ((n)>>4 & 0xF)), \ + ('0' + ((n) & 0xF)) + +/* Construct a string literal encoding the version number. */ +#ifdef COMPILER_VERSION +char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; + +/* Construct a string literal encoding the version number components. */ +#elif defined(COMPILER_VERSION_MAJOR) +char const info_version[] = { + 'I', 'N', 'F', 'O', ':', + 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', + COMPILER_VERSION_MAJOR, +# ifdef COMPILER_VERSION_MINOR + '.', COMPILER_VERSION_MINOR, +# ifdef COMPILER_VERSION_PATCH + '.', COMPILER_VERSION_PATCH, +# ifdef COMPILER_VERSION_TWEAK + '.', COMPILER_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct a string literal encoding the internal version number. */ +#ifdef COMPILER_VERSION_INTERNAL +char const info_version_internal[] = { + 'I', 'N', 'F', 'O', ':', + 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', + 'i','n','t','e','r','n','a','l','[', + COMPILER_VERSION_INTERNAL,']','\0'}; +#elif defined(COMPILER_VERSION_INTERNAL_STR) +char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; +#endif + +/* Construct a string literal encoding the version number components. */ +#ifdef SIMULATE_VERSION_MAJOR +char const info_simulate_version[] = { + 'I', 'N', 'F', 'O', ':', + 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', + SIMULATE_VERSION_MAJOR, +# ifdef SIMULATE_VERSION_MINOR + '.', SIMULATE_VERSION_MINOR, +# ifdef SIMULATE_VERSION_PATCH + '.', SIMULATE_VERSION_PATCH, +# ifdef SIMULATE_VERSION_TWEAK + '.', SIMULATE_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; +char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; + + + +#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L +# if defined(__INTEL_CXX11_MODE__) +# if defined(__cpp_aggregate_nsdmi) +# define CXX_STD 201402L +# else +# define CXX_STD 201103L +# endif +# else +# define CXX_STD 199711L +# endif +#elif defined(_MSC_VER) && defined(_MSVC_LANG) +# define CXX_STD _MSVC_LANG +#else +# define CXX_STD __cplusplus +#endif + +const char* info_language_standard_default = "INFO" ":" "standard_default[" +#if CXX_STD > 202002L + "23" +#elif CXX_STD > 201703L + "20" +#elif CXX_STD >= 201703L + "17" +#elif CXX_STD >= 201402L + "14" +#elif CXX_STD >= 201103L + "11" +#else + "98" +#endif +"]"; + +const char* info_language_extensions_default = "INFO" ":" "extensions_default[" +#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \ + defined(__TI_COMPILER_VERSION__)) && \ + !defined(__STRICT_ANSI__) + "ON" +#else + "OFF" +#endif +"]"; + +/*--------------------------------------------------------------------------*/ + +int main(int argc, char* argv[]) +{ + int require = 0; + require += info_compiler[argc]; + require += info_platform[argc]; + require += info_arch[argc]; +#ifdef COMPILER_VERSION_MAJOR + require += info_version[argc]; +#endif +#ifdef COMPILER_VERSION_INTERNAL + require += info_version_internal[argc]; +#endif +#ifdef SIMULATE_ID + require += info_simulate[argc]; +#endif +#ifdef SIMULATE_VERSION_MAJOR + require += info_simulate_version[argc]; +#endif +#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) + require += info_cray[argc]; +#endif + require += info_language_standard_default[argc]; + require += info_language_extensions_default[argc]; + (void)argv; + return require; +} diff --git a/build/CMakeFiles/3.26.5/CompilerIdCXX/a.out b/build/CMakeFiles/3.26.5/CompilerIdCXX/a.out Binary files differnew file mode 100755 index 0000000..252e2b3 --- /dev/null +++ b/build/CMakeFiles/3.26.5/CompilerIdCXX/a.out diff --git a/build/CMakeFiles/CMakeConfigureLog.yaml b/build/CMakeFiles/CMakeConfigureLog.yaml new file mode 100644 index 0000000..a591a08 --- /dev/null +++ b/build/CMakeFiles/CMakeConfigureLog.yaml @@ -0,0 +1,497 @@ + +--- +events: + - + kind: "message-v1" + backtrace: + - "/usr/share/cmake/Modules/CMakeDetermineSystem.cmake:204 (message)" + - "CMakeLists.txt:4 (project)" + message: | + The system is: Linux - 4.18.0-513.5.1.el8_9.x86_64 - x86_64 + - + kind: "message-v1" + backtrace: + - "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "/usr/share/cmake/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "CMakeLists.txt:4 (project)" + message: | + Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. + Compiler: /usr/bin/gcc + 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: + /root/Git/demo/build/CMakeFiles/3.26.5/CompilerIdC/a.out + + - + kind: "message-v1" + backtrace: + - "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "/usr/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "CMakeLists.txt:4 (project)" + message: | + Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. + Compiler: /usr/bin/g++ + 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: + /root/Git/demo/build/CMakeFiles/3.26.5/CompilerIdCXX/a.out + + - + kind: "try_compile-v1" + backtrace: + - "/usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)" + - "/usr/share/cmake/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)" + - "CMakeLists.txt:4 (project)" + checks: + - "Detecting C compiler ABI info" + directories: + source: "/root/Git/demo/build/CMakeFiles/CMakeScratch/TryCompile-dRadgo" + binary: "/root/Git/demo/build/CMakeFiles/CMakeScratch/TryCompile-dRadgo" + cmakeVariables: + CMAKE_C_FLAGS: "" + CMAKE_C_FLAGS_DEBUG: "-g" + CMAKE_EXE_LINKER_FLAGS: "" + buildResult: + variable: "CMAKE_C_ABI_COMPILED" + cached: true + stdout: | + Change Dir: /root/Git/demo/build/CMakeFiles/CMakeScratch/TryCompile-dRadgo + + Run Build Command(s):/usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_a314c/fast && /usr/bin/gmake -f CMakeFiles/cmTC_a314c.dir/build.make CMakeFiles/cmTC_a314c.dir/build + gmake[1]: Entering directory '/root/Git/demo/build/CMakeFiles/CMakeScratch/TryCompile-dRadgo' + Building C object CMakeFiles/cmTC_a314c.dir/CMakeCCompilerABI.c.o + /usr/bin/gcc -v -o CMakeFiles/cmTC_a314c.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake/Modules/CMakeCCompilerABI.c + Using built-in specs. + COLLECT_GCC=/usr/bin/gcc + OFFLOAD_TARGET_NAMES=nvptx-none + OFFLOAD_TARGET_DEFAULT=1 + Target: x86_64-redhat-linux + Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.rockylinux.org/ --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --disable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux + Thread model: posix + gcc version 8.5.0 20210514 (Red Hat 8.5.0-20) (GCC) + COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_a314c.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' + /usr/libexec/gcc/x86_64-redhat-linux/8/cc1 -quiet -v /usr/share/cmake/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_a314c.dir/CMakeCCompilerABI.c.o -version -o /tmp/ccowITRE.s + GNU C17 (GCC) version 8.5.0 20210514 (Red Hat 8.5.0-20) (x86_64-redhat-linux) + compiled by GNU C version 8.5.0 20210514 (Red Hat 8.5.0-20), GMP version 6.1.2, MPFR version 3.1.6-p2, MPC version 1.1.0, isl version isl-0.16.1-GMP + + GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 + ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/8/include-fixed" + ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/8/../../../../x86_64-redhat-linux/include" + #include "..." search starts here: + #include <...> search starts here: + /usr/lib/gcc/x86_64-redhat-linux/8/include + /usr/local/include + /usr/include + End of search list. + GNU C17 (GCC) version 8.5.0 20210514 (Red Hat 8.5.0-20) (x86_64-redhat-linux) + compiled by GNU C version 8.5.0 20210514 (Red Hat 8.5.0-20), GMP version 6.1.2, MPFR version 3.1.6-p2, MPC version 1.1.0, isl version isl-0.16.1-GMP + + GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 + Compiler executable checksum: d401235ad03d4173493f2b6b161ddcc6 + COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_a314c.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' + as -v --64 -o CMakeFiles/cmTC_a314c.dir/CMakeCCompilerABI.c.o /tmp/ccowITRE.s + GNU assembler version 2.30 (x86_64-redhat-linux) using BFD version version 2.30-123.el8 + COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/8/:/usr/libexec/gcc/x86_64-redhat-linux/8/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/8/:/usr/lib/gcc/x86_64-redhat-linux/ + LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/8/:/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/8/../../../:/lib/:/usr/lib/ + COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_a314c.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' + Linking C executable cmTC_a314c + /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a314c.dir/link.txt --verbose=1 + /usr/bin/gcc -v CMakeFiles/cmTC_a314c.dir/CMakeCCompilerABI.c.o -o cmTC_a314c + Using built-in specs. + COLLECT_GCC=/usr/bin/gcc + COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper + OFFLOAD_TARGET_NAMES=nvptx-none + OFFLOAD_TARGET_DEFAULT=1 + Target: x86_64-redhat-linux + Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.rockylinux.org/ --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --disable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux + Thread model: posix + gcc version 8.5.0 20210514 (Red Hat 8.5.0-20) (GCC) + COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/8/:/usr/libexec/gcc/x86_64-redhat-linux/8/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/8/:/usr/lib/gcc/x86_64-redhat-linux/ + LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/8/:/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/8/../../../:/lib/:/usr/lib/ + COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_a314c' '-mtune=generic' '-march=x86-64' + /usr/libexec/gcc/x86_64-redhat-linux/8/collect2 -plugin /usr/libexec/gcc/x86_64-redhat-linux/8/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper -plugin-opt=-fresolution=/tmp/cc9rZjdg.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 --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_a314c /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/8/crtbegin.o -L/usr/lib/gcc/x86_64-redhat-linux/8 -L/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/8/../../.. CMakeFiles/cmTC_a314c.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-redhat-linux/8/crtend.o /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crtn.o + COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_a314c' '-mtune=generic' '-march=x86-64' + gmake[1]: Leaving directory '/root/Git/demo/build/CMakeFiles/CMakeScratch/TryCompile-dRadgo' + + exitCode: 0 + - + kind: "message-v1" + backtrace: + - "/usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:127 (message)" + - "/usr/share/cmake/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)" + - "CMakeLists.txt:4 (project)" + message: | + Parsed C implicit include dir info: rv=done + found start of include info + found start of implicit include info + add: [/usr/lib/gcc/x86_64-redhat-linux/8/include] + add: [/usr/local/include] + add: [/usr/include] + end of search list found + collapse include dir [/usr/lib/gcc/x86_64-redhat-linux/8/include] ==> [/usr/lib/gcc/x86_64-redhat-linux/8/include] + collapse include dir [/usr/local/include] ==> [/usr/local/include] + collapse include dir [/usr/include] ==> [/usr/include] + implicit include dirs: [/usr/lib/gcc/x86_64-redhat-linux/8/include;/usr/local/include;/usr/include] + + + - + kind: "message-v1" + backtrace: + - "/usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:152 (message)" + - "/usr/share/cmake/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)" + - "CMakeLists.txt:4 (project)" + message: | + Parsed C implicit link information: + link line regex: [^( *|.*[/\\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)] + ignore line: [Change Dir: /root/Git/demo/build/CMakeFiles/CMakeScratch/TryCompile-dRadgo] + ignore line: [] + ignore line: [Run Build Command(s):/usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_a314c/fast && /usr/bin/gmake -f CMakeFiles/cmTC_a314c.dir/build.make CMakeFiles/cmTC_a314c.dir/build] + ignore line: [gmake[1]: Entering directory '/root/Git/demo/build/CMakeFiles/CMakeScratch/TryCompile-dRadgo'] + ignore line: [Building C object CMakeFiles/cmTC_a314c.dir/CMakeCCompilerABI.c.o] + ignore line: [/usr/bin/gcc -v -o CMakeFiles/cmTC_a314c.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake/Modules/CMakeCCompilerABI.c] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/gcc] + ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none] + ignore line: [OFFLOAD_TARGET_DEFAULT=1] + ignore line: [Target: x86_64-redhat-linux] + ignore line: [Configured with: ../configure --enable-bootstrap --enable-languages=c c++ fortran lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.rockylinux.org/ --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --disable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux] + ignore line: [Thread model: posix] + ignore line: [gcc version 8.5.0 20210514 (Red Hat 8.5.0-20) (GCC) ] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_a314c.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'] + ignore line: [ /usr/libexec/gcc/x86_64-redhat-linux/8/cc1 -quiet -v /usr/share/cmake/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_a314c.dir/CMakeCCompilerABI.c.o -version -o /tmp/ccowITRE.s] + ignore line: [GNU C17 (GCC) version 8.5.0 20210514 (Red Hat 8.5.0-20) (x86_64-redhat-linux)] + ignore line: [ compiled by GNU C version 8.5.0 20210514 (Red Hat 8.5.0-20) GMP version 6.1.2 MPFR version 3.1.6-p2 MPC version 1.1.0 isl version isl-0.16.1-GMP] + ignore line: [] + ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] + ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/8/include-fixed"] + ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/8/../../../../x86_64-redhat-linux/include"] + ignore line: [#include "..." search starts here:] + ignore line: [#include <...> search starts here:] + ignore line: [ /usr/lib/gcc/x86_64-redhat-linux/8/include] + ignore line: [ /usr/local/include] + ignore line: [ /usr/include] + ignore line: [End of search list.] + ignore line: [GNU C17 (GCC) version 8.5.0 20210514 (Red Hat 8.5.0-20) (x86_64-redhat-linux)] + ignore line: [ compiled by GNU C version 8.5.0 20210514 (Red Hat 8.5.0-20) GMP version 6.1.2 MPFR version 3.1.6-p2 MPC version 1.1.0 isl version isl-0.16.1-GMP] + ignore line: [] + ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] + ignore line: [Compiler executable checksum: d401235ad03d4173493f2b6b161ddcc6] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_a314c.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'] + ignore line: [ as -v --64 -o CMakeFiles/cmTC_a314c.dir/CMakeCCompilerABI.c.o /tmp/ccowITRE.s] + ignore line: [GNU assembler version 2.30 (x86_64-redhat-linux) using BFD version version 2.30-123.el8] + ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/8/:/usr/libexec/gcc/x86_64-redhat-linux/8/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/8/:/usr/lib/gcc/x86_64-redhat-linux/] + ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/8/:/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/8/../../../:/lib/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_a314c.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'] + ignore line: [Linking C executable cmTC_a314c] + ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a314c.dir/link.txt --verbose=1] + ignore line: [/usr/bin/gcc -v CMakeFiles/cmTC_a314c.dir/CMakeCCompilerABI.c.o -o cmTC_a314c ] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/gcc] + ignore line: [COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper] + ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none] + ignore line: [OFFLOAD_TARGET_DEFAULT=1] + ignore line: [Target: x86_64-redhat-linux] + ignore line: [Configured with: ../configure --enable-bootstrap --enable-languages=c c++ fortran lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.rockylinux.org/ --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --disable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux] + ignore line: [Thread model: posix] + ignore line: [gcc version 8.5.0 20210514 (Red Hat 8.5.0-20) (GCC) ] + ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/8/:/usr/libexec/gcc/x86_64-redhat-linux/8/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/8/:/usr/lib/gcc/x86_64-redhat-linux/] + ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/8/:/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/8/../../../:/lib/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_a314c' '-mtune=generic' '-march=x86-64'] + link line: [ /usr/libexec/gcc/x86_64-redhat-linux/8/collect2 -plugin /usr/libexec/gcc/x86_64-redhat-linux/8/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper -plugin-opt=-fresolution=/tmp/cc9rZjdg.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 --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_a314c /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/8/crtbegin.o -L/usr/lib/gcc/x86_64-redhat-linux/8 -L/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/8/../../.. CMakeFiles/cmTC_a314c.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-redhat-linux/8/crtend.o /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crtn.o] + arg [/usr/libexec/gcc/x86_64-redhat-linux/8/collect2] ==> ignore + arg [-plugin] ==> ignore + arg [/usr/libexec/gcc/x86_64-redhat-linux/8/liblto_plugin.so] ==> ignore + arg [-plugin-opt=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper] ==> ignore + arg [-plugin-opt=-fresolution=/tmp/cc9rZjdg.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 [--no-add-needed] ==> ignore + arg [--eh-frame-hdr] ==> ignore + arg [--hash-style=gnu] ==> ignore + arg [-m] ==> ignore + arg [elf_x86_64] ==> ignore + arg [-dynamic-linker] ==> ignore + arg [/lib64/ld-linux-x86-64.so.2] ==> ignore + arg [-o] ==> ignore + arg [cmTC_a314c] ==> ignore + arg [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crt1.o] ==> obj [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crt1.o] + arg [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crti.o] ==> obj [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crti.o] + arg [/usr/lib/gcc/x86_64-redhat-linux/8/crtbegin.o] ==> obj [/usr/lib/gcc/x86_64-redhat-linux/8/crtbegin.o] + arg [-L/usr/lib/gcc/x86_64-redhat-linux/8] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/8] + arg [-L/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64] + arg [-L/lib/../lib64] ==> dir [/lib/../lib64] + arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64] + arg [-L/usr/lib/gcc/x86_64-redhat-linux/8/../../..] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/8/../../..] + arg [CMakeFiles/cmTC_a314c.dir/CMakeCCompilerABI.c.o] ==> ignore + arg [-lgcc] ==> lib [gcc] + arg [--as-needed] ==> ignore + arg [-lgcc_s] ==> lib [gcc_s] + arg [--no-as-needed] ==> ignore + arg [-lc] ==> lib [c] + arg [-lgcc] ==> lib [gcc] + arg [--as-needed] ==> ignore + arg [-lgcc_s] ==> lib [gcc_s] + arg [--no-as-needed] ==> ignore + arg [/usr/lib/gcc/x86_64-redhat-linux/8/crtend.o] ==> obj [/usr/lib/gcc/x86_64-redhat-linux/8/crtend.o] + arg [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crtn.o] ==> obj [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crtn.o] + collapse obj [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crt1.o] ==> [/usr/lib64/crt1.o] + collapse obj [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crti.o] ==> [/usr/lib64/crti.o] + collapse obj [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crtn.o] ==> [/usr/lib64/crtn.o] + collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/8] ==> [/usr/lib/gcc/x86_64-redhat-linux/8] + collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64] ==> [/usr/lib64] + collapse library dir [/lib/../lib64] ==> [/lib64] + collapse library dir [/usr/lib/../lib64] ==> [/usr/lib64] + collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/8/../../..] ==> [/usr/lib] + implicit libs: [gcc;gcc_s;c;gcc;gcc_s] + implicit objs: [/usr/lib64/crt1.o;/usr/lib64/crti.o;/usr/lib/gcc/x86_64-redhat-linux/8/crtbegin.o;/usr/lib/gcc/x86_64-redhat-linux/8/crtend.o;/usr/lib64/crtn.o] + implicit dirs: [/usr/lib/gcc/x86_64-redhat-linux/8;/usr/lib64;/lib64;/usr/lib] + implicit fwks: [] + + + - + kind: "try_compile-v1" + backtrace: + - "/usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)" + - "/usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)" + - "CMakeLists.txt:4 (project)" + checks: + - "Detecting CXX compiler ABI info" + directories: + source: "/root/Git/demo/build/CMakeFiles/CMakeScratch/TryCompile-sCjRsG" + binary: "/root/Git/demo/build/CMakeFiles/CMakeScratch/TryCompile-sCjRsG" + cmakeVariables: + CMAKE_CXX_FLAGS: "" + CMAKE_CXX_FLAGS_DEBUG: "-g" + CMAKE_EXE_LINKER_FLAGS: "" + buildResult: + variable: "CMAKE_CXX_ABI_COMPILED" + cached: true + stdout: | + Change Dir: /root/Git/demo/build/CMakeFiles/CMakeScratch/TryCompile-sCjRsG + + Run Build Command(s):/usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_75e80/fast && /usr/bin/gmake -f CMakeFiles/cmTC_75e80.dir/build.make CMakeFiles/cmTC_75e80.dir/build + gmake[1]: Entering directory '/root/Git/demo/build/CMakeFiles/CMakeScratch/TryCompile-sCjRsG' + Building CXX object CMakeFiles/cmTC_75e80.dir/CMakeCXXCompilerABI.cpp.o + /usr/bin/g++ -v -o CMakeFiles/cmTC_75e80.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp + Using built-in specs. + COLLECT_GCC=/usr/bin/g++ + OFFLOAD_TARGET_NAMES=nvptx-none + OFFLOAD_TARGET_DEFAULT=1 + Target: x86_64-redhat-linux + Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.rockylinux.org/ --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --disable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux + Thread model: posix + gcc version 8.5.0 20210514 (Red Hat 8.5.0-20) (GCC) + COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_75e80.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' + /usr/libexec/gcc/x86_64-redhat-linux/8/cc1plus -quiet -v -D_GNU_SOURCE /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_75e80.dir/CMakeCXXCompilerABI.cpp.o -version -o /tmp/ccgqU2U6.s + GNU C++14 (GCC) version 8.5.0 20210514 (Red Hat 8.5.0-20) (x86_64-redhat-linux) + compiled by GNU C version 8.5.0 20210514 (Red Hat 8.5.0-20), GMP version 6.1.2, MPFR version 3.1.6-p2, MPC version 1.1.0, isl version isl-0.16.1-GMP + + GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 + ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/8/include-fixed" + ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/8/../../../../x86_64-redhat-linux/include" + #include "..." search starts here: + #include <...> search starts here: + /usr/lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8 + /usr/lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/x86_64-redhat-linux + /usr/lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/backward + /usr/lib/gcc/x86_64-redhat-linux/8/include + /usr/local/include + /usr/include + End of search list. + GNU C++14 (GCC) version 8.5.0 20210514 (Red Hat 8.5.0-20) (x86_64-redhat-linux) + compiled by GNU C version 8.5.0 20210514 (Red Hat 8.5.0-20), GMP version 6.1.2, MPFR version 3.1.6-p2, MPC version 1.1.0, isl version isl-0.16.1-GMP + + GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 + Compiler executable checksum: 1a5fbbb2ca0f971f3e1b59e59dde2ec8 + COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_75e80.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' + as -v --64 -o CMakeFiles/cmTC_75e80.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccgqU2U6.s + GNU assembler version 2.30 (x86_64-redhat-linux) using BFD version version 2.30-123.el8 + COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/8/:/usr/libexec/gcc/x86_64-redhat-linux/8/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/8/:/usr/lib/gcc/x86_64-redhat-linux/ + LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/8/:/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/8/../../../:/lib/:/usr/lib/ + COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_75e80.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' + Linking CXX executable cmTC_75e80 + /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_75e80.dir/link.txt --verbose=1 + /usr/bin/g++ -v CMakeFiles/cmTC_75e80.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_75e80 + Using built-in specs. + COLLECT_GCC=/usr/bin/g++ + COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper + OFFLOAD_TARGET_NAMES=nvptx-none + OFFLOAD_TARGET_DEFAULT=1 + Target: x86_64-redhat-linux + Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.rockylinux.org/ --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --disable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux + Thread model: posix + gcc version 8.5.0 20210514 (Red Hat 8.5.0-20) (GCC) + COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/8/:/usr/libexec/gcc/x86_64-redhat-linux/8/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/8/:/usr/lib/gcc/x86_64-redhat-linux/ + LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/8/:/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/8/../../../:/lib/:/usr/lib/ + COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_75e80' '-shared-libgcc' '-mtune=generic' '-march=x86-64' + /usr/libexec/gcc/x86_64-redhat-linux/8/collect2 -plugin /usr/libexec/gcc/x86_64-redhat-linux/8/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper -plugin-opt=-fresolution=/tmp/ccKbHgHG.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 --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_75e80 /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/8/crtbegin.o -L/usr/lib/gcc/x86_64-redhat-linux/8 -L/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/8/../../.. CMakeFiles/cmTC_75e80.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-redhat-linux/8/crtend.o /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crtn.o + COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_75e80' '-shared-libgcc' '-mtune=generic' '-march=x86-64' + gmake[1]: Leaving directory '/root/Git/demo/build/CMakeFiles/CMakeScratch/TryCompile-sCjRsG' + + exitCode: 0 + - + kind: "message-v1" + backtrace: + - "/usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:127 (message)" + - "/usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)" + - "CMakeLists.txt:4 (project)" + message: | + Parsed CXX implicit include dir info: rv=done + found start of include info + found start of implicit include info + add: [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8] + add: [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/x86_64-redhat-linux] + add: [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/backward] + add: [/usr/lib/gcc/x86_64-redhat-linux/8/include] + add: [/usr/local/include] + add: [/usr/include] + end of search list found + collapse include dir [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8] ==> [/usr/include/c++/8] + collapse include dir [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/x86_64-redhat-linux] ==> [/usr/include/c++/8/x86_64-redhat-linux] + collapse include dir [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/backward] ==> [/usr/include/c++/8/backward] + collapse include dir [/usr/lib/gcc/x86_64-redhat-linux/8/include] ==> [/usr/lib/gcc/x86_64-redhat-linux/8/include] + collapse include dir [/usr/local/include] ==> [/usr/local/include] + collapse include dir [/usr/include] ==> [/usr/include] + implicit include dirs: [/usr/include/c++/8;/usr/include/c++/8/x86_64-redhat-linux;/usr/include/c++/8/backward;/usr/lib/gcc/x86_64-redhat-linux/8/include;/usr/local/include;/usr/include] + + + - + kind: "message-v1" + backtrace: + - "/usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:152 (message)" + - "/usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)" + - "CMakeLists.txt:4 (project)" + message: | + Parsed CXX implicit link information: + link line regex: [^( *|.*[/\\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)] + ignore line: [Change Dir: /root/Git/demo/build/CMakeFiles/CMakeScratch/TryCompile-sCjRsG] + ignore line: [] + ignore line: [Run Build Command(s):/usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_75e80/fast && /usr/bin/gmake -f CMakeFiles/cmTC_75e80.dir/build.make CMakeFiles/cmTC_75e80.dir/build] + ignore line: [gmake[1]: Entering directory '/root/Git/demo/build/CMakeFiles/CMakeScratch/TryCompile-sCjRsG'] + ignore line: [Building CXX object CMakeFiles/cmTC_75e80.dir/CMakeCXXCompilerABI.cpp.o] + ignore line: [/usr/bin/g++ -v -o CMakeFiles/cmTC_75e80.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/g++] + ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none] + ignore line: [OFFLOAD_TARGET_DEFAULT=1] + ignore line: [Target: x86_64-redhat-linux] + ignore line: [Configured with: ../configure --enable-bootstrap --enable-languages=c c++ fortran lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.rockylinux.org/ --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --disable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux] + ignore line: [Thread model: posix] + ignore line: [gcc version 8.5.0 20210514 (Red Hat 8.5.0-20) (GCC) ] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_75e80.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] + ignore line: [ /usr/libexec/gcc/x86_64-redhat-linux/8/cc1plus -quiet -v -D_GNU_SOURCE /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_75e80.dir/CMakeCXXCompilerABI.cpp.o -version -o /tmp/ccgqU2U6.s] + ignore line: [GNU C++14 (GCC) version 8.5.0 20210514 (Red Hat 8.5.0-20) (x86_64-redhat-linux)] + ignore line: [ compiled by GNU C version 8.5.0 20210514 (Red Hat 8.5.0-20) GMP version 6.1.2 MPFR version 3.1.6-p2 MPC version 1.1.0 isl version isl-0.16.1-GMP] + ignore line: [] + ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] + ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/8/include-fixed"] + ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/8/../../../../x86_64-redhat-linux/include"] + ignore line: [#include "..." search starts here:] + ignore line: [#include <...> search starts here:] + ignore line: [ /usr/lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8] + ignore line: [ /usr/lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/x86_64-redhat-linux] + ignore line: [ /usr/lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/backward] + ignore line: [ /usr/lib/gcc/x86_64-redhat-linux/8/include] + ignore line: [ /usr/local/include] + ignore line: [ /usr/include] + ignore line: [End of search list.] + ignore line: [GNU C++14 (GCC) version 8.5.0 20210514 (Red Hat 8.5.0-20) (x86_64-redhat-linux)] + ignore line: [ compiled by GNU C version 8.5.0 20210514 (Red Hat 8.5.0-20) GMP version 6.1.2 MPFR version 3.1.6-p2 MPC version 1.1.0 isl version isl-0.16.1-GMP] + ignore line: [] + ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] + ignore line: [Compiler executable checksum: 1a5fbbb2ca0f971f3e1b59e59dde2ec8] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_75e80.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] + ignore line: [ as -v --64 -o CMakeFiles/cmTC_75e80.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccgqU2U6.s] + ignore line: [GNU assembler version 2.30 (x86_64-redhat-linux) using BFD version version 2.30-123.el8] + ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/8/:/usr/libexec/gcc/x86_64-redhat-linux/8/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/8/:/usr/lib/gcc/x86_64-redhat-linux/] + ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/8/:/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/8/../../../:/lib/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_75e80.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] + ignore line: [Linking CXX executable cmTC_75e80] + ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_75e80.dir/link.txt --verbose=1] + ignore line: [/usr/bin/g++ -v CMakeFiles/cmTC_75e80.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_75e80 ] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/g++] + ignore line: [COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper] + ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none] + ignore line: [OFFLOAD_TARGET_DEFAULT=1] + ignore line: [Target: x86_64-redhat-linux] + ignore line: [Configured with: ../configure --enable-bootstrap --enable-languages=c c++ fortran lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.rockylinux.org/ --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --disable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux] + ignore line: [Thread model: posix] + ignore line: [gcc version 8.5.0 20210514 (Red Hat 8.5.0-20) (GCC) ] + ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/8/:/usr/libexec/gcc/x86_64-redhat-linux/8/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/8/:/usr/lib/gcc/x86_64-redhat-linux/] + ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/8/:/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/8/../../../:/lib/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_75e80' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] + link line: [ /usr/libexec/gcc/x86_64-redhat-linux/8/collect2 -plugin /usr/libexec/gcc/x86_64-redhat-linux/8/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper -plugin-opt=-fresolution=/tmp/ccKbHgHG.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 --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_75e80 /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/8/crtbegin.o -L/usr/lib/gcc/x86_64-redhat-linux/8 -L/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/8/../../.. CMakeFiles/cmTC_75e80.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-redhat-linux/8/crtend.o /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crtn.o] + arg [/usr/libexec/gcc/x86_64-redhat-linux/8/collect2] ==> ignore + arg [-plugin] ==> ignore + arg [/usr/libexec/gcc/x86_64-redhat-linux/8/liblto_plugin.so] ==> ignore + arg [-plugin-opt=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper] ==> ignore + arg [-plugin-opt=-fresolution=/tmp/ccKbHgHG.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 [--no-add-needed] ==> ignore + arg [--eh-frame-hdr] ==> ignore + arg [--hash-style=gnu] ==> ignore + arg [-m] ==> ignore + arg [elf_x86_64] ==> ignore + arg [-dynamic-linker] ==> ignore + arg [/lib64/ld-linux-x86-64.so.2] ==> ignore + arg [-o] ==> ignore + arg [cmTC_75e80] ==> ignore + arg [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crt1.o] ==> obj [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crt1.o] + arg [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crti.o] ==> obj [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crti.o] + arg [/usr/lib/gcc/x86_64-redhat-linux/8/crtbegin.o] ==> obj [/usr/lib/gcc/x86_64-redhat-linux/8/crtbegin.o] + arg [-L/usr/lib/gcc/x86_64-redhat-linux/8] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/8] + arg [-L/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64] + arg [-L/lib/../lib64] ==> dir [/lib/../lib64] + arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64] + arg [-L/usr/lib/gcc/x86_64-redhat-linux/8/../../..] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/8/../../..] + arg [CMakeFiles/cmTC_75e80.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-redhat-linux/8/crtend.o] ==> obj [/usr/lib/gcc/x86_64-redhat-linux/8/crtend.o] + arg [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crtn.o] ==> obj [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crtn.o] + collapse obj [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crt1.o] ==> [/usr/lib64/crt1.o] + collapse obj [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crti.o] ==> [/usr/lib64/crti.o] + collapse obj [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crtn.o] ==> [/usr/lib64/crtn.o] + collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/8] ==> [/usr/lib/gcc/x86_64-redhat-linux/8] + collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64] ==> [/usr/lib64] + collapse library dir [/lib/../lib64] ==> [/lib64] + collapse library dir [/usr/lib/../lib64] ==> [/usr/lib64] + collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/8/../../..] ==> [/usr/lib] + implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc] + implicit objs: [/usr/lib64/crt1.o;/usr/lib64/crti.o;/usr/lib/gcc/x86_64-redhat-linux/8/crtbegin.o;/usr/lib/gcc/x86_64-redhat-linux/8/crtend.o;/usr/lib64/crtn.o] + implicit dirs: [/usr/lib/gcc/x86_64-redhat-linux/8;/usr/lib64;/lib64;/usr/lib] + implicit fwks: [] + + +... diff --git a/build/CMakeFiles/CMakeDirectoryInformation.cmake b/build/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 0000000..b74f3db --- /dev/null +++ b/build/CMakeFiles/CMakeDirectoryInformation.cmake @@ -0,0 +1,16 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.26 + +# Relative path conversion top directories. +set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/root/Git/demo") +set(CMAKE_RELATIVE_PATH_TOP_BINARY "/root/Git/demo/build") + +# Force unix paths in dependencies. +set(CMAKE_FORCE_UNIX_PATHS 1) + + +# The C and CXX include file regular expressions for this directory. +set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") +set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") +set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) +set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) diff --git a/build/CMakeFiles/Makefile.cmake b/build/CMakeFiles/Makefile.cmake new file mode 100644 index 0000000..b08bdf6 --- /dev/null +++ b/build/CMakeFiles/Makefile.cmake @@ -0,0 +1,55 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.26 + +# The generator used is: +set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles") + +# The top level Makefile was generated from the following files: +set(CMAKE_MAKEFILE_DEPENDS + "CMakeCache.txt" + "/root/Git/demo/CMakeLists.txt" + "CMakeFiles/3.26.5/CMakeCCompiler.cmake" + "CMakeFiles/3.26.5/CMakeCXXCompiler.cmake" + "CMakeFiles/3.26.5/CMakeSystem.cmake" + "/root/Git/demo/demo1/CMakeLists.txt" + "/root/Git/demo/demo2/CMakeLists.txt" + "/root/Git/demo/matt/CMakeLists.txt" + "/usr/share/cmake/Modules/CMakeCInformation.cmake" + "/usr/share/cmake/Modules/CMakeCXXInformation.cmake" + "/usr/share/cmake/Modules/CMakeCommonLanguageInclude.cmake" + "/usr/share/cmake/Modules/CMakeGenericSystem.cmake" + "/usr/share/cmake/Modules/CMakeInitializeConfigs.cmake" + "/usr/share/cmake/Modules/CMakeLanguageInformation.cmake" + "/usr/share/cmake/Modules/CMakeSystemSpecificInformation.cmake" + "/usr/share/cmake/Modules/CMakeSystemSpecificInitialize.cmake" + "/usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake" + "/usr/share/cmake/Modules/Compiler/GNU-C.cmake" + "/usr/share/cmake/Modules/Compiler/GNU-CXX.cmake" + "/usr/share/cmake/Modules/Compiler/GNU.cmake" + "/usr/share/cmake/Modules/Platform/Linux-GNU-C.cmake" + "/usr/share/cmake/Modules/Platform/Linux-GNU-CXX.cmake" + "/usr/share/cmake/Modules/Platform/Linux-GNU.cmake" + "/usr/share/cmake/Modules/Platform/Linux.cmake" + "/usr/share/cmake/Modules/Platform/UnixPaths.cmake" + ) + +# The corresponding makefile is: +set(CMAKE_MAKEFILE_OUTPUTS + "Makefile" + "CMakeFiles/cmake.check_cache" + ) + +# Byproducts of CMake generate step: +set(CMAKE_MAKEFILE_PRODUCTS + "CMakeFiles/CMakeDirectoryInformation.cmake" + "demo1/CMakeFiles/CMakeDirectoryInformation.cmake" + "demo2/CMakeFiles/CMakeDirectoryInformation.cmake" + "matt/CMakeFiles/CMakeDirectoryInformation.cmake" + ) + +# Dependency information for all targets: +set(CMAKE_DEPEND_INFO_FILES + "demo1/CMakeFiles/Demo1.dir/DependInfo.cmake" + "demo2/CMakeFiles/Demo2.dir/DependInfo.cmake" + "matt/CMakeFiles/maat.dir/DependInfo.cmake" + ) diff --git a/build/CMakeFiles/Makefile2 b/build/CMakeFiles/Makefile2 new file mode 100644 index 0000000..8175c04 --- /dev/null +++ b/build/CMakeFiles/Makefile2 @@ -0,0 +1,215 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.26 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Disable VCS-based implicit rules. +% : %,v + +# Disable VCS-based implicit rules. +% : RCS/% + +# Disable VCS-based implicit rules. +% : RCS/%,v + +# Disable VCS-based implicit rules. +% : SCCS/s.% + +# Disable VCS-based implicit rules. +% : s.% + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Command-line flag to silence nested $(MAKE). +$(VERBOSE)MAKESILENT = -s + +#Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E rm -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /root/Git/demo + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /root/Git/demo/build + +#============================================================================= +# Directory level rules for the build root directory + +# The main recursive "all" target. +all: demo1/all +all: demo2/all +all: matt/all +.PHONY : all + +# The main recursive "preinstall" target. +preinstall: demo1/preinstall +preinstall: demo2/preinstall +preinstall: matt/preinstall +.PHONY : preinstall + +# The main recursive "clean" target. +clean: demo1/clean +clean: demo2/clean +clean: matt/clean +.PHONY : clean + +#============================================================================= +# Directory level rules for directory demo1 + +# Recursive "all" directory target. +demo1/all: demo1/CMakeFiles/Demo1.dir/all +.PHONY : demo1/all + +# Recursive "preinstall" directory target. +demo1/preinstall: +.PHONY : demo1/preinstall + +# Recursive "clean" directory target. +demo1/clean: demo1/CMakeFiles/Demo1.dir/clean +.PHONY : demo1/clean + +#============================================================================= +# Directory level rules for directory demo2 + +# Recursive "all" directory target. +demo2/all: demo2/CMakeFiles/Demo2.dir/all +.PHONY : demo2/all + +# Recursive "preinstall" directory target. +demo2/preinstall: +.PHONY : demo2/preinstall + +# Recursive "clean" directory target. +demo2/clean: demo2/CMakeFiles/Demo2.dir/clean +.PHONY : demo2/clean + +#============================================================================= +# Directory level rules for directory matt + +# Recursive "all" directory target. +matt/all: matt/CMakeFiles/maat.dir/all +.PHONY : matt/all + +# Recursive "preinstall" directory target. +matt/preinstall: +.PHONY : matt/preinstall + +# Recursive "clean" directory target. +matt/clean: matt/CMakeFiles/maat.dir/clean +.PHONY : matt/clean + +#============================================================================= +# Target rules for target demo1/CMakeFiles/Demo1.dir + +# All Build rule for target. +demo1/CMakeFiles/Demo1.dir/all: + $(MAKE) $(MAKESILENT) -f demo1/CMakeFiles/Demo1.dir/build.make demo1/CMakeFiles/Demo1.dir/depend + $(MAKE) $(MAKESILENT) -f demo1/CMakeFiles/Demo1.dir/build.make demo1/CMakeFiles/Demo1.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/root/Git/demo/build/CMakeFiles --progress-num=1,2 "Built target Demo1" +.PHONY : demo1/CMakeFiles/Demo1.dir/all + +# Build rule for subdir invocation for target. +demo1/CMakeFiles/Demo1.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /root/Git/demo/build/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 demo1/CMakeFiles/Demo1.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /root/Git/demo/build/CMakeFiles 0 +.PHONY : demo1/CMakeFiles/Demo1.dir/rule + +# Convenience name for target. +Demo1: demo1/CMakeFiles/Demo1.dir/rule +.PHONY : Demo1 + +# clean rule for target. +demo1/CMakeFiles/Demo1.dir/clean: + $(MAKE) $(MAKESILENT) -f demo1/CMakeFiles/Demo1.dir/build.make demo1/CMakeFiles/Demo1.dir/clean +.PHONY : demo1/CMakeFiles/Demo1.dir/clean + +#============================================================================= +# Target rules for target demo2/CMakeFiles/Demo2.dir + +# All Build rule for target. +demo2/CMakeFiles/Demo2.dir/all: + $(MAKE) $(MAKESILENT) -f demo2/CMakeFiles/Demo2.dir/build.make demo2/CMakeFiles/Demo2.dir/depend + $(MAKE) $(MAKESILENT) -f demo2/CMakeFiles/Demo2.dir/build.make demo2/CMakeFiles/Demo2.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/root/Git/demo/build/CMakeFiles --progress-num=3,4 "Built target Demo2" +.PHONY : demo2/CMakeFiles/Demo2.dir/all + +# Build rule for subdir invocation for target. +demo2/CMakeFiles/Demo2.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /root/Git/demo/build/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 demo2/CMakeFiles/Demo2.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /root/Git/demo/build/CMakeFiles 0 +.PHONY : demo2/CMakeFiles/Demo2.dir/rule + +# Convenience name for target. +Demo2: demo2/CMakeFiles/Demo2.dir/rule +.PHONY : Demo2 + +# clean rule for target. +demo2/CMakeFiles/Demo2.dir/clean: + $(MAKE) $(MAKESILENT) -f demo2/CMakeFiles/Demo2.dir/build.make demo2/CMakeFiles/Demo2.dir/clean +.PHONY : demo2/CMakeFiles/Demo2.dir/clean + +#============================================================================= +# Target rules for target matt/CMakeFiles/maat.dir + +# All Build rule for target. +matt/CMakeFiles/maat.dir/all: + $(MAKE) $(MAKESILENT) -f matt/CMakeFiles/maat.dir/build.make matt/CMakeFiles/maat.dir/depend + $(MAKE) $(MAKESILENT) -f matt/CMakeFiles/maat.dir/build.make matt/CMakeFiles/maat.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/root/Git/demo/build/CMakeFiles --progress-num=5,6 "Built target maat" +.PHONY : matt/CMakeFiles/maat.dir/all + +# Build rule for subdir invocation for target. +matt/CMakeFiles/maat.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /root/Git/demo/build/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 matt/CMakeFiles/maat.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /root/Git/demo/build/CMakeFiles 0 +.PHONY : matt/CMakeFiles/maat.dir/rule + +# Convenience name for target. +maat: matt/CMakeFiles/maat.dir/rule +.PHONY : maat + +# clean rule for target. +matt/CMakeFiles/maat.dir/clean: + $(MAKE) $(MAKESILENT) -f matt/CMakeFiles/maat.dir/build.make matt/CMakeFiles/maat.dir/clean +.PHONY : matt/CMakeFiles/maat.dir/clean + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/build/CMakeFiles/TargetDirectories.txt b/build/CMakeFiles/TargetDirectories.txt new file mode 100644 index 0000000..5951032 --- /dev/null +++ b/build/CMakeFiles/TargetDirectories.txt @@ -0,0 +1,11 @@ +/root/Git/demo/build/CMakeFiles/edit_cache.dir +/root/Git/demo/build/CMakeFiles/rebuild_cache.dir +/root/Git/demo/build/demo1/CMakeFiles/Demo1.dir +/root/Git/demo/build/demo1/CMakeFiles/edit_cache.dir +/root/Git/demo/build/demo1/CMakeFiles/rebuild_cache.dir +/root/Git/demo/build/demo2/CMakeFiles/Demo2.dir +/root/Git/demo/build/demo2/CMakeFiles/edit_cache.dir +/root/Git/demo/build/demo2/CMakeFiles/rebuild_cache.dir +/root/Git/demo/build/matt/CMakeFiles/maat.dir +/root/Git/demo/build/matt/CMakeFiles/edit_cache.dir +/root/Git/demo/build/matt/CMakeFiles/rebuild_cache.dir diff --git a/build/CMakeFiles/cmake.check_cache b/build/CMakeFiles/cmake.check_cache new file mode 100644 index 0000000..3dccd73 --- /dev/null +++ b/build/CMakeFiles/cmake.check_cache @@ -0,0 +1 @@ +# This file is generated by cmake for dependency checking of the CMakeCache.txt file diff --git a/build/CMakeFiles/progress.marks b/build/CMakeFiles/progress.marks new file mode 100644 index 0000000..1e8b314 --- /dev/null +++ b/build/CMakeFiles/progress.marks @@ -0,0 +1 @@ +6 diff --git a/build/Makefile b/build/Makefile new file mode 100644 index 0000000..4736611 --- /dev/null +++ b/build/Makefile @@ -0,0 +1,182 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.26 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +# Allow only one "make -f Makefile2" at a time, but pass parallelism. +.NOTPARALLEL: + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Disable VCS-based implicit rules. +% : %,v + +# Disable VCS-based implicit rules. +% : RCS/% + +# Disable VCS-based implicit rules. +% : RCS/%,v + +# Disable VCS-based implicit rules. +% : SCCS/s.% + +# Disable VCS-based implicit rules. +% : s.% + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Command-line flag to silence nested $(MAKE). +$(VERBOSE)MAKESILENT = -s + +#Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E rm -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /root/Git/demo + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /root/Git/demo/build + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /usr/bin/ccmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /root/Git/demo/build/CMakeFiles /root/Git/demo/build//CMakeFiles/progress.marks + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all + $(CMAKE_COMMAND) -E cmake_progress_start /root/Git/demo/build/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +#============================================================================= +# Target rules for targets named Demo1 + +# Build rule for target. +Demo1: cmake_check_build_system + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 Demo1 +.PHONY : Demo1 + +# fast build rule for target. +Demo1/fast: + $(MAKE) $(MAKESILENT) -f demo1/CMakeFiles/Demo1.dir/build.make demo1/CMakeFiles/Demo1.dir/build +.PHONY : Demo1/fast + +#============================================================================= +# Target rules for targets named Demo2 + +# Build rule for target. +Demo2: cmake_check_build_system + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 Demo2 +.PHONY : Demo2 + +# fast build rule for target. +Demo2/fast: + $(MAKE) $(MAKESILENT) -f demo2/CMakeFiles/Demo2.dir/build.make demo2/CMakeFiles/Demo2.dir/build +.PHONY : Demo2/fast + +#============================================================================= +# Target rules for targets named maat + +# Build rule for target. +maat: cmake_check_build_system + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 maat +.PHONY : maat + +# fast build rule for target. +maat/fast: + $(MAKE) $(MAKESILENT) -f matt/CMakeFiles/maat.dir/build.make matt/CMakeFiles/maat.dir/build +.PHONY : maat/fast + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... rebuild_cache" + @echo "... Demo1" + @echo "... Demo2" + @echo "... maat" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/build/cmake_install.cmake b/build/cmake_install.cmake new file mode 100644 index 0000000..706d5c5 --- /dev/null +++ b/build/cmake_install.cmake @@ -0,0 +1,62 @@ +# Install script for directory: /root/Git/demo + +# 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 "Debug") + 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 "0") +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(NOT CMAKE_INSTALL_LOCAL_ONLY) + # Include the install script for each subdirectory. + include("/root/Git/demo/build/demo1/cmake_install.cmake") + include("/root/Git/demo/build/demo2/cmake_install.cmake") + include("/root/Git/demo/build/matt/cmake_install.cmake") + +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 "/root/Git/demo/build/${CMAKE_INSTALL_MANIFEST}" + "${CMAKE_INSTALL_MANIFEST_CONTENT}") diff --git a/build/compile_commands.json b/build/compile_commands.json new file mode 100644 index 0000000..bf44510 --- /dev/null +++ b/build/compile_commands.json @@ -0,0 +1,20 @@ +[ +{ + "directory": "/root/Git/demo/build/demo1", + "command": "/usr/bin/gcc -I/opt/MESA/include/MESA -g -o CMakeFiles/Demo1.dir/main.c.o -c /root/Git/demo/demo1/main.c", + "file": "/root/Git/demo/demo1/main.c", + "output": "demo1/CMakeFiles/Demo1.dir/main.c.o" +}, +{ + "directory": "/root/Git/demo/build/demo2", + "command": "/usr/bin/gcc -I/opt/MESA/include/MESA -g -o CMakeFiles/Demo2.dir/main.c.o -c /root/Git/demo/demo2/main.c", + "file": "/root/Git/demo/demo2/main.c", + "output": "demo2/CMakeFiles/Demo2.dir/main.c.o" +}, +{ + "directory": "/root/Git/demo/build/matt", + "command": "/usr/bin/gcc -I/opt/MESA/include/MESA -g -o CMakeFiles/maat.dir/main.c.o -c /root/Git/demo/matt/main.c", + "file": "/root/Git/demo/matt/main.c", + "output": "matt/CMakeFiles/maat.dir/main.c.o" +} +]
\ No newline at end of file diff --git a/build/demo1/CMakeFiles/CMakeDirectoryInformation.cmake b/build/demo1/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 0000000..b74f3db --- /dev/null +++ b/build/demo1/CMakeFiles/CMakeDirectoryInformation.cmake @@ -0,0 +1,16 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.26 + +# Relative path conversion top directories. +set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/root/Git/demo") +set(CMAKE_RELATIVE_PATH_TOP_BINARY "/root/Git/demo/build") + +# Force unix paths in dependencies. +set(CMAKE_FORCE_UNIX_PATHS 1) + + +# The C and CXX include file regular expressions for this directory. +set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") +set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") +set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) +set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) diff --git a/build/demo1/CMakeFiles/Demo1.dir/DependInfo.cmake b/build/demo1/CMakeFiles/Demo1.dir/DependInfo.cmake new file mode 100644 index 0000000..b5494ba --- /dev/null +++ b/build/demo1/CMakeFiles/Demo1.dir/DependInfo.cmake @@ -0,0 +1,19 @@ + +# Consider dependencies only in project. +set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF) + +# The set of languages for which implicit dependencies are needed: +set(CMAKE_DEPENDS_LANGUAGES + ) + +# The set of dependency files which are needed: +set(CMAKE_DEPENDS_DEPENDENCY_FILES + "/root/Git/demo/demo1/main.c" "demo1/CMakeFiles/Demo1.dir/main.c.o" "gcc" "demo1/CMakeFiles/Demo1.dir/main.c.o.d" + ) + +# Targets to which this target links which contain Fortran sources. +set(CMAKE_Fortran_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/build/demo1/CMakeFiles/Demo1.dir/build.make b/build/demo1/CMakeFiles/Demo1.dir/build.make new file mode 100644 index 0000000..283c798 --- /dev/null +++ b/build/demo1/CMakeFiles/Demo1.dir/build.make @@ -0,0 +1,110 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.26 + +# Delete rule output on recipe failure. +.DELETE_ON_ERROR: + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Disable VCS-based implicit rules. +% : %,v + +# Disable VCS-based implicit rules. +% : RCS/% + +# Disable VCS-based implicit rules. +% : RCS/%,v + +# Disable VCS-based implicit rules. +% : SCCS/s.% + +# Disable VCS-based implicit rules. +% : s.% + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Command-line flag to silence nested $(MAKE). +$(VERBOSE)MAKESILENT = -s + +#Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E rm -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /root/Git/demo + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /root/Git/demo/build + +# Include any dependencies generated for this target. +include demo1/CMakeFiles/Demo1.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include demo1/CMakeFiles/Demo1.dir/compiler_depend.make + +# Include the progress variables for this target. +include demo1/CMakeFiles/Demo1.dir/progress.make + +# Include the compile flags for this target's objects. +include demo1/CMakeFiles/Demo1.dir/flags.make + +demo1/CMakeFiles/Demo1.dir/main.c.o: demo1/CMakeFiles/Demo1.dir/flags.make +demo1/CMakeFiles/Demo1.dir/main.c.o: /root/Git/demo/demo1/main.c +demo1/CMakeFiles/Demo1.dir/main.c.o: demo1/CMakeFiles/Demo1.dir/compiler_depend.ts + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/root/Git/demo/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object demo1/CMakeFiles/Demo1.dir/main.c.o" + cd /root/Git/demo/build/demo1 && /usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT demo1/CMakeFiles/Demo1.dir/main.c.o -MF CMakeFiles/Demo1.dir/main.c.o.d -o CMakeFiles/Demo1.dir/main.c.o -c /root/Git/demo/demo1/main.c + +demo1/CMakeFiles/Demo1.dir/main.c.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/Demo1.dir/main.c.i" + cd /root/Git/demo/build/demo1 && /usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /root/Git/demo/demo1/main.c > CMakeFiles/Demo1.dir/main.c.i + +demo1/CMakeFiles/Demo1.dir/main.c.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/Demo1.dir/main.c.s" + cd /root/Git/demo/build/demo1 && /usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /root/Git/demo/demo1/main.c -o CMakeFiles/Demo1.dir/main.c.s + +# Object files for target Demo1 +Demo1_OBJECTS = \ +"CMakeFiles/Demo1.dir/main.c.o" + +# External object files for target Demo1 +Demo1_EXTERNAL_OBJECTS = + +demo1/Demo1: demo1/CMakeFiles/Demo1.dir/main.c.o +demo1/Demo1: demo1/CMakeFiles/Demo1.dir/build.make +demo1/Demo1: demo1/CMakeFiles/Demo1.dir/link.txt + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/root/Git/demo/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking C executable Demo1" + cd /root/Git/demo/build/demo1 && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/Demo1.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +demo1/CMakeFiles/Demo1.dir/build: demo1/Demo1 +.PHONY : demo1/CMakeFiles/Demo1.dir/build + +demo1/CMakeFiles/Demo1.dir/clean: + cd /root/Git/demo/build/demo1 && $(CMAKE_COMMAND) -P CMakeFiles/Demo1.dir/cmake_clean.cmake +.PHONY : demo1/CMakeFiles/Demo1.dir/clean + +demo1/CMakeFiles/Demo1.dir/depend: + cd /root/Git/demo/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /root/Git/demo /root/Git/demo/demo1 /root/Git/demo/build /root/Git/demo/build/demo1 /root/Git/demo/build/demo1/CMakeFiles/Demo1.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : demo1/CMakeFiles/Demo1.dir/depend + diff --git a/build/demo1/CMakeFiles/Demo1.dir/cmake_clean.cmake b/build/demo1/CMakeFiles/Demo1.dir/cmake_clean.cmake new file mode 100644 index 0000000..1cc7340 --- /dev/null +++ b/build/demo1/CMakeFiles/Demo1.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/Demo1.dir/main.c.o" + "CMakeFiles/Demo1.dir/main.c.o.d" + "Demo1" + "Demo1.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang C) + include(CMakeFiles/Demo1.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/build/demo1/CMakeFiles/Demo1.dir/compiler_depend.internal b/build/demo1/CMakeFiles/Demo1.dir/compiler_depend.internal new file mode 100644 index 0000000..bbbdf02 --- /dev/null +++ b/build/demo1/CMakeFiles/Demo1.dir/compiler_depend.internal @@ -0,0 +1,68 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.26 + +demo1/CMakeFiles/Demo1.dir/main.c.o + /root/Git/demo/demo1/main.c + /usr/include/stdc-predef.h + /opt/MESA/include/MESA/maat.h + /usr/lib/gcc/x86_64-redhat-linux/8/include/stdint.h + /usr/include/stdint.h + /usr/include/bits/libc-header-start.h + /usr/include/features.h + /usr/include/sys/cdefs.h + /usr/include/bits/wordsize.h + /usr/include/bits/long-double.h + /usr/include/gnu/stubs.h + /usr/include/gnu/stubs-64.h + /usr/include/bits/types.h + /usr/include/bits/typesizes.h + /usr/include/bits/wchar.h + /usr/include/bits/stdint-intn.h + /usr/include/bits/stdint-uintn.h + /usr/include/netinet/in.h + /usr/include/sys/socket.h + /usr/include/bits/types/struct_iovec.h + /usr/lib/gcc/x86_64-redhat-linux/8/include/stddef.h + /usr/include/bits/socket.h + /usr/include/sys/types.h + /usr/include/bits/types/clock_t.h + /usr/include/bits/types/clockid_t.h + /usr/include/bits/types/time_t.h + /usr/include/bits/types/timer_t.h + /usr/include/endian.h + /usr/include/bits/endian.h + /usr/include/bits/byteswap.h + /usr/include/bits/uintn-identity.h + /usr/include/sys/select.h + /usr/include/bits/select.h + /usr/include/bits/types/sigset_t.h + /usr/include/bits/types/__sigset_t.h + /usr/include/bits/types/struct_timeval.h + /usr/include/bits/types/struct_timespec.h + /usr/include/bits/pthreadtypes.h + /usr/include/bits/thread-shared-types.h + /usr/include/bits/pthreadtypes-arch.h + /usr/include/bits/socket_type.h + /usr/include/bits/sockaddr.h + /usr/include/asm/socket.h + /usr/include/asm-generic/socket.h + /usr/include/asm/sockios.h + /usr/include/asm-generic/sockios.h + /usr/include/bits/types/struct_osockaddr.h + /usr/include/bits/in.h + /usr/include/stdio.h + /usr/lib/gcc/x86_64-redhat-linux/8/include/stdarg.h + /usr/include/bits/types/__fpos_t.h + /usr/include/bits/types/__mbstate_t.h + /usr/include/bits/types/__fpos64_t.h + /usr/include/bits/types/__FILE.h + /usr/include/bits/types/FILE.h + /usr/include/bits/types/struct_FILE.h + /usr/include/bits/stdio_lim.h + /usr/include/bits/sys_errlist.h + /usr/include/assert.h + /usr/include/string.h + /usr/include/bits/types/locale_t.h + /usr/include/bits/types/__locale_t.h + /usr/include/strings.h + diff --git a/build/demo1/CMakeFiles/Demo1.dir/compiler_depend.make b/build/demo1/CMakeFiles/Demo1.dir/compiler_depend.make new file mode 100644 index 0000000..01f60c3 --- /dev/null +++ b/build/demo1/CMakeFiles/Demo1.dir/compiler_depend.make @@ -0,0 +1,193 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.26 + +demo1/CMakeFiles/Demo1.dir/main.c.o: /root/Git/demo/demo1/main.c \ + /usr/include/stdc-predef.h \ + /opt/MESA/include/MESA/maat.h \ + /usr/lib/gcc/x86_64-redhat-linux/8/include/stdint.h \ + /usr/include/stdint.h \ + /usr/include/bits/libc-header-start.h \ + /usr/include/features.h \ + /usr/include/sys/cdefs.h \ + /usr/include/bits/wordsize.h \ + /usr/include/bits/long-double.h \ + /usr/include/gnu/stubs.h \ + /usr/include/gnu/stubs-64.h \ + /usr/include/bits/types.h \ + /usr/include/bits/typesizes.h \ + /usr/include/bits/wchar.h \ + /usr/include/bits/stdint-intn.h \ + /usr/include/bits/stdint-uintn.h \ + /usr/include/netinet/in.h \ + /usr/include/sys/socket.h \ + /usr/include/bits/types/struct_iovec.h \ + /usr/lib/gcc/x86_64-redhat-linux/8/include/stddef.h \ + /usr/include/bits/socket.h \ + /usr/include/sys/types.h \ + /usr/include/bits/types/clock_t.h \ + /usr/include/bits/types/clockid_t.h \ + /usr/include/bits/types/time_t.h \ + /usr/include/bits/types/timer_t.h \ + /usr/include/endian.h \ + /usr/include/bits/endian.h \ + /usr/include/bits/byteswap.h \ + /usr/include/bits/uintn-identity.h \ + /usr/include/sys/select.h \ + /usr/include/bits/select.h \ + /usr/include/bits/types/sigset_t.h \ + /usr/include/bits/types/__sigset_t.h \ + /usr/include/bits/types/struct_timeval.h \ + /usr/include/bits/types/struct_timespec.h \ + /usr/include/bits/pthreadtypes.h \ + /usr/include/bits/thread-shared-types.h \ + /usr/include/bits/pthreadtypes-arch.h \ + /usr/include/bits/socket_type.h \ + /usr/include/bits/sockaddr.h \ + /usr/include/asm/socket.h \ + /usr/include/asm-generic/socket.h \ + /usr/include/asm/sockios.h \ + /usr/include/asm-generic/sockios.h \ + /usr/include/bits/types/struct_osockaddr.h \ + /usr/include/bits/in.h \ + /usr/include/stdio.h \ + /usr/lib/gcc/x86_64-redhat-linux/8/include/stdarg.h \ + /usr/include/bits/types/__fpos_t.h \ + /usr/include/bits/types/__mbstate_t.h \ + /usr/include/bits/types/__fpos64_t.h \ + /usr/include/bits/types/__FILE.h \ + /usr/include/bits/types/FILE.h \ + /usr/include/bits/types/struct_FILE.h \ + /usr/include/bits/stdio_lim.h \ + /usr/include/bits/sys_errlist.h \ + /usr/include/assert.h \ + /usr/include/string.h \ + /usr/include/bits/types/locale_t.h \ + /usr/include/bits/types/__locale_t.h \ + /usr/include/strings.h + + +/usr/include/string.h: + +/usr/include/assert.h: + +/usr/include/bits/sys_errlist.h: + +/usr/include/bits/stdio_lim.h: + +/usr/include/bits/types/FILE.h: + +/usr/include/bits/types/__FILE.h: + +/usr/include/bits/types/__mbstate_t.h: + +/usr/include/bits/types/__fpos_t.h: + +/usr/lib/gcc/x86_64-redhat-linux/8/include/stdarg.h: + +/usr/include/stdio.h: + +/usr/include/bits/in.h: + +/usr/include/bits/types/struct_FILE.h: + +/usr/include/bits/types/struct_osockaddr.h: + +/usr/include/asm-generic/sockios.h: + +/usr/include/asm/socket.h: + +/usr/include/asm-generic/socket.h: + +/usr/include/bits/sockaddr.h: + +/usr/include/bits/pthreadtypes-arch.h: + +/usr/include/bits/types/__fpos64_t.h: + +/usr/include/bits/thread-shared-types.h: + +/usr/include/bits/pthreadtypes.h: + +/usr/include/bits/types/struct_timespec.h: + +/usr/include/bits/typesizes.h: + +/usr/include/bits/wordsize.h: + +/usr/include/bits/stdint-intn.h: + +/opt/MESA/include/MESA/maat.h: + +/usr/include/bits/socket.h: + +/usr/include/bits/byteswap.h: + +/usr/include/bits/types/__sigset_t.h: + +/usr/lib/gcc/x86_64-redhat-linux/8/include/stdint.h: + +/usr/include/gnu/stubs.h: + +/usr/include/stdc-predef.h: + +/usr/include/bits/wchar.h: + +/usr/include/asm/sockios.h: + +/usr/include/sys/cdefs.h: + +/usr/include/bits/types/sigset_t.h: + +/usr/include/features.h: + +/usr/include/bits/long-double.h: + +/usr/include/stdint.h: + +/usr/include/gnu/stubs-64.h: + +/usr/include/bits/select.h: + +/usr/include/bits/types/locale_t.h: + +/usr/include/netinet/in.h: + +/usr/include/sys/socket.h: + +/usr/include/bits/types/timer_t.h: + +/usr/include/bits/types/__locale_t.h: + +/usr/include/bits/socket_type.h: + +/usr/lib/gcc/x86_64-redhat-linux/8/include/stddef.h: + +/usr/include/strings.h: + +/usr/include/sys/types.h: + +/usr/include/bits/types/clockid_t.h: + +/usr/include/bits/types/struct_iovec.h: + +/usr/include/bits/stdint-uintn.h: + +/usr/include/bits/types/clock_t.h: + +/usr/include/bits/types.h: + +/usr/include/endian.h: + +/root/Git/demo/demo1/main.c: + +/usr/include/bits/types/struct_timeval.h: + +/usr/include/bits/endian.h: + +/usr/include/bits/libc-header-start.h: + +/usr/include/bits/types/time_t.h: + +/usr/include/bits/uintn-identity.h: + +/usr/include/sys/select.h: diff --git a/build/demo1/CMakeFiles/Demo1.dir/compiler_depend.ts b/build/demo1/CMakeFiles/Demo1.dir/compiler_depend.ts new file mode 100644 index 0000000..b9232b3 --- /dev/null +++ b/build/demo1/CMakeFiles/Demo1.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for Demo1. diff --git a/build/demo1/CMakeFiles/Demo1.dir/depend.make b/build/demo1/CMakeFiles/Demo1.dir/depend.make new file mode 100644 index 0000000..6303d52 --- /dev/null +++ b/build/demo1/CMakeFiles/Demo1.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for Demo1. +# This may be replaced when dependencies are built. diff --git a/build/demo1/CMakeFiles/Demo1.dir/flags.make b/build/demo1/CMakeFiles/Demo1.dir/flags.make new file mode 100644 index 0000000..35f9322 --- /dev/null +++ b/build/demo1/CMakeFiles/Demo1.dir/flags.make @@ -0,0 +1,10 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.26 + +# compile C with /usr/bin/gcc +C_DEFINES = + +C_INCLUDES = -I/opt/MESA/include/MESA + +C_FLAGS = -g + diff --git a/build/demo1/CMakeFiles/Demo1.dir/link.txt b/build/demo1/CMakeFiles/Demo1.dir/link.txt new file mode 100644 index 0000000..1ce9785 --- /dev/null +++ b/build/demo1/CMakeFiles/Demo1.dir/link.txt @@ -0,0 +1 @@ +/usr/bin/gcc -g CMakeFiles/Demo1.dir/main.c.o -o Demo1 -L/opt/MESA/lib -Wl,-rpath,/opt/MESA/lib -lmaatframe -lfieldstat4 diff --git a/build/demo1/CMakeFiles/Demo1.dir/main.c.o b/build/demo1/CMakeFiles/Demo1.dir/main.c.o Binary files differnew file mode 100644 index 0000000..aca75ec --- /dev/null +++ b/build/demo1/CMakeFiles/Demo1.dir/main.c.o diff --git a/build/demo1/CMakeFiles/Demo1.dir/main.c.o.d b/build/demo1/CMakeFiles/Demo1.dir/main.c.o.d new file mode 100644 index 0000000..da3f6fa --- /dev/null +++ b/build/demo1/CMakeFiles/Demo1.dir/main.c.o.d @@ -0,0 +1,35 @@ +demo1/CMakeFiles/Demo1.dir/main.c.o: /root/Git/demo/demo1/main.c \ + /usr/include/stdc-predef.h /opt/MESA/include/MESA/maat.h \ + /usr/lib/gcc/x86_64-redhat-linux/8/include/stdint.h \ + /usr/include/stdint.h /usr/include/bits/libc-header-start.h \ + /usr/include/features.h /usr/include/sys/cdefs.h \ + /usr/include/bits/wordsize.h /usr/include/bits/long-double.h \ + /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ + /usr/include/bits/types.h /usr/include/bits/typesizes.h \ + /usr/include/bits/wchar.h /usr/include/bits/stdint-intn.h \ + /usr/include/bits/stdint-uintn.h /usr/include/netinet/in.h \ + /usr/include/sys/socket.h /usr/include/bits/types/struct_iovec.h \ + /usr/lib/gcc/x86_64-redhat-linux/8/include/stddef.h \ + /usr/include/bits/socket.h /usr/include/sys/types.h \ + /usr/include/bits/types/clock_t.h /usr/include/bits/types/clockid_t.h \ + /usr/include/bits/types/time_t.h /usr/include/bits/types/timer_t.h \ + /usr/include/endian.h /usr/include/bits/endian.h \ + /usr/include/bits/byteswap.h /usr/include/bits/uintn-identity.h \ + /usr/include/sys/select.h /usr/include/bits/select.h \ + /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \ + /usr/include/bits/types/struct_timeval.h \ + /usr/include/bits/types/struct_timespec.h \ + /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \ + /usr/include/bits/pthreadtypes-arch.h /usr/include/bits/socket_type.h \ + /usr/include/bits/sockaddr.h /usr/include/asm/socket.h \ + /usr/include/asm-generic/socket.h /usr/include/asm/sockios.h \ + /usr/include/asm-generic/sockios.h \ + /usr/include/bits/types/struct_osockaddr.h /usr/include/bits/in.h \ + /usr/include/stdio.h /usr/lib/gcc/x86_64-redhat-linux/8/include/stdarg.h \ + /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \ + /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \ + /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \ + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ + /usr/include/assert.h /usr/include/string.h \ + /usr/include/bits/types/locale_t.h /usr/include/bits/types/__locale_t.h \ + /usr/include/strings.h diff --git a/build/demo1/CMakeFiles/Demo1.dir/progress.make b/build/demo1/CMakeFiles/Demo1.dir/progress.make new file mode 100644 index 0000000..abadeb0 --- /dev/null +++ b/build/demo1/CMakeFiles/Demo1.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 1 +CMAKE_PROGRESS_2 = 2 + diff --git a/build/demo1/CMakeFiles/progress.marks b/build/demo1/CMakeFiles/progress.marks new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/build/demo1/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/build/demo1/Demo1 b/build/demo1/Demo1 Binary files differnew file mode 100755 index 0000000..df682c8 --- /dev/null +++ b/build/demo1/Demo1 diff --git a/build/demo1/Makefile b/build/demo1/Makefile new file mode 100644 index 0000000..8e62ffb --- /dev/null +++ b/build/demo1/Makefile @@ -0,0 +1,182 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.26 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +# Allow only one "make -f Makefile2" at a time, but pass parallelism. +.NOTPARALLEL: + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Disable VCS-based implicit rules. +% : %,v + +# Disable VCS-based implicit rules. +% : RCS/% + +# Disable VCS-based implicit rules. +% : RCS/%,v + +# Disable VCS-based implicit rules. +% : SCCS/s.% + +# Disable VCS-based implicit rules. +% : s.% + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Command-line flag to silence nested $(MAKE). +$(VERBOSE)MAKESILENT = -s + +#Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E rm -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /root/Git/demo + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /root/Git/demo/build + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /usr/bin/ccmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /root/Git/demo/build && $(CMAKE_COMMAND) -E cmake_progress_start /root/Git/demo/build/CMakeFiles /root/Git/demo/build/demo1//CMakeFiles/progress.marks + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 demo1/all + $(CMAKE_COMMAND) -E cmake_progress_start /root/Git/demo/build/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 demo1/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 demo1/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 demo1/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /root/Git/demo/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +demo1/CMakeFiles/Demo1.dir/rule: + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 demo1/CMakeFiles/Demo1.dir/rule +.PHONY : demo1/CMakeFiles/Demo1.dir/rule + +# Convenience name for target. +Demo1: demo1/CMakeFiles/Demo1.dir/rule +.PHONY : Demo1 + +# fast build rule for target. +Demo1/fast: + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f demo1/CMakeFiles/Demo1.dir/build.make demo1/CMakeFiles/Demo1.dir/build +.PHONY : Demo1/fast + +main.o: main.c.o +.PHONY : main.o + +# target to build an object file +main.c.o: + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f demo1/CMakeFiles/Demo1.dir/build.make demo1/CMakeFiles/Demo1.dir/main.c.o +.PHONY : main.c.o + +main.i: main.c.i +.PHONY : main.i + +# target to preprocess a source file +main.c.i: + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f demo1/CMakeFiles/Demo1.dir/build.make demo1/CMakeFiles/Demo1.dir/main.c.i +.PHONY : main.c.i + +main.s: main.c.s +.PHONY : main.s + +# target to generate assembly for a file +main.c.s: + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f demo1/CMakeFiles/Demo1.dir/build.make demo1/CMakeFiles/Demo1.dir/main.c.s +.PHONY : main.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... rebuild_cache" + @echo "... Demo1" + @echo "... main.o" + @echo "... main.i" + @echo "... main.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /root/Git/demo/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/build/demo1/cmake_install.cmake b/build/demo1/cmake_install.cmake new file mode 100644 index 0000000..dcc67d2 --- /dev/null +++ b/build/demo1/cmake_install.cmake @@ -0,0 +1,44 @@ +# Install script for directory: /root/Git/demo/demo1 + +# 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 "Debug") + 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 "0") +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() + diff --git a/build/demo2/CMakeFiles/CMakeDirectoryInformation.cmake b/build/demo2/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 0000000..b74f3db --- /dev/null +++ b/build/demo2/CMakeFiles/CMakeDirectoryInformation.cmake @@ -0,0 +1,16 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.26 + +# Relative path conversion top directories. +set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/root/Git/demo") +set(CMAKE_RELATIVE_PATH_TOP_BINARY "/root/Git/demo/build") + +# Force unix paths in dependencies. +set(CMAKE_FORCE_UNIX_PATHS 1) + + +# The C and CXX include file regular expressions for this directory. +set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") +set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") +set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) +set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) diff --git a/build/demo2/CMakeFiles/Demo2.dir/DependInfo.cmake b/build/demo2/CMakeFiles/Demo2.dir/DependInfo.cmake new file mode 100644 index 0000000..02be5db --- /dev/null +++ b/build/demo2/CMakeFiles/Demo2.dir/DependInfo.cmake @@ -0,0 +1,19 @@ + +# Consider dependencies only in project. +set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF) + +# The set of languages for which implicit dependencies are needed: +set(CMAKE_DEPENDS_LANGUAGES + ) + +# The set of dependency files which are needed: +set(CMAKE_DEPENDS_DEPENDENCY_FILES + "/root/Git/demo/demo2/main.c" "demo2/CMakeFiles/Demo2.dir/main.c.o" "gcc" "demo2/CMakeFiles/Demo2.dir/main.c.o.d" + ) + +# Targets to which this target links which contain Fortran sources. +set(CMAKE_Fortran_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/build/demo2/CMakeFiles/Demo2.dir/build.make b/build/demo2/CMakeFiles/Demo2.dir/build.make new file mode 100644 index 0000000..b39f731 --- /dev/null +++ b/build/demo2/CMakeFiles/Demo2.dir/build.make @@ -0,0 +1,110 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.26 + +# Delete rule output on recipe failure. +.DELETE_ON_ERROR: + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Disable VCS-based implicit rules. +% : %,v + +# Disable VCS-based implicit rules. +% : RCS/% + +# Disable VCS-based implicit rules. +% : RCS/%,v + +# Disable VCS-based implicit rules. +% : SCCS/s.% + +# Disable VCS-based implicit rules. +% : s.% + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Command-line flag to silence nested $(MAKE). +$(VERBOSE)MAKESILENT = -s + +#Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E rm -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /root/Git/demo + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /root/Git/demo/build + +# Include any dependencies generated for this target. +include demo2/CMakeFiles/Demo2.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include demo2/CMakeFiles/Demo2.dir/compiler_depend.make + +# Include the progress variables for this target. +include demo2/CMakeFiles/Demo2.dir/progress.make + +# Include the compile flags for this target's objects. +include demo2/CMakeFiles/Demo2.dir/flags.make + +demo2/CMakeFiles/Demo2.dir/main.c.o: demo2/CMakeFiles/Demo2.dir/flags.make +demo2/CMakeFiles/Demo2.dir/main.c.o: /root/Git/demo/demo2/main.c +demo2/CMakeFiles/Demo2.dir/main.c.o: demo2/CMakeFiles/Demo2.dir/compiler_depend.ts + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/root/Git/demo/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object demo2/CMakeFiles/Demo2.dir/main.c.o" + cd /root/Git/demo/build/demo2 && /usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT demo2/CMakeFiles/Demo2.dir/main.c.o -MF CMakeFiles/Demo2.dir/main.c.o.d -o CMakeFiles/Demo2.dir/main.c.o -c /root/Git/demo/demo2/main.c + +demo2/CMakeFiles/Demo2.dir/main.c.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/Demo2.dir/main.c.i" + cd /root/Git/demo/build/demo2 && /usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /root/Git/demo/demo2/main.c > CMakeFiles/Demo2.dir/main.c.i + +demo2/CMakeFiles/Demo2.dir/main.c.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/Demo2.dir/main.c.s" + cd /root/Git/demo/build/demo2 && /usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /root/Git/demo/demo2/main.c -o CMakeFiles/Demo2.dir/main.c.s + +# Object files for target Demo2 +Demo2_OBJECTS = \ +"CMakeFiles/Demo2.dir/main.c.o" + +# External object files for target Demo2 +Demo2_EXTERNAL_OBJECTS = + +demo2/Demo2: demo2/CMakeFiles/Demo2.dir/main.c.o +demo2/Demo2: demo2/CMakeFiles/Demo2.dir/build.make +demo2/Demo2: demo2/CMakeFiles/Demo2.dir/link.txt + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/root/Git/demo/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking C executable Demo2" + cd /root/Git/demo/build/demo2 && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/Demo2.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +demo2/CMakeFiles/Demo2.dir/build: demo2/Demo2 +.PHONY : demo2/CMakeFiles/Demo2.dir/build + +demo2/CMakeFiles/Demo2.dir/clean: + cd /root/Git/demo/build/demo2 && $(CMAKE_COMMAND) -P CMakeFiles/Demo2.dir/cmake_clean.cmake +.PHONY : demo2/CMakeFiles/Demo2.dir/clean + +demo2/CMakeFiles/Demo2.dir/depend: + cd /root/Git/demo/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /root/Git/demo /root/Git/demo/demo2 /root/Git/demo/build /root/Git/demo/build/demo2 /root/Git/demo/build/demo2/CMakeFiles/Demo2.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : demo2/CMakeFiles/Demo2.dir/depend + diff --git a/build/demo2/CMakeFiles/Demo2.dir/cmake_clean.cmake b/build/demo2/CMakeFiles/Demo2.dir/cmake_clean.cmake new file mode 100644 index 0000000..e71fe2f --- /dev/null +++ b/build/demo2/CMakeFiles/Demo2.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/Demo2.dir/main.c.o" + "CMakeFiles/Demo2.dir/main.c.o.d" + "Demo2" + "Demo2.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang C) + include(CMakeFiles/Demo2.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/build/demo2/CMakeFiles/Demo2.dir/compiler_depend.make b/build/demo2/CMakeFiles/Demo2.dir/compiler_depend.make new file mode 100644 index 0000000..118c25b --- /dev/null +++ b/build/demo2/CMakeFiles/Demo2.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for Demo2. +# This may be replaced when dependencies are built. diff --git a/build/demo2/CMakeFiles/Demo2.dir/compiler_depend.ts b/build/demo2/CMakeFiles/Demo2.dir/compiler_depend.ts new file mode 100644 index 0000000..9d1a3ca --- /dev/null +++ b/build/demo2/CMakeFiles/Demo2.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for Demo2. diff --git a/build/demo2/CMakeFiles/Demo2.dir/depend.make b/build/demo2/CMakeFiles/Demo2.dir/depend.make new file mode 100644 index 0000000..8611753 --- /dev/null +++ b/build/demo2/CMakeFiles/Demo2.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for Demo2. +# This may be replaced when dependencies are built. diff --git a/build/demo2/CMakeFiles/Demo2.dir/flags.make b/build/demo2/CMakeFiles/Demo2.dir/flags.make new file mode 100644 index 0000000..35f9322 --- /dev/null +++ b/build/demo2/CMakeFiles/Demo2.dir/flags.make @@ -0,0 +1,10 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.26 + +# compile C with /usr/bin/gcc +C_DEFINES = + +C_INCLUDES = -I/opt/MESA/include/MESA + +C_FLAGS = -g + diff --git a/build/demo2/CMakeFiles/Demo2.dir/link.txt b/build/demo2/CMakeFiles/Demo2.dir/link.txt new file mode 100644 index 0000000..ece2096 --- /dev/null +++ b/build/demo2/CMakeFiles/Demo2.dir/link.txt @@ -0,0 +1 @@ +/usr/bin/gcc -g CMakeFiles/Demo2.dir/main.c.o -o Demo2 -L/opt/MESA/lib -Wl,-rpath,/opt/MESA/lib -lmaatframe -lfieldstat4 diff --git a/build/demo2/CMakeFiles/Demo2.dir/progress.make b/build/demo2/CMakeFiles/Demo2.dir/progress.make new file mode 100644 index 0000000..8c8fb6f --- /dev/null +++ b/build/demo2/CMakeFiles/Demo2.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 3 +CMAKE_PROGRESS_2 = 4 + diff --git a/build/demo2/CMakeFiles/progress.marks b/build/demo2/CMakeFiles/progress.marks new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/build/demo2/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/build/demo2/Makefile b/build/demo2/Makefile new file mode 100644 index 0000000..64e2c8c --- /dev/null +++ b/build/demo2/Makefile @@ -0,0 +1,182 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.26 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +# Allow only one "make -f Makefile2" at a time, but pass parallelism. +.NOTPARALLEL: + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Disable VCS-based implicit rules. +% : %,v + +# Disable VCS-based implicit rules. +% : RCS/% + +# Disable VCS-based implicit rules. +% : RCS/%,v + +# Disable VCS-based implicit rules. +% : SCCS/s.% + +# Disable VCS-based implicit rules. +% : s.% + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Command-line flag to silence nested $(MAKE). +$(VERBOSE)MAKESILENT = -s + +#Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E rm -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /root/Git/demo + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /root/Git/demo/build + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /usr/bin/ccmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /root/Git/demo/build && $(CMAKE_COMMAND) -E cmake_progress_start /root/Git/demo/build/CMakeFiles /root/Git/demo/build/demo2//CMakeFiles/progress.marks + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 demo2/all + $(CMAKE_COMMAND) -E cmake_progress_start /root/Git/demo/build/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 demo2/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 demo2/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 demo2/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /root/Git/demo/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +demo2/CMakeFiles/Demo2.dir/rule: + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 demo2/CMakeFiles/Demo2.dir/rule +.PHONY : demo2/CMakeFiles/Demo2.dir/rule + +# Convenience name for target. +Demo2: demo2/CMakeFiles/Demo2.dir/rule +.PHONY : Demo2 + +# fast build rule for target. +Demo2/fast: + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f demo2/CMakeFiles/Demo2.dir/build.make demo2/CMakeFiles/Demo2.dir/build +.PHONY : Demo2/fast + +main.o: main.c.o +.PHONY : main.o + +# target to build an object file +main.c.o: + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f demo2/CMakeFiles/Demo2.dir/build.make demo2/CMakeFiles/Demo2.dir/main.c.o +.PHONY : main.c.o + +main.i: main.c.i +.PHONY : main.i + +# target to preprocess a source file +main.c.i: + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f demo2/CMakeFiles/Demo2.dir/build.make demo2/CMakeFiles/Demo2.dir/main.c.i +.PHONY : main.c.i + +main.s: main.c.s +.PHONY : main.s + +# target to generate assembly for a file +main.c.s: + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f demo2/CMakeFiles/Demo2.dir/build.make demo2/CMakeFiles/Demo2.dir/main.c.s +.PHONY : main.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... rebuild_cache" + @echo "... Demo2" + @echo "... main.o" + @echo "... main.i" + @echo "... main.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /root/Git/demo/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/build/demo2/cmake_install.cmake b/build/demo2/cmake_install.cmake new file mode 100644 index 0000000..f66b099 --- /dev/null +++ b/build/demo2/cmake_install.cmake @@ -0,0 +1,44 @@ +# Install script for directory: /root/Git/demo/demo2 + +# 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 "Debug") + 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 "0") +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() + diff --git a/build/matt/CMakeFiles/CMakeDirectoryInformation.cmake b/build/matt/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 0000000..b74f3db --- /dev/null +++ b/build/matt/CMakeFiles/CMakeDirectoryInformation.cmake @@ -0,0 +1,16 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.26 + +# Relative path conversion top directories. +set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/root/Git/demo") +set(CMAKE_RELATIVE_PATH_TOP_BINARY "/root/Git/demo/build") + +# Force unix paths in dependencies. +set(CMAKE_FORCE_UNIX_PATHS 1) + + +# The C and CXX include file regular expressions for this directory. +set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") +set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") +set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) +set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) diff --git a/build/matt/CMakeFiles/maat.dir/DependInfo.cmake b/build/matt/CMakeFiles/maat.dir/DependInfo.cmake new file mode 100644 index 0000000..876f73e --- /dev/null +++ b/build/matt/CMakeFiles/maat.dir/DependInfo.cmake @@ -0,0 +1,19 @@ + +# Consider dependencies only in project. +set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF) + +# The set of languages for which implicit dependencies are needed: +set(CMAKE_DEPENDS_LANGUAGES + ) + +# The set of dependency files which are needed: +set(CMAKE_DEPENDS_DEPENDENCY_FILES + "/root/Git/demo/matt/main.c" "matt/CMakeFiles/maat.dir/main.c.o" "gcc" "matt/CMakeFiles/maat.dir/main.c.o.d" + ) + +# Targets to which this target links which contain Fortran sources. +set(CMAKE_Fortran_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/build/matt/CMakeFiles/maat.dir/build.make b/build/matt/CMakeFiles/maat.dir/build.make new file mode 100644 index 0000000..6371f2b --- /dev/null +++ b/build/matt/CMakeFiles/maat.dir/build.make @@ -0,0 +1,110 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.26 + +# Delete rule output on recipe failure. +.DELETE_ON_ERROR: + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Disable VCS-based implicit rules. +% : %,v + +# Disable VCS-based implicit rules. +% : RCS/% + +# Disable VCS-based implicit rules. +% : RCS/%,v + +# Disable VCS-based implicit rules. +% : SCCS/s.% + +# Disable VCS-based implicit rules. +% : s.% + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Command-line flag to silence nested $(MAKE). +$(VERBOSE)MAKESILENT = -s + +#Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E rm -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /root/Git/demo + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /root/Git/demo/build + +# Include any dependencies generated for this target. +include matt/CMakeFiles/maat.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include matt/CMakeFiles/maat.dir/compiler_depend.make + +# Include the progress variables for this target. +include matt/CMakeFiles/maat.dir/progress.make + +# Include the compile flags for this target's objects. +include matt/CMakeFiles/maat.dir/flags.make + +matt/CMakeFiles/maat.dir/main.c.o: matt/CMakeFiles/maat.dir/flags.make +matt/CMakeFiles/maat.dir/main.c.o: /root/Git/demo/matt/main.c +matt/CMakeFiles/maat.dir/main.c.o: matt/CMakeFiles/maat.dir/compiler_depend.ts + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/root/Git/demo/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object matt/CMakeFiles/maat.dir/main.c.o" + cd /root/Git/demo/build/matt && /usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT matt/CMakeFiles/maat.dir/main.c.o -MF CMakeFiles/maat.dir/main.c.o.d -o CMakeFiles/maat.dir/main.c.o -c /root/Git/demo/matt/main.c + +matt/CMakeFiles/maat.dir/main.c.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/maat.dir/main.c.i" + cd /root/Git/demo/build/matt && /usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /root/Git/demo/matt/main.c > CMakeFiles/maat.dir/main.c.i + +matt/CMakeFiles/maat.dir/main.c.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/maat.dir/main.c.s" + cd /root/Git/demo/build/matt && /usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /root/Git/demo/matt/main.c -o CMakeFiles/maat.dir/main.c.s + +# Object files for target maat +maat_OBJECTS = \ +"CMakeFiles/maat.dir/main.c.o" + +# External object files for target maat +maat_EXTERNAL_OBJECTS = + +matt/maat: matt/CMakeFiles/maat.dir/main.c.o +matt/maat: matt/CMakeFiles/maat.dir/build.make +matt/maat: matt/CMakeFiles/maat.dir/link.txt + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/root/Git/demo/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking C executable maat" + cd /root/Git/demo/build/matt && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/maat.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +matt/CMakeFiles/maat.dir/build: matt/maat +.PHONY : matt/CMakeFiles/maat.dir/build + +matt/CMakeFiles/maat.dir/clean: + cd /root/Git/demo/build/matt && $(CMAKE_COMMAND) -P CMakeFiles/maat.dir/cmake_clean.cmake +.PHONY : matt/CMakeFiles/maat.dir/clean + +matt/CMakeFiles/maat.dir/depend: + cd /root/Git/demo/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /root/Git/demo /root/Git/demo/matt /root/Git/demo/build /root/Git/demo/build/matt /root/Git/demo/build/matt/CMakeFiles/maat.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : matt/CMakeFiles/maat.dir/depend + diff --git a/build/matt/CMakeFiles/maat.dir/cmake_clean.cmake b/build/matt/CMakeFiles/maat.dir/cmake_clean.cmake new file mode 100644 index 0000000..5a0b34f --- /dev/null +++ b/build/matt/CMakeFiles/maat.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/maat.dir/main.c.o" + "CMakeFiles/maat.dir/main.c.o.d" + "maat" + "maat.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang C) + include(CMakeFiles/maat.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/build/matt/CMakeFiles/maat.dir/compiler_depend.internal b/build/matt/CMakeFiles/maat.dir/compiler_depend.internal new file mode 100644 index 0000000..bb37b05 --- /dev/null +++ b/build/matt/CMakeFiles/maat.dir/compiler_depend.internal @@ -0,0 +1,69 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.26 + +matt/CMakeFiles/maat.dir/main.c.o + /root/Git/demo/matt/main.c + /usr/include/stdc-predef.h + /opt/MESA/include/MESA/maat.h + /usr/lib/gcc/x86_64-redhat-linux/8/include/stdint.h + /usr/include/stdint.h + /usr/include/bits/libc-header-start.h + /usr/include/features.h + /usr/include/sys/cdefs.h + /usr/include/bits/wordsize.h + /usr/include/bits/long-double.h + /usr/include/gnu/stubs.h + /usr/include/gnu/stubs-64.h + /usr/include/bits/types.h + /usr/include/bits/typesizes.h + /usr/include/bits/wchar.h + /usr/include/bits/stdint-intn.h + /usr/include/bits/stdint-uintn.h + /usr/include/netinet/in.h + /usr/include/sys/socket.h + /usr/include/bits/types/struct_iovec.h + /usr/lib/gcc/x86_64-redhat-linux/8/include/stddef.h + /usr/include/bits/socket.h + /usr/include/sys/types.h + /usr/include/bits/types/clock_t.h + /usr/include/bits/types/clockid_t.h + /usr/include/bits/types/time_t.h + /usr/include/bits/types/timer_t.h + /usr/include/endian.h + /usr/include/bits/endian.h + /usr/include/bits/byteswap.h + /usr/include/bits/uintn-identity.h + /usr/include/sys/select.h + /usr/include/bits/select.h + /usr/include/bits/types/sigset_t.h + /usr/include/bits/types/__sigset_t.h + /usr/include/bits/types/struct_timeval.h + /usr/include/bits/types/struct_timespec.h + /usr/include/bits/pthreadtypes.h + /usr/include/bits/thread-shared-types.h + /usr/include/bits/pthreadtypes-arch.h + /usr/include/bits/socket_type.h + /usr/include/bits/sockaddr.h + /usr/include/asm/socket.h + /usr/include/asm-generic/socket.h + /usr/include/asm/sockios.h + /usr/include/asm-generic/sockios.h + /usr/include/bits/types/struct_osockaddr.h + /usr/include/bits/in.h + /usr/include/stdio.h + /usr/lib/gcc/x86_64-redhat-linux/8/include/stdarg.h + /usr/include/bits/types/__fpos_t.h + /usr/include/bits/types/__mbstate_t.h + /usr/include/bits/types/__fpos64_t.h + /usr/include/bits/types/__FILE.h + /usr/include/bits/types/FILE.h + /usr/include/bits/types/struct_FILE.h + /usr/include/bits/stdio_lim.h + /usr/include/bits/sys_errlist.h + /usr/include/arpa/inet.h + /usr/include/assert.h + /usr/include/string.h + /usr/include/bits/types/locale_t.h + /usr/include/bits/types/__locale_t.h + /usr/include/strings.h + diff --git a/build/matt/CMakeFiles/maat.dir/compiler_depend.make b/build/matt/CMakeFiles/maat.dir/compiler_depend.make new file mode 100644 index 0000000..c2e8731 --- /dev/null +++ b/build/matt/CMakeFiles/maat.dir/compiler_depend.make @@ -0,0 +1,196 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.26 + +matt/CMakeFiles/maat.dir/main.c.o: /root/Git/demo/matt/main.c \ + /usr/include/stdc-predef.h \ + /opt/MESA/include/MESA/maat.h \ + /usr/lib/gcc/x86_64-redhat-linux/8/include/stdint.h \ + /usr/include/stdint.h \ + /usr/include/bits/libc-header-start.h \ + /usr/include/features.h \ + /usr/include/sys/cdefs.h \ + /usr/include/bits/wordsize.h \ + /usr/include/bits/long-double.h \ + /usr/include/gnu/stubs.h \ + /usr/include/gnu/stubs-64.h \ + /usr/include/bits/types.h \ + /usr/include/bits/typesizes.h \ + /usr/include/bits/wchar.h \ + /usr/include/bits/stdint-intn.h \ + /usr/include/bits/stdint-uintn.h \ + /usr/include/netinet/in.h \ + /usr/include/sys/socket.h \ + /usr/include/bits/types/struct_iovec.h \ + /usr/lib/gcc/x86_64-redhat-linux/8/include/stddef.h \ + /usr/include/bits/socket.h \ + /usr/include/sys/types.h \ + /usr/include/bits/types/clock_t.h \ + /usr/include/bits/types/clockid_t.h \ + /usr/include/bits/types/time_t.h \ + /usr/include/bits/types/timer_t.h \ + /usr/include/endian.h \ + /usr/include/bits/endian.h \ + /usr/include/bits/byteswap.h \ + /usr/include/bits/uintn-identity.h \ + /usr/include/sys/select.h \ + /usr/include/bits/select.h \ + /usr/include/bits/types/sigset_t.h \ + /usr/include/bits/types/__sigset_t.h \ + /usr/include/bits/types/struct_timeval.h \ + /usr/include/bits/types/struct_timespec.h \ + /usr/include/bits/pthreadtypes.h \ + /usr/include/bits/thread-shared-types.h \ + /usr/include/bits/pthreadtypes-arch.h \ + /usr/include/bits/socket_type.h \ + /usr/include/bits/sockaddr.h \ + /usr/include/asm/socket.h \ + /usr/include/asm-generic/socket.h \ + /usr/include/asm/sockios.h \ + /usr/include/asm-generic/sockios.h \ + /usr/include/bits/types/struct_osockaddr.h \ + /usr/include/bits/in.h \ + /usr/include/stdio.h \ + /usr/lib/gcc/x86_64-redhat-linux/8/include/stdarg.h \ + /usr/include/bits/types/__fpos_t.h \ + /usr/include/bits/types/__mbstate_t.h \ + /usr/include/bits/types/__fpos64_t.h \ + /usr/include/bits/types/__FILE.h \ + /usr/include/bits/types/FILE.h \ + /usr/include/bits/types/struct_FILE.h \ + /usr/include/bits/stdio_lim.h \ + /usr/include/bits/sys_errlist.h \ + /usr/include/arpa/inet.h \ + /usr/include/assert.h \ + /usr/include/string.h \ + /usr/include/bits/types/locale_t.h \ + /usr/include/bits/types/__locale_t.h \ + /usr/include/strings.h + + +/usr/include/string.h: + +/usr/include/assert.h: + +/usr/include/arpa/inet.h: + +/usr/include/bits/sys_errlist.h: + +/usr/include/bits/stdio_lim.h: + +/usr/include/bits/types/FILE.h: + +/usr/include/bits/types/__FILE.h: + +/usr/include/bits/types/__mbstate_t.h: + +/usr/include/bits/types/__fpos_t.h: + +/usr/lib/gcc/x86_64-redhat-linux/8/include/stdarg.h: + +/usr/include/stdio.h: + +/usr/include/bits/in.h: + +/usr/include/bits/types/struct_FILE.h: + +/usr/include/bits/types/struct_osockaddr.h: + +/usr/include/asm-generic/sockios.h: + +/usr/include/asm/socket.h: + +/usr/include/asm-generic/socket.h: + +/usr/include/bits/sockaddr.h: + +/usr/include/bits/pthreadtypes-arch.h: + +/usr/include/bits/types/__fpos64_t.h: + +/usr/include/bits/thread-shared-types.h: + +/usr/include/bits/pthreadtypes.h: + +/usr/include/bits/types/struct_timespec.h: + +/usr/include/bits/typesizes.h: + +/usr/include/bits/wordsize.h: + +/usr/include/bits/stdint-intn.h: + +/opt/MESA/include/MESA/maat.h: + +/usr/include/bits/socket.h: + +/usr/include/bits/byteswap.h: + +/usr/include/bits/types/__sigset_t.h: + +/usr/lib/gcc/x86_64-redhat-linux/8/include/stdint.h: + +/usr/include/gnu/stubs.h: + +/usr/include/stdc-predef.h: + +/usr/include/bits/wchar.h: + +/usr/include/asm/sockios.h: + +/root/Git/demo/matt/main.c: + +/usr/include/sys/cdefs.h: + +/usr/include/bits/types/sigset_t.h: + +/usr/include/features.h: + +/usr/include/bits/long-double.h: + +/usr/include/stdint.h: + +/usr/include/gnu/stubs-64.h: + +/usr/include/bits/select.h: + +/usr/include/bits/types/locale_t.h: + +/usr/include/netinet/in.h: + +/usr/include/sys/socket.h: + +/usr/include/bits/types/timer_t.h: + +/usr/include/bits/types/__locale_t.h: + +/usr/include/bits/socket_type.h: + +/usr/lib/gcc/x86_64-redhat-linux/8/include/stddef.h: + +/usr/include/strings.h: + +/usr/include/sys/types.h: + +/usr/include/bits/types/clockid_t.h: + +/usr/include/bits/types/struct_iovec.h: + +/usr/include/bits/stdint-uintn.h: + +/usr/include/bits/types/clock_t.h: + +/usr/include/bits/types.h: + +/usr/include/endian.h: + +/usr/include/bits/types/struct_timeval.h: + +/usr/include/bits/endian.h: + +/usr/include/bits/libc-header-start.h: + +/usr/include/bits/types/time_t.h: + +/usr/include/bits/uintn-identity.h: + +/usr/include/sys/select.h: diff --git a/build/matt/CMakeFiles/maat.dir/compiler_depend.ts b/build/matt/CMakeFiles/maat.dir/compiler_depend.ts new file mode 100644 index 0000000..b3d5c1e --- /dev/null +++ b/build/matt/CMakeFiles/maat.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for maat. diff --git a/build/matt/CMakeFiles/maat.dir/depend.make b/build/matt/CMakeFiles/maat.dir/depend.make new file mode 100644 index 0000000..235d78f --- /dev/null +++ b/build/matt/CMakeFiles/maat.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for maat. +# This may be replaced when dependencies are built. diff --git a/build/matt/CMakeFiles/maat.dir/flags.make b/build/matt/CMakeFiles/maat.dir/flags.make new file mode 100644 index 0000000..35f9322 --- /dev/null +++ b/build/matt/CMakeFiles/maat.dir/flags.make @@ -0,0 +1,10 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.26 + +# compile C with /usr/bin/gcc +C_DEFINES = + +C_INCLUDES = -I/opt/MESA/include/MESA + +C_FLAGS = -g + diff --git a/build/matt/CMakeFiles/maat.dir/link.txt b/build/matt/CMakeFiles/maat.dir/link.txt new file mode 100644 index 0000000..79f5221 --- /dev/null +++ b/build/matt/CMakeFiles/maat.dir/link.txt @@ -0,0 +1 @@ +/usr/bin/gcc -g CMakeFiles/maat.dir/main.c.o -o maat -L/opt/MESA/lib -Wl,-rpath,/opt/MESA/lib -lmaatframe -lfieldstat4 diff --git a/build/matt/CMakeFiles/maat.dir/main.c.o b/build/matt/CMakeFiles/maat.dir/main.c.o Binary files differnew file mode 100644 index 0000000..a6721fc --- /dev/null +++ b/build/matt/CMakeFiles/maat.dir/main.c.o diff --git a/build/matt/CMakeFiles/maat.dir/main.c.o.d b/build/matt/CMakeFiles/maat.dir/main.c.o.d new file mode 100644 index 0000000..0089db1 --- /dev/null +++ b/build/matt/CMakeFiles/maat.dir/main.c.o.d @@ -0,0 +1,35 @@ +matt/CMakeFiles/maat.dir/main.c.o: /root/Git/demo/matt/main.c \ + /usr/include/stdc-predef.h /opt/MESA/include/MESA/maat.h \ + /usr/lib/gcc/x86_64-redhat-linux/8/include/stdint.h \ + /usr/include/stdint.h /usr/include/bits/libc-header-start.h \ + /usr/include/features.h /usr/include/sys/cdefs.h \ + /usr/include/bits/wordsize.h /usr/include/bits/long-double.h \ + /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ + /usr/include/bits/types.h /usr/include/bits/typesizes.h \ + /usr/include/bits/wchar.h /usr/include/bits/stdint-intn.h \ + /usr/include/bits/stdint-uintn.h /usr/include/netinet/in.h \ + /usr/include/sys/socket.h /usr/include/bits/types/struct_iovec.h \ + /usr/lib/gcc/x86_64-redhat-linux/8/include/stddef.h \ + /usr/include/bits/socket.h /usr/include/sys/types.h \ + /usr/include/bits/types/clock_t.h /usr/include/bits/types/clockid_t.h \ + /usr/include/bits/types/time_t.h /usr/include/bits/types/timer_t.h \ + /usr/include/endian.h /usr/include/bits/endian.h \ + /usr/include/bits/byteswap.h /usr/include/bits/uintn-identity.h \ + /usr/include/sys/select.h /usr/include/bits/select.h \ + /usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \ + /usr/include/bits/types/struct_timeval.h \ + /usr/include/bits/types/struct_timespec.h \ + /usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \ + /usr/include/bits/pthreadtypes-arch.h /usr/include/bits/socket_type.h \ + /usr/include/bits/sockaddr.h /usr/include/asm/socket.h \ + /usr/include/asm-generic/socket.h /usr/include/asm/sockios.h \ + /usr/include/asm-generic/sockios.h \ + /usr/include/bits/types/struct_osockaddr.h /usr/include/bits/in.h \ + /usr/include/stdio.h /usr/lib/gcc/x86_64-redhat-linux/8/include/stdarg.h \ + /usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \ + /usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \ + /usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \ + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ + /usr/include/arpa/inet.h /usr/include/assert.h /usr/include/string.h \ + /usr/include/bits/types/locale_t.h /usr/include/bits/types/__locale_t.h \ + /usr/include/strings.h diff --git a/build/matt/CMakeFiles/maat.dir/progress.make b/build/matt/CMakeFiles/maat.dir/progress.make new file mode 100644 index 0000000..3a86673 --- /dev/null +++ b/build/matt/CMakeFiles/maat.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 5 +CMAKE_PROGRESS_2 = 6 + diff --git a/build/matt/CMakeFiles/progress.marks b/build/matt/CMakeFiles/progress.marks new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/build/matt/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/build/matt/Makefile b/build/matt/Makefile new file mode 100644 index 0000000..f8ceebc --- /dev/null +++ b/build/matt/Makefile @@ -0,0 +1,182 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.26 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +# Allow only one "make -f Makefile2" at a time, but pass parallelism. +.NOTPARALLEL: + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Disable VCS-based implicit rules. +% : %,v + +# Disable VCS-based implicit rules. +% : RCS/% + +# Disable VCS-based implicit rules. +% : RCS/%,v + +# Disable VCS-based implicit rules. +% : SCCS/s.% + +# Disable VCS-based implicit rules. +% : s.% + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Command-line flag to silence nested $(MAKE). +$(VERBOSE)MAKESILENT = -s + +#Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E rm -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /root/Git/demo + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /root/Git/demo/build + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /usr/bin/ccmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /root/Git/demo/build && $(CMAKE_COMMAND) -E cmake_progress_start /root/Git/demo/build/CMakeFiles /root/Git/demo/build/matt//CMakeFiles/progress.marks + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 matt/all + $(CMAKE_COMMAND) -E cmake_progress_start /root/Git/demo/build/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 matt/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 matt/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 matt/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /root/Git/demo/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +matt/CMakeFiles/maat.dir/rule: + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 matt/CMakeFiles/maat.dir/rule +.PHONY : matt/CMakeFiles/maat.dir/rule + +# Convenience name for target. +maat: matt/CMakeFiles/maat.dir/rule +.PHONY : maat + +# fast build rule for target. +maat/fast: + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f matt/CMakeFiles/maat.dir/build.make matt/CMakeFiles/maat.dir/build +.PHONY : maat/fast + +main.o: main.c.o +.PHONY : main.o + +# target to build an object file +main.c.o: + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f matt/CMakeFiles/maat.dir/build.make matt/CMakeFiles/maat.dir/main.c.o +.PHONY : main.c.o + +main.i: main.c.i +.PHONY : main.i + +# target to preprocess a source file +main.c.i: + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f matt/CMakeFiles/maat.dir/build.make matt/CMakeFiles/maat.dir/main.c.i +.PHONY : main.c.i + +main.s: main.c.s +.PHONY : main.s + +# target to generate assembly for a file +main.c.s: + cd /root/Git/demo/build && $(MAKE) $(MAKESILENT) -f matt/CMakeFiles/maat.dir/build.make matt/CMakeFiles/maat.dir/main.c.s +.PHONY : main.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... rebuild_cache" + @echo "... maat" + @echo "... main.o" + @echo "... main.i" + @echo "... main.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /root/Git/demo/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/build/matt/cmake_install.cmake b/build/matt/cmake_install.cmake new file mode 100644 index 0000000..6549a2e --- /dev/null +++ b/build/matt/cmake_install.cmake @@ -0,0 +1,44 @@ +# Install script for directory: /root/Git/demo/matt + +# 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 "Debug") + 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 "0") +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() + diff --git a/build/matt/maat b/build/matt/maat Binary files differnew file mode 100755 index 0000000..5c21d99 --- /dev/null +++ b/build/matt/maat diff --git a/demo1/CMakeLists.txt b/demo1/CMakeLists.txt new file mode 100644 index 0000000..62f21f6 --- /dev/null +++ b/demo1/CMakeLists.txt @@ -0,0 +1,8 @@ +# Set the minimum version of CMake that can be used +cmake_minimum_required(VERSION 3.10) + +# Define a new project +project(Demo1) + +# Add an executable +add_executable(Demo1 main.c)
\ No newline at end of file diff --git a/demo1/maat_json.json b/demo1/maat_json.json new file mode 100644 index 0000000..1809163 --- /dev/null +++ b/demo1/maat_json.json @@ -0,0 +1,33 @@ +{ + "compile_table": "COMPILE", + "group2compile_table": "GROUP2COMPILE", + "group2group_table": "GROUP2GROUP", + "rules": [ + { + "compile_id": 123, + "service": 1, + "action": 1, + "do_blacklist": 1, + "do_log": 1, + "user_region": "anything", + "is_valid": "yes", + "groups": [ + { + "group_name": "Untitled", + "regions": [ + { + "table_name": "HTTP_URL", + "table_type": "expr", + "table_content": { + "keywords": "Hello Maat", + "expr_type": "none", + "match_method": "sub", + "format": "uncase plain" + } + } + ] + } + ] + } + ] +} diff --git a/demo1/maat_json.json_iris_tmp/COMPILE.local b/demo1/maat_json.json_iris_tmp/COMPILE.local new file mode 100644 index 0000000..06a7f94 --- /dev/null +++ b/demo1/maat_json.json_iris_tmp/COMPILE.local @@ -0,0 +1,2 @@ +0000000001 +123 1 1 1 1 {} anything 1 1 diff --git a/demo1/maat_json.json_iris_tmp/GROUP2COMPILE.local b/demo1/maat_json.json_iris_tmp/GROUP2COMPILE.local new file mode 100644 index 0000000..c9b4c20 --- /dev/null +++ b/demo1/maat_json.json_iris_tmp/GROUP2COMPILE.local @@ -0,0 +1,2 @@ +0000000001 +123456789 123 0 null 0 1 diff --git a/demo1/maat_json.json_iris_tmp/GROUP2GROUP.local b/demo1/maat_json.json_iris_tmp/GROUP2GROUP.local new file mode 100644 index 0000000..62580c9 --- /dev/null +++ b/demo1/maat_json.json_iris_tmp/GROUP2GROUP.local @@ -0,0 +1 @@ +0000000000 diff --git a/demo1/maat_json.json_iris_tmp/HTTP_URL.local b/demo1/maat_json.json_iris_tmp/HTTP_URL.local new file mode 100644 index 0000000..befe550 --- /dev/null +++ b/demo1/maat_json.json_iris_tmp/HTTP_URL.local @@ -0,0 +1,2 @@ +0000000001 +1 123456789 Hello Maat 0 0 0 1 diff --git a/demo1/maat_json.json_iris_tmp/index/full_config_index.0000000001 b/demo1/maat_json.json_iris_tmp/index/full_config_index.0000000001 new file mode 100644 index 0000000..2d010ee --- /dev/null +++ b/demo1/maat_json.json_iris_tmp/index/full_config_index.0000000001 @@ -0,0 +1,4 @@ +COMPILE 1 /root/Git/demo/demo1/maat_json.json_iris_tmp/COMPILE.local +GROUP2COMPILE 1 /root/Git/demo/demo1/maat_json.json_iris_tmp/GROUP2COMPILE.local +GROUP2GROUP 0 /root/Git/demo/demo1/maat_json.json_iris_tmp/GROUP2GROUP.local +HTTP_URL 1 /root/Git/demo/demo1/maat_json.json_iris_tmp/HTTP_URL.local diff --git a/demo1/main.c b/demo1/main.c new file mode 100644 index 0000000..266edf1 --- /dev/null +++ b/demo1/main.c @@ -0,0 +1,57 @@ +#include "maat.h" +#include "stdio.h" +#include <assert.h> +#include <stddef.h> +#include <string.h> + +#define ARRAY_SIZE 16 + +const char *json_filename = "/root/Git/demo/demo1/maat_json.json"; +const char *table_info_path = "/root/Git/demo/demo1/table_info.conf"; + +int main() +{ + // 输出 pwd + // char pwd[1024] = {0}; + // getcwd(pwd, sizeof(pwd)); + // printf("pwd: %s\n", pwd); + + /* initialize maat options which will be used by maat_new() */ + struct maat_options *opts = maat_options_new(); + maat_options_set_json_file(opts, json_filename); + maat_options_set_logger(opts, "/root/Git/demo/demo1/sample_test.log", LOG_LEVEL_TRACE); + + /* create maat instance, rules in table_info.conf will be loaded. */ + struct maat *maat_instance = maat_new(opts, table_info_path); + assert(maat_instance != NULL); + maat_options_free(opts); + + const char *table_name = "HTTP_URL"; /* maat_json.json has HTTP_URL rule */ + int table_id = maat_get_table_id(maat_instance, table_name); + assert(table_id == 3); /* defined in table_info.conf */ + + int thread_id = 0; + long long results[ARRAY_SIZE] = {0}; + size_t n_hit_result = 0; + + /* store scanning intermediate state */ + struct maat_state *state = maat_state_new(maat_instance, thread_id); + assert(state != NULL); + + // const char *scan_data = "Hello Maat, nice to meet you"; + const char *scan_data = "Hello Maat, nice to meet you"; + + /** + * Becase maat instance has loaded rule in table_info.conf which keywords is "Hello Maat", + so maat_scan_string should return hit flag and rule's compile_id stored in results array. + */ + int ret = maat_scan_string(maat_instance, table_id, scan_data, strlen(scan_data), results, ARRAY_SIZE, + &n_hit_result, state); + assert(ret == MAAT_SCAN_HIT); + assert(n_hit_result == 1); + assert(results[0] == 123); + + maat_state_free(state); + + return 0; +} diff --git a/demo1/sample_test.log b/demo1/sample_test.log new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/demo1/sample_test.log diff --git a/demo1/sample_test.log.2024-04-24 b/demo1/sample_test.log.2024-04-24 new file mode 100644 index 0000000..94b0618 --- /dev/null +++ b/demo1/sample_test.log.2024-04-24 @@ -0,0 +1,16 @@ +Wed Apr 24 05:19:47 2024, INFO, maat.table(36860), successfully register physical table[COMPILE]->table_id:0 +Wed Apr 24 05:19:47 2024, INFO, maat.table(36860), successfully register physical table[GROUP2COMPILE]->table_id:1 +Wed Apr 24 05:19:47 2024, INFO, maat.table(36860), successfully register physical table[GROUP2GROUP]->table_id:2 +Wed Apr 24 05:19:47 2024, INFO, maat.table(36860), successfully register physical table[HTTP_URL]->table_id:3 +Wed Apr 24 05:19:47 2024, INFO, maat.table(36860), default compile table id: 0 +Wed Apr 24 05:19:47 2024, INFO, maat.table(36860), group2group table id: 2 +Wed Apr 24 05:19:47 2024, INFO, maat.config_monitor(36860), Maat initial with JSON file /root/Git/demo/demo1/maat_json.json, formating... +Wed Apr 24 05:19:47 2024, INFO, maat.config_monitor(36860), JSON file /root/Git/demo/demo1/maat_json.json md5: fde74b91c0a90923ab4262bca7f2db0a, generate index file /root/Git/demo/demo1/maat_json.json_iris_tmp/index OK +Wed Apr 24 05:19:47 2024, INFO, maat.config_monitor(36860), load /root/Git/demo/demo1/maat_json.json_iris_tmp/index/full_config_index.0000000001 +Wed Apr 24 05:19:47 2024, FATAL, maat.compile(36860), [maat_remove_group_from_compile:1414] Remove clause(index:1) from compile_id 123 failed,compile is not existed. +Wed Apr 24 05:19:47 2024, FATAL, maat.rule(36860), [maat_update_cb:178] table<GROUP2COMPILE> update runtime error for rules:123456789 123 0 null 0 1 + +Wed Apr 24 05:19:47 2024, INFO, maat.expr_matcher(36860), expr_matcher module: build bool matcher of 1 expressions with 16777356 bytes memory +Wed Apr 24 05:19:47 2024, INFO, maat.expr(36860), table[HTTP_URL] has 1 rules, commit 1 expr rules(literal_rules:1 regex_rules:0) and rebuild expr_matcher(hyperscan) completed, version:1, consume:2ms +Wed Apr 24 05:19:47 2024, INFO, maat.rule(36860), table:<HTTP_URL> rule_count:1 +Wed Apr 24 05:19:47 2024, INFO, maat.rule(36860), Full config version 1 load 1 entries complete diff --git a/demo1/table_info.conf b/demo1/table_info.conf new file mode 100644 index 0000000..9dc84e2 --- /dev/null +++ b/demo1/table_info.conf @@ -0,0 +1,53 @@ +[ + { + "table_id":0, + "table_name":"COMPILE", + "table_type":"compile", + "default_compile_table":0, + "valid_column":6, + "custom": { + "compile_id":1, + "tags":6, + "clause_num":9 + } + }, + { + "table_id":1, + "table_name":"GROUP2COMPILE", + "table_type":"group2compile", + "associated_compile_table_id":0, + "valid_column":3, + "custom": { + "group_id":1, + "compile_id":2, + "not_flag":4, + "virtual_table_name":5, + "clause_index":6 + } + }, + { + "table_id":2, + "table_name":"GROUP2GROUP", + "table_type":"group2group", + "valid_column":4, + "custom": { + "group_id":1, + "included_sub_group_ids":2, + "excluded_sub_group_ids":3 + } + }, + { + "table_id":3, + "table_name":"HTTP_URL", + "table_type":"expr", + "valid_column":7, + "custom": { + "item_id":1, + "group_id":2, + "keywords":3, + "expr_type":4, + "match_method":5, + "is_hexbin":6 + } + } +] diff --git a/demo2/CMakeLists.txt b/demo2/CMakeLists.txt new file mode 100644 index 0000000..189bc10 --- /dev/null +++ b/demo2/CMakeLists.txt @@ -0,0 +1,8 @@ +# Set the minimum version of CMake that can be used +cmake_minimum_required(VERSION 3.10) + +# Define a new project +project(Demo2) + +# Add an executable +add_executable(Demo2 main.c)
\ No newline at end of file diff --git a/demo2/maat_json.json b/demo2/maat_json.json new file mode 100644 index 0000000..64558a8 --- /dev/null +++ b/demo2/maat_json.json @@ -0,0 +1,14 @@ +{ + "compile_table": "COMPILE", + "group2compile_table": "GROUP2COMPILE", + "group2group_table": "GROUP2GROUP", + "plugin_table": { + "table_name": "TEST_IP_PLUGIN_WITH_EXDATA", + "table_content": [ + "101\t4\t192.168.30.99\t192.168.30.101\tSomething-like-json\t1", + "102\t4\t192.168.30.90\t192.168.30.128\tBigger-range-should-in-the-back\t1", + "103\t6\t2001:db8:1234::\t2001:db8:1235::\tBigger-range-should-in-the-back\t1", + "104\t6\t2001:db8:1234::1\t2001:db8:1234::5210\tSomething-like-json\t1", + ] + }, +} diff --git a/demo2/main.c b/demo2/main.c new file mode 100644 index 0000000..1384db8 --- /dev/null +++ b/demo2/main.c @@ -0,0 +1,112 @@ +#include <assert.h> + +#include "maat.h" +#include "assert.h" +#include "stdlib.h" +// #include "maat_utils.h" + +#define ARRAY_SIZE 16 + +const char *json_filename = "./maat_json.json"; +const char *table_info_path = "./table_info.conf"; + +struct ip_plugin_ud { + long long rule_id; + char *buffer; + size_t buf_len; +}; +// void ip_plugin_ex_new_cb(const char *table_name, int table_id, const char *key, +// const char *table_line, void **ad, long argl, void *argp) +// { +// int *counter = (int *)argp; +// size_t column_offset=0, column_len=0; +// struct ip_plugin_ud *ud = ALLOC(struct ip_plugin_ud, 1); + +// int ret = get_column_pos(table_line, 1, &column_offset, &column_len); +// EXPECT_EQ(ret, 0); + +// ud->rule_id = atoll(table_line + column_offset); + +// ret = get_column_pos(table_line, 5, &column_offset, &column_len); +// EXPECT_EQ(ret, 0); + +// ud->buffer = ALLOC(char, column_len + 1); +// strncpy(ud->buffer, table_line + column_offset, column_len); + +// ud->buf_len = column_len + 1; +// *ad = ud; +// (*counter)++; +// } + +// void ip_plugin_ex_free_cb(int table_id, void **ad, long argl, void *argp) +// { +// struct ip_plugin_ud *ud = (struct ip_plugin_ud *)(*ad); + +// ud->rule_id = 0; +// memset(ud->buffer, 0, ud->buf_len); +// ud->buf_len = 0; + +// free(ud->buffer); +// free(ud); +// *ad = NULL; +// } + +// void ip_plugin_ex_dup_cb(int table_id, void **to, void **from, long argl, void *argp) +// { +// struct ip_plugin_ud *ud = (struct ip_plugin_ud *)(*from); + +// *to = ud; +// } + +int main() +{ + // /* initialize maat options which will be used by maat_new() */ + // struct maat_options *opts = maat_options_new(); + // maat_options_set_json_file(opts, json_filename); + // maat_options_set_logger(opts, "./sample_test.log", LOG_LEVEL_INFO); + + // /* create maat instance, rules in table_info.conf will be loaded. */ + // struct maat *maat_instance = maat_new(opts, table_info_path); + // assert(maat_instance != NULL); + // maat_options_free(opts); + + // const char *table_name = "TEST_IP_PLUGIN_WITH_EXDATA"; /* maat_json.json has TEST_IP_PLUGIN_WITH_EXDATA rule */ + // int table_id = maat_get_table_id(maat_instance, table_name); + // assert(table_id == 1); /* defined in table_info.conf */ + + // int ret = maat_plugin_table_ex_schema_register(maat_inst, table_name, + // ip_plugin_ex_new_cb, + // ip_plugin_ex_free_cb, + // ip_plugin_ex_dup_cb, + // 0, &ip_plugin_ex_data_counter); + // EXPECT_EQ(ret, 0); + // EXPECT_EQ(ip_plugin_ex_data_counter, 4); + + // struct ip_addr ipv4; + // ipv4.ip_type = IPv4; + // ret = inet_pton(AF_INET, "192.168.30.100", &ipv4.ipv4); + // EXPECT_EQ(ret, 1); + + // /* get ex_data */ + // struct ip_plugin_ud *results[ARRAY_SIZE]; + // ret = maat_ip_plugin_table_get_ex_data(maat_inst, table_id, &ipv4, + // (void **)results, ARRAY_SIZE); + // EXPECT_EQ(ret, 2); + // EXPECT_EQ(results[0]->rule_id, 101); + // EXPECT_EQ(results[1]->rule_id, 102); + + // struct ip_addr ipv6; + // ipv6.ip_type = IPv6; + // inet_pton(AF_INET6, "2001:db8:1234::5210", &(ipv6.ipv6)); + // memset(results, 0, sizeof(results)); + + // ret = maat_ip_plugin_table_get_ex_data(maat_inst, table_id, &ipv6, + // (void**)results, ARRAY_SIZE); + // EXPECT_EQ(ret, 2); + // EXPECT_EQ(results[0]->rule_id, 104); + // EXPECT_EQ(results[1]->rule_id, 103); + + // maat_state_free(state); + + return 0; +} diff --git a/demo2/table_info.conf b/demo2/table_info.conf new file mode 100644 index 0000000..e9aa2c8 --- /dev/null +++ b/demo2/table_info.conf @@ -0,0 +1,15 @@ + [ + { + "table_id":1, + "table_name":"TEST_IP_PLUGIN_WITH_EXDATA", + "table_type":"ip_plugin", + "valid_column":6, + "custom": { + "gc_timeout_s": 3, + "item_id":1, + "ip_type":2, + "start_ip":3, + "end_ip":4 + } + } + ] diff --git a/demo3/CMakeLists.txt b/demo3/CMakeLists.txt new file mode 100644 index 0000000..62f21f6 --- /dev/null +++ b/demo3/CMakeLists.txt @@ -0,0 +1,8 @@ +# Set the minimum version of CMake that can be used +cmake_minimum_required(VERSION 3.10) + +# Define a new project +project(Demo1) + +# Add an executable +add_executable(Demo1 main.c)
\ No newline at end of file diff --git a/demo3/maat_json.json b/demo3/maat_json.json new file mode 100644 index 0000000..b6f140c --- /dev/null +++ b/demo3/maat_json.json @@ -0,0 +1,34 @@ +{ + "compile_table": "COMPILE_DEFAULT", + "group2compile_table": "GROUP2COMPILE_DEFAULT", + "group2group_table": "GROUP2GROUP", + "rules": [ + { + "compile_id": 123, + "service": 1, + "action": 1, + "do_blacklist": 1, + "do_log": 1, + "user_region": "escaped\\bdata:have\\ba\\bspace\\band\\ba\\b\\&\\bsymbol.", + "is_valid": "yes", + "groups": [ + { + "group_name": "ASN1234", + "group_id": 1, + "regions": [ + { + "table_name": "AS_NUMBER", + "table_type": "expr", + "table_content": { + "keywords": "AS1234", + "expr_type": "none", + "match_method": "exact", + "format": "uncase plain" + } + } + ] + } + ] + } + ] +}
\ No newline at end of file diff --git a/demo3/main.c b/demo3/main.c new file mode 100644 index 0000000..1cf9fe9 --- /dev/null +++ b/demo3/main.c @@ -0,0 +1,56 @@ +#include "maat.h" +#include "stdio.h" +#include <assert.h> +#include <stddef.h> +#include <string.h> + +#define ARRAY_SIZE 16 + +const char *json_filename = "/root/Git/demo/demo3/maat_json.json"; +const char *table_info_path = "/root/Git/demo/demo3/table_info.conf"; + +int main() +{ + // 输出 pwd + // char pwd[1024] = {0}; + // getcwd(pwd, sizeof(pwd)); + // printf("pwd: %s\n", pwd); + + /* initialize maat options which will be used by maat_new() */ + struct maat_options *opts = maat_options_new(); + maat_options_set_json_file(opts, json_filename); + maat_options_set_logger(opts, "/root/Git/demo/demo3/sample_test.log", LOG_LEVEL_TRACE); + + /* create maat instance, rules in table_info.conf will be loaded. */ + struct maat *maat_instance = maat_new(opts, table_info_path); + assert(maat_instance != NULL); + maat_options_free(opts); + + const char *table_name = "AS_NUMBER"; /* maat_json.json has HTTP_URL rule */ + int table_id = maat_get_table_id(maat_instance, table_name); + assert(table_id == 3); /* defined in table_info.conf */ + + int thread_id = 0; + long long results[ARRAY_SIZE] = {0}; + size_t n_hit_result = 0; + + /* store scanning intermediate state */ + struct maat_state *state = maat_state_new(maat_instance, thread_id); + assert(state != NULL); + + const char *src_asn1 = "AS1234"; + + /** + * Becase maat instance has loaded rule in table_info.conf which keywords is "Hello Maat", + so maat_scan_string should return hit flag and rule's compile_id stored in results array. + */ + int ret = maat_scan_string(maat_instance, table_id, src_asn1, strlen(src_asn1), results, ARRAY_SIZE, + &n_hit_result, state); + assert(ret == MAAT_SCAN_HIT); + assert(n_hit_result == 1); + assert(results[0] == 123); + + maat_state_free(state); + + return 0; +} diff --git a/demo3/table_info.conf b/demo3/table_info.conf new file mode 100644 index 0000000..3eccb12 --- /dev/null +++ b/demo3/table_info.conf @@ -0,0 +1,52 @@ +[ + { + "table_id":0, + "table_name":"COMPILE_DEFAULT", + "table_type":"compile", + "valid_column":7, + "custom": { + "compile_id":1, + "tags":6, + "clause_num":8 + } + }, + { + "table_id":1, + "table_name":"GROUP2COMPILE_DEFAULT", + "table_type":"group2compile", + "associated_compile_table_id":0, + "valid_column":6, + "custom": { + "group_id":1, + "compile_id":2, + "not_flag":3, + "virtual_table_name":4, + "clause_index":5 + } + }, + { + "table_id":2, + "table_name":"GROUP2GROUP", + "table_type":"group2group", + "valid_column":4, + "custom": { + "group_id":1, + "included_sub_group_ids":2, + "excluded_sub_group_ids":3 + } + }, + { + "table_id":3, + "table_name":"AS_NUMBER", + "table_type":"expr", + "valid_column":7, + "custom": { + "item_id":1, + "group_id":2, + "keywords":3, + "expr_type":4, + "match_method":5, + "is_hexbin":6 + } + } +]
\ No newline at end of file diff --git a/matt/CMakeLists.txt b/matt/CMakeLists.txt new file mode 100644 index 0000000..93413b4 --- /dev/null +++ b/matt/CMakeLists.txt @@ -0,0 +1,8 @@ +# Set the minimum version of CMake that can be used +cmake_minimum_required(VERSION 3.10) + +# Define a new project +project(maat) + +# Add an executable +add_executable(maat main.c)
\ No newline at end of file diff --git a/matt/bak/maat_json.json b/matt/bak/maat_json.json new file mode 100644 index 0000000..28d426e --- /dev/null +++ b/matt/bak/maat_json.json @@ -0,0 +1,94 @@ +{ + "compile_table": "WANNAT_COMPILE", + "group2compile_table": "WANNAT_GROUP_COMPILE_RELATION", + "group2group_table": "GROUP2GROUP", + "rules": [ + { + "compile_id": 301, + "service": 0, + "action": 1, + "do_blacklist": 0, + "do_log": 2, + "effect_range": "{}", + "user_region": "{\"ip_object_ids\":[203,204], \"translate_type\":\"never\", \"time_interval\":123, \"connection_count\":1243}", + "is_valid": "yes", + "modified_time": "2024-04-10T12:00:00Z", + "groups": [ + { + "group_id": 1, + "not_flag": 0, + "virtual_table": "UE_ID", + "nth_clause": 1, + "regions": [ + { + "table_name": "WANNAT_OBJ_UE_ID", + "table_type": "expr", + "table_content": { + "region_id": 101, + "keywords": "abcdefghij", + "expr_type": "none", + "match_method": "exact", + "is_hexbin": "no" + } + } + ] + } + ] + }, + { + "compile_id": 302, + "service": 0, + "action": 2, + "do_blacklist": 0, + "do_log": 2, + "effect_range": "{}", + "user_region": "{\"ue_object_ids\":[102], \"failover\":\"drop\"}", + "is_valid": "yes", + "modified_time": "2024-04-11T15:30:00Z", + "groups": [ + { + "group_id": 2, + "not_flag": 0, + "virtual_table": "SOURCE_IP", + "nth_clause": 1, + "regions": [ + { + "table_name": "WANNAT_OBJ_IP_ADDR", + "table_type": "ip", + "table_content": { + "region_id": 201, + "group_id":2, + "addr_type": "ipv4", + "addr_format": "CIDR", + "ip1": "20.20.20.20", + "ip2": "32", + "port": "[0,65535]" + } + } + ] + }, + { + "group_id": 104, + "not_flag": 0, + "virtual_table": "DESTINATION_IP", + "nth_clause": 1, + "regions": [ + { + "table_name": "WANNAT_OBJ_IP_ADDR", + "table_type": "ip", + "table_content": { + "region_id": 202, + "group_id":2, + "addr_type": "ipv4", + "addr_format": "CIDR", + "ip1": "8.8.8.8", + "ip2": "32", + "port": "[0,65535]" + } + } + ] + } + ] + } + ] +}
\ No newline at end of file diff --git a/matt/bak/table_info copy.conf b/matt/bak/table_info copy.conf new file mode 100644 index 0000000..7dfa8ca --- /dev/null +++ b/matt/bak/table_info copy.conf @@ -0,0 +1,85 @@ +[ + { + "table_id":0, + "table_name":"WANNAT_COMPILE", + "table_type":"compile", + "user_region_encoded":"escape", // user_region 解析格式 + "valid_column":8, // maybe 8 , user_region 可能不算一列. + "custom": { + "compile_id":1, + "clause_num":8 + } + }, + { + "table_id":1, + "table_name":"WANNAT_GROUP_COMPILE_RELATION", + "table_type":"group2compile", + "associated_compile_table_id":0, + "valid_column":6, + "custom": { + "group_ids":1, + "compile_id":2, + "not_flag":3, + "virtual_table":4, + "nth_clause":5 + } + }, + { + "table_id":2, + "table_name":"GROUP2GROUP", + "table_type":"group2group", + "valid_column":4, + "custom": { + "group_id":1, + "included_sub_group_ids":2, + "excluded_sub_group_ids":3 + } + }, + { + "table_id":3, + "table_name":"WANNAT_OBJ_UE_ID", + "table_type":"expr", + "valid_column":7, + "custom": { + "region_id":1, + "group_id":2, + "keywords":3, + "expr_type":4, + "match_method":5, + "is_hexbin":6 + } + }, + { + "table_id":4, + "table_name":"WANNAT_OBJ_IP_ADDR", + "table_type":"ip", + "valid_column":8, + "custom": { + "region_id":1, + "group_id":2, + "addr_type":3, + "addr_format":4, + "ip1":5, + "ip2":6, + "port":7 + } + }, + { + "table_id":5, + "table_name": "UE_ID", + "table_type": "virtual", + "physical_table": "WANNAT_OBJ_UE_ID" + }, + { + "table_id":6, + "table_name": "SOURCE_IP", + "table_type": "virtual", + "physical_table": "WANNAT_OBJ_IP_ADDR" + }, + { + "table_id":7, + "table_name": "DESTINATION_IP", + "table_type": "virtual", + "physical_table": "WANNAT_OBJ_IP_ADDR" + } +]
\ No newline at end of file diff --git a/matt/bak/table_info_cb.conf b/matt/bak/table_info_cb.conf new file mode 100644 index 0000000..8f817bc --- /dev/null +++ b/matt/bak/table_info_cb.conf @@ -0,0 +1,52 @@ +[ + { + "table_id":0, + "table_name":"WANNAT_DYN_UE_ID_IP", + "table_type":"plugin", + "valid_column":5, + "custom": { + "key_type":"ip_addr", + "addr_type":1, + "key":3 + } + }, + { + "table_id":1, + "table_name":"WANNAT_OBJ_UE_ID", + "table_type":"plugin", + "valid_column":7, + "custom": { + "key_type":"integer", + "key_len":4, + "key": 1 + } + }, + { + "table_id":2, + "table_name":"WANNAT_OBJ_IP_ADDR", + "table_type":"plugin", + "valid_column":8, + "custom": { + "key_type":"integer", + "key_len":4, + "key": 1, + "addr_type":3, + "addr_format":4, + "ip1":5, + "ip2":6, + "port":7 + } + }, + { + "table_id":3, + "table_name":"WANNAT_COMPILE", + "table_type":"plugin", + "valid_column":9, + "custom": { + "key_type":"integer", + "key_len":4, + "key": 1, + "user_region":7, + } + } +]
\ No newline at end of file diff --git a/matt/maat_json.json b/matt/maat_json.json new file mode 100644 index 0000000..1b65849 --- /dev/null +++ b/matt/maat_json.json @@ -0,0 +1,95 @@ +{ + "compile_table": "WANNAT_COMPILE", + "group2compile_table": "WANNAT_GROUP_COMPILE_RELATION", + "group2group_table": "GROUP2GROUP", + "rules": [ + { + "compile_id": 301, + "service": 0, + "action": 1, + "do_blacklist": 0, + "do_log": 1, + "effect_range": "{}", + "user_region": "{\"ip_object_ids\":[203,204], \"translate_type\":\"never\", \"time_interval\":123, \"connection_count\":1243}", + "is_valid": "yes", + "modified_time": "2024-04-10T12:00:00Z", + "groups": [ + { + "group_id": 1, + "not_flag": 0, + "virtual_table": "UE_ID", + "nth_clause": 1, + "regions": [ + { + "table_name": "WANNAT_OBJ_UE_ID", + "table_type": "expr", + "table_content": { + "region_id": 101, + "keywords": "abcdefghij", + "expr_type": "none", + "match_method": "exact", + "format": "uncase plain", + "is_hexbin": "no" + } + } + ] + } + ] + }, + { + "compile_id": 302, + "service": 0, + "action": 2, + "do_blacklist": 0, + "do_log": 2, + "effect_range": "{}", + "user_region": "{\"ue_object_ids\":[102], \"failover\":\"drop\"}", + "is_valid": "yes", + "modified_time": "2024-04-11T15:30:00Z", + "groups": [ + { + "group_id": 2, + "not_flag": 0, + "virtual_table": "SOURCE_IP", + "nth_clause": 1, + "regions": [ + { + "table_name": "WANNAT_OBJ_IP_ADDR", + "table_type": "ip", + "table_content": { + "region_id": 201, + "group_id":2, + "addr_type": "ipv4", + "addr_format": "CIDR", + "ip1": "20.20.20.20", + "ip2": "32", + "port": "[0,65535]" + } + } + ] + }, + { + "group_id": 104, + "not_flag": 0, + "virtual_table": "DESTINATION_IP", + "nth_clause": 1, + "regions": [ + { + "table_name": "WANNAT_OBJ_IP_ADDR", + "table_type": "ip", + "table_content": { + "region_id": 202, + "group_id":2, + "addr_type": "ipv4", + "addr_format": "CIDR", + "ip1": "8.8.8.8", + "ip2": "32", + "port": "[0,65535]" + } + } + ] + } + ] + } + ] +}
\ No newline at end of file diff --git a/matt/maat_json.json_iris_tmp/GROUP2GROUP.local b/matt/maat_json.json_iris_tmp/GROUP2GROUP.local new file mode 100644 index 0000000..62580c9 --- /dev/null +++ b/matt/maat_json.json_iris_tmp/GROUP2GROUP.local @@ -0,0 +1 @@ +0000000000 diff --git a/matt/maat_json.json_iris_tmp/WANNAT_COMPILE.local b/matt/maat_json.json_iris_tmp/WANNAT_COMPILE.local new file mode 100644 index 0000000..6ade2d9 --- /dev/null +++ b/matt/maat_json.json_iris_tmp/WANNAT_COMPILE.local @@ -0,0 +1,3 @@ +0000000002 +301 0 1 0 1 {} {"ip_object_ids":[203,204], "translate_type":"never", "time_interval":123, "connection_count":1243} 1 1 +302 0 2 0 2 {} {"ue_object_ids":[102], "failover":"drop"} 2 1 diff --git a/matt/maat_json.json_iris_tmp/WANNAT_GROUP_COMPILE_RELATION.local b/matt/maat_json.json_iris_tmp/WANNAT_GROUP_COMPILE_RELATION.local new file mode 100644 index 0000000..f8c2606 --- /dev/null +++ b/matt/maat_json.json_iris_tmp/WANNAT_GROUP_COMPILE_RELATION.local @@ -0,0 +1,4 @@ +0000000003 +123456789 301 0 UE_ID 0 1 +123456789 302 0 SOURCE_IP 0 1 +123456789 302 0 DESTINATION_IP 1 1 diff --git a/matt/maat_json.json_iris_tmp/WANNAT_OBJ_IP_ADDR.local b/matt/maat_json.json_iris_tmp/WANNAT_OBJ_IP_ADDR.local new file mode 100644 index 0000000..c7d0726 --- /dev/null +++ b/matt/maat_json.json_iris_tmp/WANNAT_OBJ_IP_ADDR.local @@ -0,0 +1,2 @@ +0000000001 +201 2 4 CIDR 20.20.20.20 32 [0,65535] 1 diff --git a/matt/maat_json.json_iris_tmp/WANNAT_OBJ_UE_ID.local b/matt/maat_json.json_iris_tmp/WANNAT_OBJ_UE_ID.local new file mode 100644 index 0000000..3596a57 --- /dev/null +++ b/matt/maat_json.json_iris_tmp/WANNAT_OBJ_UE_ID.local @@ -0,0 +1,2 @@ +0000000001 +101 123456789 abcdefghij 0 3 0 1 diff --git a/matt/maat_json.json_iris_tmp/index/full_config_index.0000000001 b/matt/maat_json.json_iris_tmp/index/full_config_index.0000000001 new file mode 100644 index 0000000..309261d --- /dev/null +++ b/matt/maat_json.json_iris_tmp/index/full_config_index.0000000001 @@ -0,0 +1,4 @@ +WANNAT_COMPILE 2 /root/Git/demo/matt/maat_json.json_iris_tmp/WANNAT_COMPILE.local +WANNAT_GROUP_COMPILE_RELATION 3 /root/Git/demo/matt/maat_json.json_iris_tmp/WANNAT_GROUP_COMPILE_RELATION.local +GROUP2GROUP 0 /root/Git/demo/matt/maat_json.json_iris_tmp/GROUP2GROUP.local +WANNAT_OBJ_UE_ID 1 /root/Git/demo/matt/maat_json.json_iris_tmp/WANNAT_OBJ_UE_ID.local diff --git a/matt/maat_json_cb.json b/matt/maat_json_cb.json new file mode 100644 index 0000000..e2776ed --- /dev/null +++ b/matt/maat_json_cb.json @@ -0,0 +1,37 @@ +{ + "compile_table": "COMPILE", + "group2compile_table": "GROUP2COMPILE", + "group2group_table": "GROUP2GROUP", + "plugin_table": [ + { + "table_name": "WANNAT_DYN_UE_ID_IP", + "table_content": [ + "1\t4\t10.0.0.1\tabcdefghij\t1\t0", + "2\t4\t10.0.0.2\tbbcdefghij\t1\t0" + ] + }, + { + "table_name": "WANNAT_OBJ_UE_ID", + "table_content": [ + "101\t1\tabcdefghij\t0\t3\t0\t1\t0", + "102\t2\tbbcdefghij\t0\t3\t0\t1\t0" + ] + }, + { + "table_name": "WANNAT_OBJ_IP_ADDR", + "table_content": [ + "201\t2\t4\tCIDR\t20.20.20.20\t32\t[0,65535]\t1\t0", + "202\t2\t4\tCIDR\t8.8.8.8\t32\t[0,65535]\t1\t0", + "203\t3\t4\tCIDR\t100.0.0.0\t24\t[0,65535]\t1\t0", + "204\t3\t4\tCIDR\t100.0.1.0\t24\t[0,65535]\t1\t0" + ] + }, + { + "table_name": "WANNAT_COMPILE", + "table_content": [ + "301\t0\t1\t0\t2\t{}\t{\"ip_object_ids\":[203,204], \"translate_type\":\"never\", \"time_interval\":123, \"connection_count\":1243}\t8\t1\t0", + "302\t0\t2\t0\t2\t{}\t{\"ue_object_ids\":[102], \"failover\":\"drop\"}\t8\t1\t0" + ] + } + ] +}
\ No newline at end of file diff --git a/matt/maat_json_cb.json_iris_tmp/COMPILE.local b/matt/maat_json_cb.json_iris_tmp/COMPILE.local new file mode 100644 index 0000000..62580c9 --- /dev/null +++ b/matt/maat_json_cb.json_iris_tmp/COMPILE.local @@ -0,0 +1 @@ +0000000000 diff --git a/matt/maat_json_cb.json_iris_tmp/GROUP2COMPILE.local b/matt/maat_json_cb.json_iris_tmp/GROUP2COMPILE.local new file mode 100644 index 0000000..62580c9 --- /dev/null +++ b/matt/maat_json_cb.json_iris_tmp/GROUP2COMPILE.local @@ -0,0 +1 @@ +0000000000 diff --git a/matt/maat_json_cb.json_iris_tmp/GROUP2GROUP.local b/matt/maat_json_cb.json_iris_tmp/GROUP2GROUP.local new file mode 100644 index 0000000..62580c9 --- /dev/null +++ b/matt/maat_json_cb.json_iris_tmp/GROUP2GROUP.local @@ -0,0 +1 @@ +0000000000 diff --git a/matt/maat_json_cb.json_iris_tmp/WANNAT_COMPILE.local b/matt/maat_json_cb.json_iris_tmp/WANNAT_COMPILE.local new file mode 100644 index 0000000..7dd67ae --- /dev/null +++ b/matt/maat_json_cb.json_iris_tmp/WANNAT_COMPILE.local @@ -0,0 +1,3 @@ +0000000002 +301 0 1 0 2 {} {"ip_object_ids":[203,204], "translate_type":"never", "time_interval":123, "connection_count":1243} 8 1 0 +302 0 2 0 2 {} {"ue_object_ids":[102], "failover":"drop"} 8 1 0 diff --git a/matt/maat_json_cb.json_iris_tmp/WANNAT_DYN_UE_ID_IP.local b/matt/maat_json_cb.json_iris_tmp/WANNAT_DYN_UE_ID_IP.local new file mode 100644 index 0000000..50a21a1 --- /dev/null +++ b/matt/maat_json_cb.json_iris_tmp/WANNAT_DYN_UE_ID_IP.local @@ -0,0 +1,3 @@ +0000000002 +1 4 10.0.0.1 abcdefghij 1 0 +2 4 10.0.0.2 bbcdefghij 1 0 diff --git a/matt/maat_json_cb.json_iris_tmp/WANNAT_OBJ_IP_ADDR.local b/matt/maat_json_cb.json_iris_tmp/WANNAT_OBJ_IP_ADDR.local new file mode 100644 index 0000000..28d411a --- /dev/null +++ b/matt/maat_json_cb.json_iris_tmp/WANNAT_OBJ_IP_ADDR.local @@ -0,0 +1,5 @@ +0000000004 +201 2 4 CIDR 20.20.20.20 32 [0,65535] 1 0 +202 2 4 CIDR 8.8.8.8 32 [0,65535] 1 0 +203 3 4 CIDR 100.0.0.0 24 [0,65535] 1 0 +204 3 4 CIDR 100.0.1.0 24 [0,65535] 1 0 diff --git a/matt/maat_json_cb.json_iris_tmp/WANNAT_OBJ_UE_ID.local b/matt/maat_json_cb.json_iris_tmp/WANNAT_OBJ_UE_ID.local new file mode 100644 index 0000000..cab6e0f --- /dev/null +++ b/matt/maat_json_cb.json_iris_tmp/WANNAT_OBJ_UE_ID.local @@ -0,0 +1,3 @@ +0000000002 +101 1 abcdefghij 0 3 0 1 0 +102 2 bbcdefghij 0 3 0 1 0 diff --git a/matt/maat_json_cb.json_iris_tmp/index/full_config_index.0000000001 b/matt/maat_json_cb.json_iris_tmp/index/full_config_index.0000000001 new file mode 100644 index 0000000..a2e81ab --- /dev/null +++ b/matt/maat_json_cb.json_iris_tmp/index/full_config_index.0000000001 @@ -0,0 +1,7 @@ +COMPILE 0 /root/Git/demo/matt/maat_json_cb.json_iris_tmp/COMPILE.local +GROUP2COMPILE 0 /root/Git/demo/matt/maat_json_cb.json_iris_tmp/GROUP2COMPILE.local +GROUP2GROUP 0 /root/Git/demo/matt/maat_json_cb.json_iris_tmp/GROUP2GROUP.local +WANNAT_DYN_UE_ID_IP 2 /root/Git/demo/matt/maat_json_cb.json_iris_tmp/WANNAT_DYN_UE_ID_IP.local +WANNAT_OBJ_UE_ID 2 /root/Git/demo/matt/maat_json_cb.json_iris_tmp/WANNAT_OBJ_UE_ID.local +WANNAT_OBJ_IP_ADDR 4 /root/Git/demo/matt/maat_json_cb.json_iris_tmp/WANNAT_OBJ_IP_ADDR.local +WANNAT_COMPILE 2 /root/Git/demo/matt/maat_json_cb.json_iris_tmp/WANNAT_COMPILE.local diff --git a/matt/main.c b/matt/main.c new file mode 100644 index 0000000..b9eaa46 --- /dev/null +++ b/matt/main.c @@ -0,0 +1,83 @@ +#include "maat.h" +#include "stdio.h" +#include <arpa/inet.h> +#include <assert.h> +#include <stddef.h> +#include <string.h> + +#define ARRAY_SIZE 16 + +const char *json_filename = "/root/Git/demo/matt/maat_json.json"; +const char *table_info_path = "/root/Git/demo/matt/table_info.conf"; + +const char *json_filename_cb = "/root/Git/demo/matt/maat_json_cb.json"; +const char *table_info_path_cb = "/root/Git/demo/matt/table_info_cb.conf"; + +int main_1() +{ + /* initialize maat options which will be used by maat_new() */ + struct maat_options *opts = maat_options_new(); + maat_options_set_json_file(opts, json_filename); + maat_options_set_logger(opts, "/root/Git/demo/matt/sample_test.log", LOG_LEVEL_TRACE); + + /* create maat instance, rules in table_info.conf will be loaded. */ + struct maat *maat_instance = maat_new(opts, table_info_path); + assert(maat_instance != NULL); + maat_options_free(opts); + + const char *table_name = "UE_ID"; // 虚拟表 5 + int table_id = maat_get_table_id(maat_instance, table_name); + assert(table_id == 5); /* defined in table_info.conf */ + + int thread_id = 0; + long long results[ARRAY_SIZE] = {0}; + size_t n_hit_result = 0; + int ret = 0; + + /* store scanning intermediate state */ + struct maat_state *state = maat_state_new(maat_instance, thread_id); + assert(state != NULL); + + const char *ue_id = "abcdefghij"; + + ret = maat_scan_string(maat_instance, 5, ue_id, strlen(ue_id), results, ARRAY_SIZE, &n_hit_result, state); + // assert(ret == MAAT_SCAN_HIT); + // assert(n_hit_result == 1); + // assert(results[0] == 123); + + maat_state_free(state); + + struct ip_addr ipv4; + ipv4.ip_type = 4; + ret = inet_pton(AF_INET, "20.20.20.20", &ipv4.ipv4); + + struct maat_state *state2 = maat_state_new(maat_instance, thread_id); + assert(state2 != NULL); + + uint32_t a = ipv4.ipv4; + ret = maat_scan_ipv4(maat_instance, 6, a, results, ARRAY_SIZE, &n_hit_result, state2); + + printf("ret: %d\n", ret); + maat_state_free(state2); + + return 0; +} + +// int main2() +// { +// /* initialize maat options which will be used by maat_new() */ +// struct maat_options *opts = maat_options_new(); +// maat_options_set_json_file(opts, json_filename_cb); +// maat_options_set_logger(opts, "/root/Git/demo/matt/sample_test.log", LOG_LEVEL_INFO); + +// /* create maat instance, rules in table_info.conf will be loaded. */ +// struct maat *maat_instance = maat_new(opts, table_info_path_cb); +// assert(maat_instance != NULL); +// maat_options_free(opts); +// } + +int main() +{ + main_1(); + // main2(); +}
\ No newline at end of file diff --git a/matt/sample_test.log b/matt/sample_test.log new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/matt/sample_test.log diff --git a/matt/sample_test.log.2024-04-24 b/matt/sample_test.log.2024-04-24 new file mode 100644 index 0000000..6dbc75f --- /dev/null +++ b/matt/sample_test.log.2024-04-24 @@ -0,0 +1,105 @@ +Wed Apr 24 04:53:52 2024, INFO, maat.table(35103), successfully register physical table[WANNAT_COMPILE]->table_id:0 +Wed Apr 24 04:53:52 2024, INFO, maat.table(35103), successfully register physical table[WANNAT_GROUP_COMPILE_RELATION]->table_id:1 +Wed Apr 24 04:53:52 2024, INFO, maat.table(35103), successfully register physical table[GROUP2GROUP]->table_id:2 +Wed Apr 24 04:53:52 2024, INFO, maat.table(35103), successfully register physical table[WANNAT_OBJ_UE_ID]->table_id:3 +Wed Apr 24 04:53:52 2024, INFO, maat.table(35103), successfully register physical table[WANNAT_OBJ_IP_ADDR]->table_id:4 +Wed Apr 24 04:53:52 2024, INFO, maat.table(35103), successfully register virtual table[UE_ID]->vtable_id:5, physical_table_id:3 +Wed Apr 24 04:53:52 2024, INFO, maat.table(35103), successfully register virtual table[SOURCE_IP]->vtable_id:6, physical_table_id:4 +Wed Apr 24 04:53:52 2024, INFO, maat.table(35103), successfully register virtual table[DESTINATION_IP]->vtable_id:7, physical_table_id:4 +Wed Apr 24 04:53:52 2024, INFO, maat.table(35103), default compile table id: -1 +Wed Apr 24 04:53:52 2024, INFO, maat.table(35103), group2group table id: 2 +Wed Apr 24 04:53:52 2024, INFO, maat.config_monitor(35103), Maat initial with JSON file /root/Git/demo/matt/maat_json.json, formating... +Wed Apr 24 04:53:52 2024, INFO, maat.config_monitor(35103), JSON file /root/Git/demo/matt/maat_json.json md5: f08d9a2dbb27218c56b377008e6c412d, generate index file /root/Git/demo/matt/maat_json.json_iris_tmp/index OK +Wed Apr 24 04:53:52 2024, INFO, maat.config_monitor(35103), load /root/Git/demo/matt/maat_json.json_iris_tmp/index/full_config_index.0000000001 +Wed Apr 24 04:53:52 2024, INFO, maat.compile(35103), Build bool matcher of 2 expressions with 16777436 bytes memory. +Wed Apr 24 04:53:52 2024, INFO, maat.compile(35103), table[WANNAT_COMPILE] commit 2 compile rules and rebuild compile bool_matcher completed, version:1, consume:2ms +Wed Apr 24 04:53:52 2024, INFO, maat.expr_matcher(35103), expr_matcher module: build bool matcher of 1 expressions with 16777356 bytes memory +Wed Apr 24 04:53:52 2024, INFO, maat.expr(35103), table[WANNAT_OBJ_UE_ID] has 1 rules, commit 1 expr rules(literal_rules:1 regex_rules:0) and rebuild expr_matcher(hyperscan) completed, version:1, consume:2ms +Wed Apr 24 04:53:52 2024, INFO, maat.rule(35103), table:<WANNAT_COMPILE> rule_count:2 +Wed Apr 24 04:53:52 2024, INFO, maat.rule(35103), table:<WANNAT_GROUP_COMPILE_RELATION> rule_count:3 +Wed Apr 24 04:53:52 2024, INFO, maat.rule(35103), table:<WANNAT_OBJ_UE_ID> rule_count:1 +Wed Apr 24 04:53:52 2024, INFO, maat.rule(35103), Full config version 1 load 6 entries complete +Wed Apr 24 04:55:58 2024, INFO, maat.table(35210), successfully register physical table[WANNAT_COMPILE]->table_id:0 +Wed Apr 24 04:55:58 2024, INFO, maat.table(35210), successfully register physical table[WANNAT_GROUP_COMPILE_RELATION]->table_id:1 +Wed Apr 24 04:55:58 2024, INFO, maat.table(35210), successfully register physical table[GROUP2GROUP]->table_id:2 +Wed Apr 24 04:55:58 2024, INFO, maat.table(35210), successfully register physical table[WANNAT_OBJ_UE_ID]->table_id:3 +Wed Apr 24 04:55:58 2024, INFO, maat.table(35210), successfully register physical table[WANNAT_OBJ_IP_ADDR]->table_id:4 +Wed Apr 24 04:55:58 2024, INFO, maat.table(35210), successfully register virtual table[UE_ID]->vtable_id:5, physical_table_id:3 +Wed Apr 24 04:55:58 2024, INFO, maat.table(35210), successfully register virtual table[SOURCE_IP]->vtable_id:6, physical_table_id:4 +Wed Apr 24 04:55:58 2024, INFO, maat.table(35210), successfully register virtual table[DESTINATION_IP]->vtable_id:7, physical_table_id:4 +Wed Apr 24 04:55:58 2024, INFO, maat.table(35210), default compile table id: -1 +Wed Apr 24 04:55:58 2024, INFO, maat.table(35210), group2group table id: 2 +Wed Apr 24 04:55:58 2024, INFO, maat.config_monitor(35210), Maat initial with JSON file /root/Git/demo/matt/maat_json.json, formating... +Wed Apr 24 04:55:58 2024, INFO, maat.config_monitor(35210), JSON file /root/Git/demo/matt/maat_json.json md5: f08d9a2dbb27218c56b377008e6c412d, generate index file /root/Git/demo/matt/maat_json.json_iris_tmp/index OK +Wed Apr 24 04:55:58 2024, INFO, maat.config_monitor(35210), load /root/Git/demo/matt/maat_json.json_iris_tmp/index/full_config_index.0000000001 +Wed Apr 24 04:55:58 2024, INFO, maat.compile(35210), Build bool matcher of 2 expressions with 16777436 bytes memory. +Wed Apr 24 04:55:58 2024, INFO, maat.compile(35210), table[WANNAT_COMPILE] commit 2 compile rules and rebuild compile bool_matcher completed, version:1, consume:2ms +Wed Apr 24 04:55:58 2024, INFO, maat.expr_matcher(35210), expr_matcher module: build bool matcher of 1 expressions with 16777356 bytes memory +Wed Apr 24 04:55:58 2024, INFO, maat.expr(35210), table[WANNAT_OBJ_UE_ID] has 1 rules, commit 1 expr rules(literal_rules:1 regex_rules:0) and rebuild expr_matcher(hyperscan) completed, version:1, consume:3ms +Wed Apr 24 04:55:58 2024, INFO, maat.rule(35210), table:<WANNAT_COMPILE> rule_count:2 +Wed Apr 24 04:55:58 2024, INFO, maat.rule(35210), table:<WANNAT_GROUP_COMPILE_RELATION> rule_count:3 +Wed Apr 24 04:55:58 2024, INFO, maat.rule(35210), table:<WANNAT_OBJ_UE_ID> rule_count:1 +Wed Apr 24 04:55:58 2024, INFO, maat.rule(35210), Full config version 1 load 6 entries complete +Wed Apr 24 05:09:49 2024, INFO, maat.table(36017), successfully register physical table[WANNAT_COMPILE]->table_id:0 +Wed Apr 24 05:09:49 2024, INFO, maat.table(36017), successfully register physical table[WANNAT_GROUP_COMPILE_RELATION]->table_id:1 +Wed Apr 24 05:09:49 2024, INFO, maat.table(36017), successfully register physical table[GROUP2GROUP]->table_id:2 +Wed Apr 24 05:09:49 2024, INFO, maat.table(36017), successfully register physical table[WANNAT_OBJ_UE_ID]->table_id:3 +Wed Apr 24 05:09:49 2024, INFO, maat.table(36017), successfully register physical table[WANNAT_OBJ_IP_ADDR]->table_id:4 +Wed Apr 24 05:09:49 2024, INFO, maat.table(36017), successfully register virtual table[UE_ID]->vtable_id:5, physical_table_id:3 +Wed Apr 24 05:09:49 2024, INFO, maat.table(36017), successfully register virtual table[SOURCE_IP]->vtable_id:6, physical_table_id:4 +Wed Apr 24 05:09:49 2024, INFO, maat.table(36017), successfully register virtual table[DESTINATION_IP]->vtable_id:7, physical_table_id:4 +Wed Apr 24 05:09:49 2024, INFO, maat.table(36017), default compile table id: -1 +Wed Apr 24 05:09:49 2024, INFO, maat.table(36017), group2group table id: 2 +Wed Apr 24 05:09:49 2024, INFO, maat.config_monitor(36017), Maat initial with JSON file /root/Git/demo/matt/maat_json.json, formating... +Wed Apr 24 05:09:49 2024, INFO, maat.config_monitor(36017), JSON file /root/Git/demo/matt/maat_json.json md5: 4da09adb368132edc5ffdf2414ee9e8c, generate index file /root/Git/demo/matt/maat_json.json_iris_tmp/index OK +Wed Apr 24 05:09:49 2024, INFO, maat.config_monitor(36017), load /root/Git/demo/matt/maat_json.json_iris_tmp/index/full_config_index.0000000001 +Wed Apr 24 05:09:49 2024, INFO, maat.compile(36017), Build bool matcher of 2 expressions with 16777436 bytes memory. +Wed Apr 24 05:09:49 2024, INFO, maat.compile(36017), table[WANNAT_COMPILE] commit 2 compile rules and rebuild compile bool_matcher completed, version:1, consume:3ms +Wed Apr 24 05:09:49 2024, INFO, maat.expr_matcher(36017), expr_matcher module: build bool matcher of 1 expressions with 16777356 bytes memory +Wed Apr 24 05:09:49 2024, INFO, maat.expr(36017), table[WANNAT_OBJ_UE_ID] has 1 rules, commit 1 expr rules(literal_rules:1 regex_rules:0) and rebuild expr_matcher(hyperscan) completed, version:1, consume:6ms +Wed Apr 24 05:09:49 2024, INFO, maat.rule(36017), table:<WANNAT_COMPILE> rule_count:2 +Wed Apr 24 05:09:49 2024, INFO, maat.rule(36017), table:<WANNAT_GROUP_COMPILE_RELATION> rule_count:3 +Wed Apr 24 05:09:49 2024, INFO, maat.rule(36017), table:<WANNAT_OBJ_UE_ID> rule_count:1 +Wed Apr 24 05:09:49 2024, INFO, maat.rule(36017), Full config version 1 load 6 entries complete +Wed Apr 24 05:09:52 2024, INFO, maat.table(36159), successfully register physical table[WANNAT_COMPILE]->table_id:0 +Wed Apr 24 05:09:52 2024, INFO, maat.table(36159), successfully register physical table[WANNAT_GROUP_COMPILE_RELATION]->table_id:1 +Wed Apr 24 05:09:52 2024, INFO, maat.table(36159), successfully register physical table[GROUP2GROUP]->table_id:2 +Wed Apr 24 05:09:52 2024, INFO, maat.table(36159), successfully register physical table[WANNAT_OBJ_UE_ID]->table_id:3 +Wed Apr 24 05:09:52 2024, INFO, maat.table(36159), successfully register physical table[WANNAT_OBJ_IP_ADDR]->table_id:4 +Wed Apr 24 05:09:52 2024, INFO, maat.table(36159), successfully register virtual table[UE_ID]->vtable_id:5, physical_table_id:3 +Wed Apr 24 05:09:52 2024, INFO, maat.table(36159), successfully register virtual table[SOURCE_IP]->vtable_id:6, physical_table_id:4 +Wed Apr 24 05:09:52 2024, INFO, maat.table(36159), successfully register virtual table[DESTINATION_IP]->vtable_id:7, physical_table_id:4 +Wed Apr 24 05:09:52 2024, INFO, maat.table(36159), default compile table id: -1 +Wed Apr 24 05:09:52 2024, INFO, maat.table(36159), group2group table id: 2 +Wed Apr 24 05:09:52 2024, INFO, maat.config_monitor(36159), Maat initial with JSON file /root/Git/demo/matt/maat_json.json, formating... +Wed Apr 24 05:09:52 2024, INFO, maat.config_monitor(36159), JSON file /root/Git/demo/matt/maat_json.json md5: 4da09adb368132edc5ffdf2414ee9e8c, generate index file /root/Git/demo/matt/maat_json.json_iris_tmp/index OK +Wed Apr 24 05:09:52 2024, INFO, maat.config_monitor(36159), load /root/Git/demo/matt/maat_json.json_iris_tmp/index/full_config_index.0000000001 +Wed Apr 24 05:09:52 2024, INFO, maat.compile(36159), Build bool matcher of 2 expressions with 16777436 bytes memory. +Wed Apr 24 05:09:52 2024, INFO, maat.compile(36159), table[WANNAT_COMPILE] commit 2 compile rules and rebuild compile bool_matcher completed, version:1, consume:2ms +Wed Apr 24 05:09:52 2024, INFO, maat.expr_matcher(36159), expr_matcher module: build bool matcher of 1 expressions with 16777356 bytes memory +Wed Apr 24 05:09:52 2024, INFO, maat.expr(36159), table[WANNAT_OBJ_UE_ID] has 1 rules, commit 1 expr rules(literal_rules:1 regex_rules:0) and rebuild expr_matcher(hyperscan) completed, version:1, consume:2ms +Wed Apr 24 05:09:52 2024, INFO, maat.rule(36159), table:<WANNAT_COMPILE> rule_count:2 +Wed Apr 24 05:09:52 2024, INFO, maat.rule(36159), table:<WANNAT_GROUP_COMPILE_RELATION> rule_count:3 +Wed Apr 24 05:09:52 2024, INFO, maat.rule(36159), table:<WANNAT_OBJ_UE_ID> rule_count:1 +Wed Apr 24 05:09:52 2024, INFO, maat.rule(36159), Full config version 1 load 6 entries complete +Wed Apr 24 05:10:15 2024, INFO, maat.table(36400), successfully register physical table[WANNAT_COMPILE]->table_id:0 +Wed Apr 24 05:10:15 2024, INFO, maat.table(36400), successfully register physical table[WANNAT_GROUP_COMPILE_RELATION]->table_id:1 +Wed Apr 24 05:10:15 2024, INFO, maat.table(36400), successfully register physical table[GROUP2GROUP]->table_id:2 +Wed Apr 24 05:10:15 2024, INFO, maat.table(36400), successfully register physical table[WANNAT_OBJ_UE_ID]->table_id:3 +Wed Apr 24 05:10:15 2024, INFO, maat.table(36400), successfully register physical table[WANNAT_OBJ_IP_ADDR]->table_id:4 +Wed Apr 24 05:10:15 2024, INFO, maat.table(36400), successfully register virtual table[UE_ID]->vtable_id:5, physical_table_id:3 +Wed Apr 24 05:10:15 2024, INFO, maat.table(36400), successfully register virtual table[SOURCE_IP]->vtable_id:6, physical_table_id:4 +Wed Apr 24 05:10:15 2024, INFO, maat.table(36400), successfully register virtual table[DESTINATION_IP]->vtable_id:7, physical_table_id:4 +Wed Apr 24 05:10:15 2024, INFO, maat.table(36400), default compile table id: -1 +Wed Apr 24 05:10:15 2024, INFO, maat.table(36400), group2group table id: 2 +Wed Apr 24 05:10:15 2024, INFO, maat.config_monitor(36400), Maat initial with JSON file /root/Git/demo/matt/maat_json.json, formating... +Wed Apr 24 05:10:15 2024, INFO, maat.config_monitor(36400), JSON file /root/Git/demo/matt/maat_json.json md5: 4da09adb368132edc5ffdf2414ee9e8c, generate index file /root/Git/demo/matt/maat_json.json_iris_tmp/index OK +Wed Apr 24 05:10:15 2024, INFO, maat.config_monitor(36400), load /root/Git/demo/matt/maat_json.json_iris_tmp/index/full_config_index.0000000001 +Wed Apr 24 05:10:15 2024, INFO, maat.compile(36400), Build bool matcher of 2 expressions with 16777436 bytes memory. +Wed Apr 24 05:10:15 2024, INFO, maat.compile(36400), table[WANNAT_COMPILE] commit 2 compile rules and rebuild compile bool_matcher completed, version:1, consume:2ms +Wed Apr 24 05:10:15 2024, INFO, maat.expr_matcher(36400), expr_matcher module: build bool matcher of 1 expressions with 16777356 bytes memory +Wed Apr 24 05:10:15 2024, INFO, maat.expr(36400), table[WANNAT_OBJ_UE_ID] has 1 rules, commit 1 expr rules(literal_rules:1 regex_rules:0) and rebuild expr_matcher(hyperscan) completed, version:1, consume:2ms +Wed Apr 24 05:10:15 2024, INFO, maat.rule(36400), table:<WANNAT_COMPILE> rule_count:2 +Wed Apr 24 05:10:15 2024, INFO, maat.rule(36400), table:<WANNAT_GROUP_COMPILE_RELATION> rule_count:3 +Wed Apr 24 05:10:15 2024, INFO, maat.rule(36400), table:<WANNAT_OBJ_UE_ID> rule_count:1 +Wed Apr 24 05:10:15 2024, INFO, maat.rule(36400), Full config version 1 load 6 entries complete diff --git a/matt/table_info.conf b/matt/table_info.conf new file mode 100644 index 0000000..50c3a2a --- /dev/null +++ b/matt/table_info.conf @@ -0,0 +1,85 @@ +[ + { + "table_id":0, + "table_name":"WANNAT_COMPILE", + "table_type":"compile", + "user_region_encoded":"escape", + "valid_column":8, + "custom": { + "compile_id":1, + "clause_num":8 + } + }, + { + "table_id":1, + "table_name":"WANNAT_GROUP_COMPILE_RELATION", + "table_type":"group2compile", + "associated_compile_table_id":0, + "valid_column":6, + "custom": { + "group_id":1, + "compile_id":2, + "not_flag":3, + "virtual_table_name":4, + "clause_index":5 + } + }, + { + "table_id":2, + "table_name":"GROUP2GROUP", + "table_type":"group2group", + "valid_column":4, + "custom": { + "group_id":1, + "included_sub_group_ids":2, + "excluded_sub_group_ids":3 + } + }, + { + "table_id":3, + "table_name":"WANNAT_OBJ_UE_ID", + "table_type":"expr", + "valid_column":7, + "custom": { + "item_id":1, + "group_id":2, + "keywords":3, + "expr_type":4, + "match_method":5, + "is_hexbin":6 + } + }, + { + "table_id":4, + "table_name":"WANNAT_OBJ_IP_ADDR", + "table_type":"ip", + "valid_column":8, + "custom": { + "item_id":1, + "group_id":2, + "addr_type":3, + "addr_format":4, + "ip1":5, + "ip2":6, + "port":7 + } + }, + { + "table_id":5, + "table_name": "UE_ID", + "table_type": "virtual", + "physical_table": "WANNAT_OBJ_UE_ID" + }, + { + "table_id":6, + "table_name": "SOURCE_IP", + "table_type": "virtual", + "physical_table": "WANNAT_OBJ_IP_ADDR" + }, + { + "table_id":7, + "table_name": "DESTINATION_IP", + "table_type": "virtual", + "physical_table": "WANNAT_OBJ_IP_ADDR" + } +]
\ No newline at end of file diff --git a/matt/table_info_cb.conf b/matt/table_info_cb.conf new file mode 100644 index 0000000..81ba965 --- /dev/null +++ b/matt/table_info_cb.conf @@ -0,0 +1,52 @@ +[ + { + "table_id":0, + "table_name":"WANNAT_DYN_UE_ID_IP", + "table_type":"plugin", + "valid_column":5, + "custom": { + "key_type":"ip_addr", + "addr_type":1, + "key":3 + } + }, + { + "table_id":1, + "table_name":"WANNAT_OBJ_UE_ID", + "table_type":"plugin", + "valid_column":7, + "custom": { + "key_type":"integer", + "key_len":4, + "key": 1 + } + }, + { + "table_id":2, + "table_name":"WANNAT_OBJ_IP_ADDR", + "table_type":"plugin", + "valid_column":8, + "custom": { + "key_type":"integer", + "key_len":4, + "key": 1, + "addr_type":3, + "addr_format":4, + "ip1":5, + "ip2":6, + "port":7 + } + }, + { + "table_id":3, + "table_name":"WANNAT_COMPILE", + "table_type":"plugin", + "valid_column":9, + "custom": { + "key_type":"integer", + "key_len":4, + "key": 1, + "user_region":7 + } + } +]
\ No newline at end of file |
