Implementing XML

This commit is contained in:
2024-07-08 16:56:54 +05:30
commit d8d3c80ad4
95 changed files with 9150 additions and 0 deletions

6
.gitignore vendored Normal file
View File

@@ -0,0 +1,6 @@
*vsidx
*.opendb
.vs
out
CMakePresets.json
utils/*

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "utils/mxml"]
path = utils/mxml
url = https://github.com/michaelrsweet/mxml.git

0
.vs/CMake Overview Normal file
View File

BIN
.vs/GitMap/v17/.wsuo Normal file

Binary file not shown.

BIN
.vs/GitMap/v17/Browse.VC.db Normal file

Binary file not shown.

View File

@@ -0,0 +1,117 @@
{
"Version": 1,
"WorkspaceRootPath": "E:\\Miscellaneous Project\\GitMap\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|E:\\Miscellaneous Project\\GitMap\\src\\genXml.c||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}",
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\genXml.c||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}"
},
{
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|E:\\Miscellaneous Project\\GitMap\\src\\scan.c||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}",
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\scan.c||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}"
},
{
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|E:\\Miscellaneous Project\\GitMap\\include\\scan.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}",
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:include\\scan.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}"
},
{
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|E:\\Miscellaneous Project\\GitMap\\src\\command.c||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}",
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:src\\command.c||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}"
},
{
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|E:\\Miscellaneous Project\\GitMap\\include\\command.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}",
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:include\\command.h||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}"
}
],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedWidth": 223,
"SelectedChildIndex": 3,
"Children": [
{
"$type": "Bookmark",
"Name": "ST:128:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
},
{
"$type": "Bookmark",
"Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
},
{
"$type": "Bookmark",
"Name": "ST:129:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "genXml.c",
"DocumentMoniker": "E:\\Miscellaneous Project\\GitMap\\src\\genXml.c",
"RelativeDocumentMoniker": "src\\genXml.c",
"ToolTip": "E:\\Miscellaneous Project\\GitMap\\src\\genXml.c",
"RelativeToolTip": "src\\genXml.c",
"ViewState": "AQIAAAwAAAAAAAAAAAAAACoAAAABAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000423|",
"WhenOpened": "2024-07-08T03:29:41.193Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "scan.c",
"DocumentMoniker": "E:\\Miscellaneous Project\\GitMap\\src\\scan.c",
"RelativeDocumentMoniker": "src\\scan.c",
"ToolTip": "E:\\Miscellaneous Project\\GitMap\\src\\scan.c",
"RelativeToolTip": "src\\scan.c",
"ViewState": "AQIAAAAAAAAAAAAAAAAAAAQAAAAAAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000423|",
"WhenOpened": "2024-07-01T17:32:12.329Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "scan.h",
"DocumentMoniker": "E:\\Miscellaneous Project\\GitMap\\include\\scan.h",
"RelativeDocumentMoniker": "include\\scan.h",
"ToolTip": "E:\\Miscellaneous Project\\GitMap\\include\\scan.h",
"RelativeToolTip": "include\\scan.h",
"ViewState": "AQIAAAAAAAAAAAAAAAAAAAcAAABNAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|",
"WhenOpened": "2024-07-01T17:32:03.726Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 4,
"Title": "command.h",
"DocumentMoniker": "E:\\Miscellaneous Project\\GitMap\\include\\command.h",
"RelativeDocumentMoniker": "include\\command.h",
"ToolTip": "E:\\Miscellaneous Project\\GitMap\\include\\command.h",
"RelativeToolTip": "include\\command.h",
"ViewState": "AQIAAAAAAAAAAAAAAAAAAA8AAAAgAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000680|",
"WhenOpened": "2024-06-30T15:10:20.334Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 3,
"Title": "command.c",
"DocumentMoniker": "E:\\Miscellaneous Project\\GitMap\\src\\command.c",
"RelativeDocumentMoniker": "src\\command.c",
"ToolTip": "E:\\Miscellaneous Project\\GitMap\\src\\command.c",
"RelativeToolTip": "src\\command.c",
"ViewState": "AQIAADwAAAAAAAAAAAAAAGYAAAAfAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000423|",
"WhenOpened": "2024-06-30T15:10:13.992Z",
"EditorCaption": ""
}
]
}
]
}
]
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

3
.vs/ProjectSettings.json Normal file
View File

@@ -0,0 +1,3 @@
{
"CurrentProjectSetting": "Linux Debug"
}

38
.vs/VSWorkspaceState.json Normal file
View File

@@ -0,0 +1,38 @@
{
"DevContainersInfoBarHidden": true,
"OutputFoldersPerTargetSystem": {
"Local Machine": [
"out\\build\\x64-debug",
"out\\install\\x64-debug",
"out\\build\\x64-release",
"out\\install\\x64-release",
"out\\build\\x86-debug",
"out\\install\\x86-debug",
"out\\build\\x86-release",
"out\\install\\x86-release"
],
"WSL: Ubuntu": [
"out\\Ubuntu\\build\\linux-debug",
"out\\Ubuntu\\install\\linux-debug"
]
},
"ActiveTargetSystem": "WSL: Ubuntu",
"MRUPresetsPerTargetSystem": {
"Local Machine": {
"configure": "x64-debug"
},
"WSL: Ubuntu": {
"configure": "linux-debug"
}
},
"ExpandedNodes": [
"",
"\\cmake",
"\\include",
"\\src",
"\\test",
"\\utils"
],
"SelectedNode": "\\src\\genXml.c",
"PreviewInSolutionExplorer": false
}

BIN
.vs/cmake.db Normal file

Binary file not shown.

View File

@@ -0,0 +1,130 @@
238892020 E:\Miscellaneous Project\GitMap\.gitmodules
-1578095963 E:\Miscellaneous Project\GitMap\CMakeLists.txt
-1727975345 E:\Miscellaneous Project\GitMap\CMakePresets.json
1325501560 E:\Miscellaneous Project\GitMap\
-570568185 E:\Miscellaneous Project\GitMap\cmake\AddGitSubmodule.cmake
1811989400 E:\Miscellaneous Project\GitMap\cmake\Findmxml.cmake
-2055755817 E:\Miscellaneous Project\GitMap\cmake\
-416058321 E:\Miscellaneous Project\GitMap\include\command.h
-56940094 E:\Miscellaneous Project\GitMap\include\printclr.h
-167924490 E:\Miscellaneous Project\GitMap\include\scan.h
787412970 E:\Miscellaneous Project\GitMap\include\
-1942741785 E:\Miscellaneous Project\GitMap\main\CMakeLists.txt
1282395365 E:\Miscellaneous Project\GitMap\main\main.c
1083542920 E:\Miscellaneous Project\GitMap\main\
-2143607574 E:\Miscellaneous Project\GitMap\src\CMakeLists.txt
214109053 E:\Miscellaneous Project\GitMap\src\command.c
1180337214 E:\Miscellaneous Project\GitMap\src\genXml.c
-293812196 E:\Miscellaneous Project\GitMap\src\printclr.c
-800727741 E:\Miscellaneous Project\GitMap\src\scan.c
1022892849 E:\Miscellaneous Project\GitMap\src\
-2147270933 E:\Miscellaneous Project\GitMap\test\CMakeLists.txt
1194399432 E:\Miscellaneous Project\GitMap\test\test_main.c
2088597722 E:\Miscellaneous Project\GitMap\test\
0 E:\Miscellaneous Project\GitMap\utils\
235806699 E:\Miscellaneous Project\GitMap\utils\mxml\.cppcheck
235790657 E:\Miscellaneous Project\GitMap\utils\mxml\.gitattributes
235790657 E:\Miscellaneous Project\GitMap\utils\mxml\.gitignore
235790657 E:\Miscellaneous Project\GitMap\utils\mxml\CHANGES.md
235790657 E:\Miscellaneous Project\GitMap\utils\mxml\CODE_OF_CONDUCT.md
235790657 E:\Miscellaneous Project\GitMap\utils\mxml\config.guess
235790657 E:\Miscellaneous Project\GitMap\utils\mxml\config.h.in
235095247 E:\Miscellaneous Project\GitMap\utils\mxml\config.sub
235095247 E:\Miscellaneous Project\GitMap\utils\mxml\configure
235095247 E:\Miscellaneous Project\GitMap\utils\mxml\configure.ac
234956641 E:\Miscellaneous Project\GitMap\utils\mxml\install-sh
235790657 E:\Miscellaneous Project\GitMap\utils\mxml\LICENSE
235790657 E:\Miscellaneous Project\GitMap\utils\mxml\Makefile.in
235178050 E:\Miscellaneous Project\GitMap\utils\mxml\makesrcdist
235178050 E:\Miscellaneous Project\GitMap\utils\mxml\mxml-attr.c
235178050 E:\Miscellaneous Project\GitMap\utils\mxml\mxml-file.c
235178050 E:\Miscellaneous Project\GitMap\utils\mxml\mxml-get.c
235178050 E:\Miscellaneous Project\GitMap\utils\mxml\mxml-index.c
235178050 E:\Miscellaneous Project\GitMap\utils\mxml\mxml-node.c
235178050 E:\Miscellaneous Project\GitMap\utils\mxml\mxml-options.c
235178050 E:\Miscellaneous Project\GitMap\utils\mxml\mxml-private.c
235178050 E:\Miscellaneous Project\GitMap\utils\mxml\mxml-private.h
235178050 E:\Miscellaneous Project\GitMap\utils\mxml\mxml-search.c
235178050 E:\Miscellaneous Project\GitMap\utils\mxml\mxml-set.c
235178050 E:\Miscellaneous Project\GitMap\utils\mxml\mxml.h
235178050 E:\Miscellaneous Project\GitMap\utils\mxml\mxml.spec
235178050 E:\Miscellaneous Project\GitMap\utils\mxml\mxml4.pc.in
235790657 E:\Miscellaneous Project\GitMap\utils\mxml\NOTICE
235790657 E:\Miscellaneous Project\GitMap\utils\mxml\README.md
235790657 E:\Miscellaneous Project\GitMap\utils\mxml\SECURITY.md
235178050 E:\Miscellaneous Project\GitMap\utils\mxml\test.xml
238709719 E:\Miscellaneous Project\GitMap\utils\mxml\testmxml.c
238709719 E:\Miscellaneous Project\GitMap\utils\mxml\xml.dict
1535694212 E:\Miscellaneous Project\GitMap\utils\mxml\
235790657 E:\Miscellaneous Project\GitMap\utils\mxml\.github\codeql.yml
235790657 E:\Miscellaneous Project\GitMap\utils\mxml\.github\FUNDING.yml
459332785 E:\Miscellaneous Project\GitMap\utils\mxml\.github\
235790657 E:\Miscellaneous Project\GitMap\utils\mxml\.github\workflows\build.yml
235790657 E:\Miscellaneous Project\GitMap\utils\mxml\.github\workflows\codeql.yml
235790657 E:\Miscellaneous Project\GitMap\utils\mxml\.github\workflows\coverity.yml
399256151 E:\Miscellaneous Project\GitMap\utils\mxml\.github\workflows\
235790657 E:\Miscellaneous Project\GitMap\utils\mxml\afl-input\test.xml
946650922 E:\Miscellaneous Project\GitMap\utils\mxml\afl-input\
235095247 E:\Miscellaneous Project\GitMap\utils\mxml\doc\body.man
235095247 E:\Miscellaneous Project\GitMap\utils\mxml\doc\body.md
235095247 E:\Miscellaneous Project\GitMap\utils\mxml\doc\footer.man
235095247 E:\Miscellaneous Project\GitMap\utils\mxml\doc\mxml-128.png
235095247 E:\Miscellaneous Project\GitMap\utils\mxml\doc\mxml-cover.opacity
235095247 E:\Miscellaneous Project\GitMap\utils\mxml\doc\mxml-cover.png
235095247 E:\Miscellaneous Project\GitMap\utils\mxml\doc\mxml.3
234956641 E:\Miscellaneous Project\GitMap\utils\mxml\doc\mxml.epub
234956641 E:\Miscellaneous Project\GitMap\utils\mxml\doc\mxml.html
234956641 E:\Miscellaneous Project\GitMap\utils\mxml\doc\mxml.opacity
234956641 E:\Miscellaneous Project\GitMap\utils\mxml\doc\mxml.png
-489482620 E:\Miscellaneous Project\GitMap\utils\mxml\doc\
0 E:\Miscellaneous Project\GitMap\utils\mxml\include\
469903862 E:\Miscellaneous Project\GitMap\utils\mxml\include\libmxml4\mxml.h
1423055213 E:\Miscellaneous Project\GitMap\utils\mxml\include\libmxml4\
478041429 E:\Miscellaneous Project\GitMap\utils\mxml\lib\libmxml4.a
478041429 E:\Miscellaneous Project\GitMap\utils\mxml\lib\libmxml4.so
477688811 E:\Miscellaneous Project\GitMap\utils\mxml\lib\libmxml4.so.2
2107152110 E:\Miscellaneous Project\GitMap\utils\mxml\lib\
477903331 E:\Miscellaneous Project\GitMap\utils\mxml\lib\pkgconfig\mxml4.pc
815683511 E:\Miscellaneous Project\GitMap\utils\mxml\lib\pkgconfig\
0 E:\Miscellaneous Project\GitMap\utils\mxml\share\
0 E:\Miscellaneous Project\GitMap\utils\mxml\share\doc\
476579289 E:\Miscellaneous Project\GitMap\utils\mxml\share\doc\mxml4\CHANGES
470842341 E:\Miscellaneous Project\GitMap\utils\mxml\share\doc\mxml4\LICENSE
470566455 E:\Miscellaneous Project\GitMap\utils\mxml\share\doc\mxml4\mxml-cover.png
476579289 E:\Miscellaneous Project\GitMap\utils\mxml\share\doc\mxml4\mxml.epub
470483663 E:\Miscellaneous Project\GitMap\utils\mxml\share\doc\mxml4\mxml.html
471807944 E:\Miscellaneous Project\GitMap\utils\mxml\share\doc\mxml4\NOTICE
471326056 E:\Miscellaneous Project\GitMap\utils\mxml\share\doc\mxml4\README
-1888074318 E:\Miscellaneous Project\GitMap\utils\mxml\share\doc\mxml4\
0 E:\Miscellaneous Project\GitMap\utils\mxml\share\man\
477199440 E:\Miscellaneous Project\GitMap\utils\mxml\share\man\man3\mxml4.3
-1836949665 E:\Miscellaneous Project\GitMap\utils\mxml\share\man\man3\
235178050 E:\Miscellaneous Project\GitMap\utils\mxml\test\class.cxx
235178050 E:\Miscellaneous Project\GitMap\utils\mxml\test\dotest.sh
235178050 E:\Miscellaneous Project\GitMap\utils\mxml\test\enum.cxx
235178050 E:\Miscellaneous Project\GitMap\utils\mxml\test\function.cxx
235178050 E:\Miscellaneous Project\GitMap\utils\mxml\test\functype.cxx
235178050 E:\Miscellaneous Project\GitMap\utils\mxml\test\struct.cxx
235178050 E:\Miscellaneous Project\GitMap\utils\mxml\test\type.cxx
392745540 E:\Miscellaneous Project\GitMap\utils\mxml\test\
238709719 E:\Miscellaneous Project\GitMap\utils\mxml\vcnet\config.h
238709719 E:\Miscellaneous Project\GitMap\utils\mxml\vcnet\libmxml4_native.nuspec
238709719 E:\Miscellaneous Project\GitMap\utils\mxml\vcnet\libmxml4_native.props
238709719 E:\Miscellaneous Project\GitMap\utils\mxml\vcnet\libmxml4_native.redist.nuspec
238709719 E:\Miscellaneous Project\GitMap\utils\mxml\vcnet\mxml.sln
238709719 E:\Miscellaneous Project\GitMap\utils\mxml\vcnet\mxml4.def
238709719 E:\Miscellaneous Project\GitMap\utils\mxml\vcnet\mxml4.vcxproj
238709719 E:\Miscellaneous Project\GitMap\utils\mxml\vcnet\mxml4.vcxproj.filters
238709719 E:\Miscellaneous Project\GitMap\utils\mxml\vcnet\mxml4.vcxproj.user
238709719 E:\Miscellaneous Project\GitMap\utils\mxml\vcnet\mxmlstat.vcxproj
238709719 E:\Miscellaneous Project\GitMap\utils\mxml\vcnet\mxmlstat.vcxproj.filters
238709719 E:\Miscellaneous Project\GitMap\utils\mxml\vcnet\mxmlstat.vcxproj.user
238709719 E:\Miscellaneous Project\GitMap\utils\mxml\vcnet\packages.config
238709719 E:\Miscellaneous Project\GitMap\utils\mxml\vcnet\testmxml.vcxproj
238709719 E:\Miscellaneous Project\GitMap\utils\mxml\vcnet\testmxml.vcxproj.filters
238709719 E:\Miscellaneous Project\GitMap\utils\mxml\vcnet\testmxml.vcxproj.user
-1083723995 E:\Miscellaneous Project\GitMap\utils\mxml\vcnet\
238709719 E:\Miscellaneous Project\GitMap\utils\mxml\xcode\config.h
1111040008 E:\Miscellaneous Project\GitMap\utils\mxml\xcode\
238709719 E:\Miscellaneous Project\GitMap\utils\mxml\xcode\mxml.xcodeproj\project.pbxproj
1472335882 E:\Miscellaneous Project\GitMap\utils\mxml\xcode\mxml.xcodeproj\

BIN
.vs/slnx.sqlite Normal file

Binary file not shown.

35
CMakeLists.txt Normal file
View File

@@ -0,0 +1,35 @@
# CMakeList.txt : CMake project for GitMap, include source and define
# project specific logic here.
#
cmake_minimum_required (VERSION 3.8)
project(GitMap VERSION 1.0.0 LANGUAGES C CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
#File structure for output executable and library directory...
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/$<CONFIG>")
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/$<CONFIG>")
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/$<CONFIG>")
set(GITMAP_LIBRARY GitMap)
set(HEADER_DIR "${CMAKE_SOURCE_DIR}/include")
set(SOURCE_DIR$ "${CMAKE_SOUCRE_DIR}/src")
set(EXTERNAL_DIR "${CMAKE_SOURCE_DIR}/utils")
set(TEST_DIR "${CMAKE_SOURCE_DIR}/test")
set(EXECUTABLE_DIR "${CMAKE_SOURCE_DIR}/main")
set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/")
include(AddGitSubmodule)
add_git_submodule(utils mxml https://github.com/michaelrsweet/mxml.git)
find_package(mxml REQUIRED)
add_subdirectory(src)
add_subdirectory(test)
add_subdirectory(main)

101
CMakePresets.json Normal file
View File

@@ -0,0 +1,101 @@
{
"version": 3,
"configurePresets": [
{
"name": "windows-base",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"installDir": "${sourceDir}/out/install/${presetName}",
"cacheVariables": {
"CMAKE_C_COMPILER": "cl.exe",
"CMAKE_CXX_COMPILER": "cl.exe"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "x64-debug",
"displayName": "x64 Debug",
"inherits": "windows-base",
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "x64-release",
"displayName": "x64 Release",
"inherits": "x64-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "x86-debug",
"displayName": "x86 Debug",
"inherits": "windows-base",
"architecture": {
"value": "x86",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "x86-release",
"displayName": "x86 Release",
"inherits": "x86-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "linux-debug",
"displayName": "Linux Debug",
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"installDir": "${sourceDir}/out/install/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
},
"vendor": {
"microsoft.com/VisualStudioRemoteSettings/CMake/1.0": {
"sourceDir": "$env{HOME}/.vs/$ms{projectDirName}"
}
}
},
{
"name": "macos-debug",
"displayName": "macOS Debug",
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"installDir": "${sourceDir}/out/install/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Darwin"
},
"vendor": {
"microsoft.com/VisualStudioRemoteSettings/CMake/1.0": {
"sourceDir": "$env{HOME}/.vs/$ms{projectDirName}"
}
}
}
]
}

View File

@@ -0,0 +1,39 @@
function(add_git_submodule relative_dir lib link)
find_package(Git REQUIRED)
set(FULL_DIR ${CMAKE_SOURCE_DIR}/${relative_dir})
#For intializing git if not already initialized.
if(NOT EXISTS "${CMAKE_SOURCE_DIR}/.git")
# If .git directory does not exist, execute git init
execute_process(
COMMAND git init
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
RESULT_VARIABLE result
)
if(result)
message(FATAL_ERROR "Failed to initialize git repository.")
endif()
endif()
#For adding the external deps if not added yet
if (NOT EXISTS ${FULL_DIR}/${lib})
execute_process(
COMMAND ${GIT_EXECUTABLE}
submodule add -- ${link}
WORKING_DIRECTORY ${FULL_DIR}
)
elseif (NOT EXISTS ${FULL_DIR}/CMakeLists.txt)
execute_process(COMMAND ${GIT_EXECUTABLE}
submodule update --init -- ${relative_dir}
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})
endif()
if (EXISTS ${FULL_DIR}/CMakeLists.txt)
message("Submodule is CMake Project: ${FULL_DIR}/CMakeLists.txt")
add_subdirectory(${FULL_DIR})
else()
message("Submodule is NO CMake Project: ${FULL_DIR}")
endif()
endfunction(add_git_submodule)

41
cmake/Findmxml.cmake Normal file
View File

@@ -0,0 +1,41 @@
# Findmxml.cmake
# Locate the mxml library
message(STATUS "Searching for mxml library")
find_library(MXML_LIBRARY_STATIC
NAMES libmxml4.a
HINTS
${CMAKE_SOURCE_DIR}/utils/mxml/lib
${CMAKE_SOURCE_DIR}/utils/mxml
PATH_SUFFIXES lib
DOC "Path to the mxml library"
)
message(STATUS "MXML_LIBRARY: ${MXML_LIBRARY_STATIC}")
# Locate the directory containing mxml.h
message(STATUS "Searching for mxml.h")
find_path(MXML_INCLUDE_DIR
NAMES mxml.h
HINTS
${CMAKE_SOURCE_DIR}/utils/mxml/include
${CMAKE_SOURCE_DIR}/utils/mxml
PATH_SUFFIXES include
DOC "Path to the mxml.h file"
)
message(STATUS "MXML_INCLUDE_DIR: ${MXML_INCLUDE_DIR}")
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(mxml REQUIRED_VARS MXML_LIBRARY_STATIC MXML_INCLUDE_DIR
HANDLE_COMPONENTS)
if(MXML_FOUND)
set(MXML_LIBRARIES ${MXML_LIBRARY_STATIC})
set(MXML_INCLUDE_DIRS ${MXML_INCLUDE_DIR})
else()
set(MXML_LIBRARIES)
set(MXML_INCLUDE_DIRS)
endif()
mark_as_advanced(MXML_INCLUDE_DIR MXML_LIBRARY_STATIC)

26
include/command.h Normal file
View File

@@ -0,0 +1,26 @@
#ifndef __COMMAND_H
#define __COMMAND_H
#include <stddef.h>
enum {
CMD_SUCCESS = 0,
CMD_FAIL_EXEC,
CMD_FAIL_CMD
};
/*
* Defined in scan.c source file.
*/
int Multi_Git_Project_scan(char* str);
int Git_Project_scan(char* str);
int Multi_Git_Project_rm(char* str);
int Git_Project_rm(char* str);
int
command_exec(int argc, char** argv);
int
command_parse_and_exec(char* str);
#endif

18
include/printclr.h Normal file
View File

@@ -0,0 +1,18 @@
#ifndef __PRINTCLR_H
#define __PRINTCLR_H
typedef enum {
FG_BLACK = 0,
FG_RED,
FG_GREEN,
FG_YELLOW,
FG_BLUE,
FG_MAGENTA,
FG_CYAN,
FG_WHITE
}fg_clr_t;
void
printclr(fg_clr_t fg, const char* fmt, ...);
#endif

10
include/scan.h Normal file
View File

@@ -0,0 +1,10 @@
#ifndef __SCAN_H
#define __SCAN_H
#include <command.h>
#include <stdlib.h>
int cache_location(const char* directory_path, const char* git_project_path);
#endif

8
main/CMakeLists.txt Normal file
View File

@@ -0,0 +1,8 @@
set(GITMAP Gitmap)
set(MAIN_SRC "main.c")
add_executable(${GITMAP}
${MAIN_SRC})
target_link_libraries(${GITMAP} PUBLIC
${GTIMAP_LIBRARY})

0
main/main.c Normal file
View File

View File

@@ -0,0 +1 @@
{"requests":[{"kind":"cache","version":2},{"kind":"cmakeFiles","version":1},{"kind":"codemodel","version":2},{"kind":"toolchains","version":1}]}

View File

@@ -0,0 +1,176 @@
{
"inputs" :
[
{
"path" : "CMakeLists.txt"
},
{
"isGenerated" : true,
"path" : "out/build/linux-debug/CMakeFiles/3.22.1/CMakeSystem.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/CMakeSystemSpecificInitialize.cmake"
},
{
"isGenerated" : true,
"path" : "out/build/linux-debug/CMakeFiles/3.22.1/CMakeCCompiler.cmake"
},
{
"isGenerated" : true,
"path" : "out/build/linux-debug/CMakeFiles/3.22.1/CMakeCXXCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/CMakeSystemSpecificInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/CMakeGenericSystem.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/CMakeInitializeConfigs.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/Platform/Linux.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/Platform/UnixPaths.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/CMakeCInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/CMakeLanguageInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/Compiler/GNU-C.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/Compiler/GNU.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/Platform/Linux-GNU-C.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/Platform/Linux-GNU.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/CMakeCommonLanguageInclude.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/CMakeCXXInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/CMakeLanguageInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/Compiler/GNU-CXX.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/Compiler/GNU.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/Platform/Linux-GNU-CXX.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/Platform/Linux-GNU.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/CMakeCommonLanguageInclude.cmake"
},
{
"path" : "cmake/AddGitSubmodule.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/FindGit.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/FindPackageMessage.cmake"
},
{
"path" : "cmake/Findmxml.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/FindPackageMessage.cmake"
},
{
"path" : "src/CMakeLists.txt"
},
{
"path" : "test/CMakeLists.txt"
},
{
"path" : "main/CMakeLists.txt"
}
],
"kind" : "cmakeFiles",
"paths" :
{
"build" : "/home/hizenberg/.vs/GitMap/out/build/linux-debug",
"source" : "/home/hizenberg/.vs/GitMap"
},
"version" :
{
"major" : 1,
"minor" : 0
}
}

View File

@@ -0,0 +1,126 @@
{
"configurations" :
[
{
"directories" :
[
{
"build" : ".",
"childIndexes" :
[
1,
2,
3
],
"jsonFile" : "directory-.-Debug-f5ebdc15457944623624.json",
"minimumCMakeVersion" :
{
"string" : "3.8"
},
"projectIndex" : 0,
"source" : "."
},
{
"build" : "src",
"jsonFile" : "directory-src-Debug-b6cf2213fc5053b67c22.json",
"minimumCMakeVersion" :
{
"string" : "3.8"
},
"parentIndex" : 0,
"projectIndex" : 0,
"source" : "src",
"targetIndexes" :
[
0
]
},
{
"build" : "test",
"jsonFile" : "directory-test-Debug-451c0598f41488bb20b9.json",
"minimumCMakeVersion" :
{
"string" : "3.8"
},
"parentIndex" : 0,
"projectIndex" : 0,
"source" : "test",
"targetIndexes" :
[
2
]
},
{
"build" : "main",
"jsonFile" : "directory-main-Debug-c59558c0a3fb20727b44.json",
"minimumCMakeVersion" :
{
"string" : "3.8"
},
"parentIndex" : 0,
"projectIndex" : 0,
"source" : "main",
"targetIndexes" :
[
1
]
}
],
"name" : "Debug",
"projects" :
[
{
"directoryIndexes" :
[
0,
1,
2,
3
],
"name" : "GitMap",
"targetIndexes" :
[
0,
1,
2
]
}
],
"targets" :
[
{
"directoryIndex" : 1,
"id" : "GitMap::@145eef247bfb46b6828c",
"jsonFile" : "target-GitMap-Debug-67a33a9a3e15284a8b33.json",
"name" : "GitMap",
"projectIndex" : 0
},
{
"directoryIndex" : 3,
"id" : "Gitmap::@15c4a824ab2728a3f5e7",
"jsonFile" : "target-Gitmap-Debug-6048016811f2ec75bec5.json",
"name" : "Gitmap",
"projectIndex" : 0
},
{
"directoryIndex" : 2,
"id" : "test_main::@36f028580bb02cc8272a",
"jsonFile" : "target-test_main-Debug-50a4bb20bc96dd8ad8ad.json",
"name" : "test_main",
"projectIndex" : 0
}
]
}
],
"kind" : "codemodel",
"paths" :
{
"build" : "/home/hizenberg/.vs/GitMap/out/build/linux-debug",
"source" : "/home/hizenberg/.vs/GitMap"
},
"version" :
{
"major" : 2,
"minor" : 3
}
}

View File

@@ -0,0 +1,14 @@
{
"backtraceGraph" :
{
"commands" : [],
"files" : [],
"nodes" : []
},
"installers" : [],
"paths" :
{
"build" : ".",
"source" : "."
}
}

View File

@@ -0,0 +1,14 @@
{
"backtraceGraph" :
{
"commands" : [],
"files" : [],
"nodes" : []
},
"installers" : [],
"paths" :
{
"build" : "main",
"source" : "main"
}
}

View File

@@ -0,0 +1,14 @@
{
"backtraceGraph" :
{
"commands" : [],
"files" : [],
"nodes" : []
},
"installers" : [],
"paths" :
{
"build" : "src",
"source" : "src"
}
}

View File

@@ -0,0 +1,14 @@
{
"backtraceGraph" :
{
"commands" : [],
"files" : [],
"nodes" : []
},
"installers" : [],
"paths" :
{
"build" : "test",
"source" : "test"
}
}

View File

@@ -0,0 +1,132 @@
{
"cmake" :
{
"generator" :
{
"multiConfig" : false,
"name" : "Ninja"
},
"paths" :
{
"cmake" : "/usr/bin/cmake",
"cpack" : "/usr/bin/cpack",
"ctest" : "/usr/bin/ctest",
"root" : "/usr/share/cmake-3.22"
},
"version" :
{
"isDirty" : false,
"major" : 3,
"minor" : 22,
"patch" : 1,
"string" : "3.22.1",
"suffix" : ""
}
},
"objects" :
[
{
"jsonFile" : "codemodel-v2-641cb944b62b715aff9a.json",
"kind" : "codemodel",
"version" :
{
"major" : 2,
"minor" : 3
}
},
{
"jsonFile" : "cache-v2-1281dd8595e0f3fe4a75.json",
"kind" : "cache",
"version" :
{
"major" : 2,
"minor" : 0
}
},
{
"jsonFile" : "cmakeFiles-v1-28651b2387b6d9ac0265.json",
"kind" : "cmakeFiles",
"version" :
{
"major" : 1,
"minor" : 0
}
},
{
"jsonFile" : "toolchains-v1-99265b04de7ada3aac9e.json",
"kind" : "toolchains",
"version" :
{
"major" : 1,
"minor" : 0
}
}
],
"reply" :
{
"client-MicrosoftVS" :
{
"query.json" :
{
"requests" :
[
{
"kind" : "cache",
"version" : 2
},
{
"kind" : "cmakeFiles",
"version" : 1
},
{
"kind" : "codemodel",
"version" : 2
},
{
"kind" : "toolchains",
"version" : 1
}
],
"responses" :
[
{
"jsonFile" : "cache-v2-1281dd8595e0f3fe4a75.json",
"kind" : "cache",
"version" :
{
"major" : 2,
"minor" : 0
}
},
{
"jsonFile" : "cmakeFiles-v1-28651b2387b6d9ac0265.json",
"kind" : "cmakeFiles",
"version" :
{
"major" : 1,
"minor" : 0
}
},
{
"jsonFile" : "codemodel-v2-641cb944b62b715aff9a.json",
"kind" : "codemodel",
"version" :
{
"major" : 2,
"minor" : 3
}
},
{
"jsonFile" : "toolchains-v1-99265b04de7ada3aac9e.json",
"kind" : "toolchains",
"version" :
{
"major" : 1,
"minor" : 0
}
}
]
}
}
}
}

View File

@@ -0,0 +1,119 @@
{
"archive" : {},
"artifacts" :
[
{
"path" : "lib/Debug/libGitMap.a"
}
],
"backtrace" : 1,
"backtraceGraph" :
{
"commands" :
[
"add_library",
"target_include_directories"
],
"files" :
[
"src/CMakeLists.txt"
],
"nodes" :
[
{
"file" : 0
},
{
"command" : 0,
"file" : 0,
"line" : 13,
"parent" : 0
},
{
"command" : 1,
"file" : 0,
"line" : 22,
"parent" : 0
}
]
},
"compileGroups" :
[
{
"compileCommandFragments" :
[
{
"fragment" : "-g"
}
],
"includes" :
[
{
"backtrace" : 2,
"path" : "/home/hizenberg/.vs/GitMap/include"
},
{
"backtrace" : 2,
"path" : "/home/hizenberg/.vs/GitMap/utils/mxml"
}
],
"language" : "C",
"sourceIndexes" :
[
0,
1,
2,
3
]
}
],
"id" : "GitMap::@145eef247bfb46b6828c",
"name" : "GitMap",
"nameOnDisk" : "libGitMap.a",
"paths" :
{
"build" : "src",
"source" : "src"
},
"sourceGroups" :
[
{
"name" : "Source Files",
"sourceIndexes" :
[
0,
1,
2,
3
]
}
],
"sources" :
[
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "src/printclr.c",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "src/command.c",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "src/scan.c",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "src/genXml.c",
"sourceGroupIndex" : 0
}
],
"type" : "STATIC_LIBRARY"
}

View File

@@ -0,0 +1,91 @@
{
"artifacts" :
[
{
"path" : "bin/Debug/Gitmap"
}
],
"backtrace" : 1,
"backtraceGraph" :
{
"commands" :
[
"add_executable"
],
"files" :
[
"main/CMakeLists.txt"
],
"nodes" :
[
{
"file" : 0
},
{
"command" : 0,
"file" : 0,
"line" : 4,
"parent" : 0
}
]
},
"compileGroups" :
[
{
"compileCommandFragments" :
[
{
"fragment" : "-g"
}
],
"language" : "C",
"sourceIndexes" :
[
0
]
}
],
"id" : "Gitmap::@15c4a824ab2728a3f5e7",
"link" :
{
"commandFragments" :
[
{
"fragment" : "-g",
"role" : "flags"
},
{
"fragment" : "",
"role" : "flags"
}
],
"language" : "C"
},
"name" : "Gitmap",
"nameOnDisk" : "Gitmap",
"paths" :
{
"build" : "main",
"source" : "main"
},
"sourceGroups" :
[
{
"name" : "Source Files",
"sourceIndexes" :
[
0
]
}
],
"sources" :
[
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "main/main.c",
"sourceGroupIndex" : 0
}
],
"type" : "EXECUTABLE"
}

View File

@@ -0,0 +1,125 @@
{
"artifacts" :
[
{
"path" : "bin/Debug/test_main"
}
],
"backtrace" : 1,
"backtraceGraph" :
{
"commands" :
[
"add_executable",
"target_link_libraries"
],
"files" :
[
"test/CMakeLists.txt"
],
"nodes" :
[
{
"file" : 0
},
{
"command" : 0,
"file" : 0,
"line" : 7,
"parent" : 0
},
{
"command" : 1,
"file" : 0,
"line" : 10,
"parent" : 0
}
]
},
"compileGroups" :
[
{
"compileCommandFragments" :
[
{
"fragment" : "-g"
}
],
"includes" :
[
{
"backtrace" : 2,
"path" : "/home/hizenberg/.vs/GitMap/include"
},
{
"backtrace" : 2,
"path" : "/home/hizenberg/.vs/GitMap/utils/mxml"
}
],
"language" : "C",
"sourceIndexes" :
[
0
]
}
],
"dependencies" :
[
{
"backtrace" : 2,
"id" : "GitMap::@145eef247bfb46b6828c"
}
],
"id" : "test_main::@36f028580bb02cc8272a",
"link" :
{
"commandFragments" :
[
{
"fragment" : "-g",
"role" : "flags"
},
{
"fragment" : "",
"role" : "flags"
},
{
"backtrace" : 2,
"fragment" : "lib/Debug/libGitMap.a",
"role" : "libraries"
},
{
"fragment" : "../../../utils/mxml/lib/libmxml4.a",
"role" : "libraries"
}
],
"language" : "C"
},
"name" : "test_main",
"nameOnDisk" : "test_main",
"paths" :
{
"build" : "test",
"source" : "test"
},
"sourceGroups" :
[
{
"name" : "Source Files",
"sourceIndexes" :
[
0
]
}
],
"sources" :
[
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "test/test_main.c",
"sourceGroupIndex" : 0
}
],
"type" : "EXECUTABLE"
}

View File

@@ -0,0 +1,107 @@
{
"kind" : "toolchains",
"toolchains" :
[
{
"compiler" :
{
"id" : "GNU",
"implicit" :
{
"includeDirectories" :
[
"/usr/lib/gcc/x86_64-linux-gnu/11/include",
"/usr/local/include",
"/usr/include/x86_64-linux-gnu",
"/usr/include"
],
"linkDirectories" :
[
"/usr/lib/gcc/x86_64-linux-gnu/11",
"/usr/lib/x86_64-linux-gnu",
"/usr/lib",
"/lib/x86_64-linux-gnu",
"/lib"
],
"linkFrameworkDirectories" : [],
"linkLibraries" :
[
"gcc",
"gcc_s",
"c",
"gcc",
"gcc_s"
]
},
"path" : "/usr/bin/cc",
"version" : "11.4.0"
},
"language" : "C",
"sourceFileExtensions" :
[
"c",
"m"
]
},
{
"compiler" :
{
"id" : "GNU",
"implicit" :
{
"includeDirectories" :
[
"/usr/include/c++/11",
"/usr/include/x86_64-linux-gnu/c++/11",
"/usr/include/c++/11/backward",
"/usr/lib/gcc/x86_64-linux-gnu/11/include",
"/usr/local/include",
"/usr/include/x86_64-linux-gnu",
"/usr/include"
],
"linkDirectories" :
[
"/usr/lib/gcc/x86_64-linux-gnu/11",
"/usr/lib/x86_64-linux-gnu",
"/usr/lib",
"/lib/x86_64-linux-gnu",
"/lib"
],
"linkFrameworkDirectories" : [],
"linkLibraries" :
[
"stdc++",
"m",
"gcc_s",
"gcc",
"c",
"gcc_s",
"gcc"
]
},
"path" : "/usr/bin/c++",
"version" : "11.4.0"
},
"language" : "CXX",
"sourceFileExtensions" :
[
"C",
"M",
"c++",
"cc",
"cpp",
"cxx",
"mm",
"mpp",
"CPP",
"ixx",
"cppm"
]
}
],
"version" :
{
"major" : 1,
"minor" : 0
}
}

View File

@@ -0,0 +1,827 @@
{
"host_identifier": "Ubuntu",
"predefines": {
"cpp_compiler": "/usr/bin/c++",
"cpp_compiler_defines": {
"__SSP_STRONG__": "3",
"__DBL_MIN_EXP__": "(-1021)",
"__cpp_attributes": "200809L",
"__cpp_nontype_template_parameter_auto": "201606L",
"__UINT_LEAST16_MAX__": "0xffff",
"__ATOMIC_ACQUIRE": "2",
"__FLT128_MAX_10_EXP__": "4932",
"__FLT_MIN__": "1.17549435082228750796873653722224568e-38F",
"__GCC_IEC_559_COMPLEX": "2",
"__cpp_aggregate_nsdmi": "201304L",
"__UINT_LEAST8_TYPE__": "unsigned char",
"__SIZEOF_FLOAT80__": "16",
"__INTMAX_C(c)": "c ## L",
"__CHAR_BIT__": "8",
"__UINT8_MAX__": "0xff",
"__SCHAR_WIDTH__": "8",
"__WINT_MAX__": "0xffffffffU",
"__FLT32_MIN_EXP__": "(-125)",
"__cpp_static_assert": "201411L",
"__ORDER_LITTLE_ENDIAN__": "1234",
"__SIZE_MAX__": "0xffffffffffffffffUL",
"__WCHAR_MAX__": "0x7fffffff",
"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1": "1",
"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2": "1",
"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4": "1",
"__DBL_DENORM_MIN__": "double(4.94065645841246544176568792868221372e-324L)",
"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8": "1",
"__GCC_ATOMIC_CHAR_LOCK_FREE": "2",
"__GCC_IEC_559": "2",
"__FLT32X_DECIMAL_DIG__": "17",
"__FLT_EVAL_METHOD__": "0",
"__cpp_binary_literals": "201304L",
"__FLT64_DECIMAL_DIG__": "17",
"__CET__": "3",
"__cpp_noexcept_function_type": "201510L",
"__GCC_ATOMIC_CHAR32_T_LOCK_FREE": "2",
"__cpp_variadic_templates": "200704L",
"__UINT_FAST64_MAX__": "0xffffffffffffffffUL",
"__SIG_ATOMIC_TYPE__": "int",
"__DBL_MIN_10_EXP__": "(-307)",
"__FINITE_MATH_ONLY__": "0",
"__cpp_variable_templates": "201304L",
"__FLT32X_MAX_EXP__": "1024",
"__FLT32_HAS_DENORM__": "1",
"__UINT_FAST8_MAX__": "0xff",
"__cpp_rvalue_reference": "200610L",
"__cpp_nested_namespace_definitions": "201411L",
"__DEC64_MAX_EXP__": "385",
"__INT8_C(c)": "c",
"__INT_LEAST8_WIDTH__": "8",
"__cpp_variadic_using": "201611L",
"__UINT_LEAST64_MAX__": "0xffffffffffffffffUL",
"__INT_LEAST8_MAX__": "0x7f",
"__cpp_capture_star_this": "201603L",
"__SHRT_MAX__": "0x7fff",
"__LDBL_MAX__": "1.18973149535723176502126385303097021e+4932L",
"__FLT64X_MAX_10_EXP__": "4932",
"__cpp_if_constexpr": "201606L",
"__LDBL_IS_IEC_60559__": "2",
"__FLT64X_HAS_QUIET_NAN__": "1",
"__UINT_LEAST8_MAX__": "0xff",
"__GCC_ATOMIC_BOOL_LOCK_FREE": "2",
"__FLT128_DENORM_MIN__": "6.47517511943802511092443895822764655e-4966F128",
"__UINTMAX_TYPE__": "long unsigned int",
"__linux": "1",
"__DEC32_EPSILON__": "1E-6DF",
"__FLT_EVAL_METHOD_TS_18661_3__": "0",
"__unix": "1",
"__UINT32_MAX__": "0xffffffffU",
"__GXX_EXPERIMENTAL_CXX0X__": "1",
"__FLT128_MIN_EXP__": "(-16381)",
"__WINT_MIN__": "0U",
"__FLT128_MIN_10_EXP__": "(-4931)",
"__FLT32X_IS_IEC_60559__": "2",
"__INT_LEAST16_WIDTH__": "16",
"__SCHAR_MAX__": "0x7f",
"__FLT128_MANT_DIG__": "113",
"__WCHAR_MIN__": "(-__WCHAR_MAX__ - 1)",
"__INT64_C(c)": "c ## L",
"__GCC_ATOMIC_POINTER_LOCK_FREE": "2",
"__FLT32X_MANT_DIG__": "53",
"__GCC_ATOMIC_CHAR16_T_LOCK_FREE": "2",
"__cpp_aligned_new": "201606L",
"__USER_LABEL_PREFIX__": "",
"__FLT32_MAX_10_EXP__": "38",
"__FLT64X_EPSILON__": "1.08420217248550443400745280086994171e-19F64x",
"__STDC_HOSTED__": "1",
"__DEC64_MIN_EXP__": "(-382)",
"__cpp_decltype_auto": "201304L",
"__DBL_DIG__": "15",
"__FLT32_DIG__": "6",
"__FLT_EPSILON__": "1.19209289550781250000000000000000000e-7F",
"__GXX_WEAK__": "1",
"__SHRT_WIDTH__": "16",
"__FLT32_IS_IEC_60559__": "2",
"__LDBL_MIN__": "3.36210314311209350626267781732175260e-4932L",
"__DBL_IS_IEC_60559__": "2",
"__DEC32_MAX__": "9.999999E96DF",
"__cpp_threadsafe_static_init": "200806L",
"__cpp_enumerator_attributes": "201411L",
"__FLT64X_DENORM_MIN__": "3.64519953188247460252840593361941982e-4951F64x",
"__FLT32X_HAS_INFINITY__": "1",
"__INT32_MAX__": "0x7fffffff",
"__unix__": "1",
"__INT_WIDTH__": "32",
"__SIZEOF_LONG__": "8",
"__STDC_IEC_559__": "1",
"__STDC_ISO_10646__": "201706L",
"__UINT16_C(c)": "c",
"__DECIMAL_DIG__": "21",
"__STDC_IEC_559_COMPLEX__": "1",
"__FLT64_EPSILON__": "2.22044604925031308084726333618164062e-16F64",
"__gnu_linux__": "1",
"__INT16_MAX__": "0x7fff",
"__FLT64_MIN_EXP__": "(-1021)",
"__FLT64X_MIN_10_EXP__": "(-4931)",
"__LDBL_HAS_QUIET_NAN__": "1",
"__FLT64_MANT_DIG__": "53",
"__FLT64X_MANT_DIG__": "64",
"__GNUC__": "11",
"__GXX_RTTI": "1",
"__pie__": "2",
"__MMX__": "1",
"__FLT_HAS_DENORM__": "1",
"__SIZEOF_LONG_DOUBLE__": "16",
"__BIGGEST_ALIGNMENT__": "16",
"__STDC_UTF_16__": "1",
"__FLT64_MAX_10_EXP__": "308",
"__cpp_delegating_constructors": "200604L",
"__FLT32_HAS_INFINITY__": "1",
"__DBL_MAX__": "double(1.79769313486231570814527423731704357e+308L)",
"__cpp_raw_strings": "200710L",
"__INT_FAST32_MAX__": "0x7fffffffffffffffL",
"__DBL_HAS_INFINITY__": "1",
"__SIZEOF_FLOAT__": "4",
"__HAVE_SPECULATION_SAFE_VALUE": "1",
"__cpp_fold_expressions": "201603L",
"__DEC32_MIN_EXP__": "(-94)",
"__INTPTR_WIDTH__": "64",
"__FLT64X_HAS_INFINITY__": "1",
"__UINT_LEAST32_MAX__": "0xffffffffU",
"__FLT32X_HAS_DENORM__": "1",
"__INT_FAST16_TYPE__": "long int",
"__MMX_WITH_SSE__": "1",
"__LDBL_HAS_DENORM__": "1",
"__cplusplus": "201703L",
"__cpp_ref_qualifiers": "200710L",
"__DEC32_MIN__": "1E-95DF",
"__DEPRECATED": "1",
"__cpp_rvalue_references": "200610L",
"__DBL_MAX_EXP__": "1024",
"__WCHAR_WIDTH__": "32",
"__FLT32_MAX__": "3.40282346638528859811704183484516925e+38F32",
"__DEC128_EPSILON__": "1E-33DL",
"__SSE2_MATH__": "1",
"__ATOMIC_HLE_RELEASE": "131072",
"__PTRDIFF_MAX__": "0x7fffffffffffffffL",
"__amd64": "1",
"__ATOMIC_HLE_ACQUIRE": "65536",
"__GNUG__": "11",
"__LONG_LONG_MAX__": "0x7fffffffffffffffLL",
"__SIZEOF_SIZE_T__": "8",
"__cpp_nsdmi": "200809L",
"__FLT64X_MIN_EXP__": "(-16381)",
"__SIZEOF_WINT_T__": "4",
"__LONG_LONG_WIDTH__": "64",
"__cpp_initializer_lists": "200806L",
"__FLT32_MAX_EXP__": "128",
"__cpp_hex_float": "201603L",
"__GXX_ABI_VERSION": "1016",
"__FLT128_HAS_INFINITY__": "1",
"__FLT_MIN_EXP__": "(-125)",
"__GCC_HAVE_DWARF2_CFI_ASM": "1",
"__x86_64": "1",
"__cpp_lambdas": "200907L",
"__INT_FAST64_TYPE__": "long int",
"__FLT64_DENORM_MIN__": "4.94065645841246544176568792868221372e-324F64",
"__cpp_template_auto": "201606L",
"__DBL_MIN__": "double(2.22507385850720138309023271733240406e-308L)",
"__FLT128_EPSILON__": "1.92592994438723585305597794258492732e-34F128",
"__FLT64X_NORM_MAX__": "1.18973149535723176502126385303097021e+4932F64x",
"__SIZEOF_POINTER__": "8",
"__LP64__": "1",
"__DBL_HAS_QUIET_NAN__": "1",
"__FLT32X_EPSILON__": "2.22044604925031308084726333618164062e-16F32x",
"__DECIMAL_BID_FORMAT__": "1",
"__FLT64_MIN_10_EXP__": "(-307)",
"__FLT64X_DECIMAL_DIG__": "21",
"__DEC128_MIN__": "1E-6143DL",
"__REGISTER_PREFIX__": "",
"__UINT16_MAX__": "0xffff",
"__LDBL_HAS_INFINITY__": "1",
"__FLT32_MIN__": "1.17549435082228750796873653722224568e-38F32",
"__UINT8_TYPE__": "unsigned char",
"__FLT_DIG__": "6",
"__NO_INLINE__": "1",
"__DEC_EVAL_METHOD__": "2",
"__DEC128_MAX__": "9.999999999999999999999999999999999E6144DL",
"__FLT_MANT_DIG__": "24",
"__LDBL_DECIMAL_DIG__": "21",
"__VERSION__": "\"11.4.0\"",
"__UINT64_C(c)": "c ## UL",
"__cpp_unicode_characters": "201411L",
"_STDC_PREDEF_H": "1",
"__INT_LEAST32_MAX__": "0x7fffffff",
"__GCC_ATOMIC_INT_LOCK_FREE": "2",
"__FLT128_MAX_EXP__": "16384",
"__FLT32_MANT_DIG__": "24",
"__FLOAT_WORD_ORDER__": "__ORDER_LITTLE_ENDIAN__",
"__STDC_IEC_60559_COMPLEX__": "201404L",
"__cpp_aggregate_bases": "201603L",
"__FLT128_HAS_DENORM__": "1",
"__FLT32_DECIMAL_DIG__": "9",
"__FLT128_DIG__": "33",
"__INT32_C(c)": "c",
"__DEC64_EPSILON__": "1E-15DD",
"__ORDER_PDP_ENDIAN__": "3412",
"__DEC128_MIN_EXP__": "(-6142)",
"__INT_FAST32_TYPE__": "long int",
"__UINT_LEAST16_TYPE__": "short unsigned int",
"unix": "1",
"__DBL_HAS_DENORM__": "1",
"__cpp_rtti": "199711L",
"__SIZE_TYPE__": "long unsigned int",
"__UINT64_MAX__": "0xffffffffffffffffUL",
"__FLT_IS_IEC_60559__": "2",
"__GNUC_WIDE_EXECUTION_CHARSET_NAME": "\"UTF-32LE\"",
"__FLT64X_DIG__": "18",
"__INT8_TYPE__": "signed char",
"__cpp_digit_separators": "201309L",
"__ELF__": "1",
"__GCC_ASM_FLAG_OUTPUTS__": "1",
"__UINT32_TYPE__": "unsigned int",
"__FLT_RADIX__": "2",
"__INT_LEAST16_TYPE__": "short int",
"__LDBL_EPSILON__": "1.08420217248550443400745280086994171e-19L",
"__UINTMAX_C(c)": "c ## UL",
"__GLIBCXX_BITSIZE_INT_N_0": "128",
"__k8": "1",
"__FLT32X_MIN__": "2.22507385850720138309023271733240406e-308F32x",
"__SIG_ATOMIC_MAX__": "0x7fffffff",
"__GCC_ATOMIC_WCHAR_T_LOCK_FREE": "2",
"__STDC_IEC_60559_BFP__": "201404L",
"__SIZEOF_PTRDIFF_T__": "8",
"__LDBL_DIG__": "18",
"__FLT64_IS_IEC_60559__": "2",
"__x86_64__": "1",
"__FLT32X_MIN_EXP__": "(-1021)",
"__DEC32_SUBNORMAL_MIN__": "0.000001E-95DF",
"__INT_FAST16_MAX__": "0x7fffffffffffffffL",
"__FLT64_DIG__": "15",
"__UINT_FAST32_MAX__": "0xffffffffffffffffUL",
"__UINT_LEAST64_TYPE__": "long unsigned int",
"__FLT_HAS_QUIET_NAN__": "1",
"__FLT_MAX_10_EXP__": "38",
"__LONG_MAX__": "0x7fffffffffffffffL",
"__FLT64X_HAS_DENORM__": "1",
"__DEC128_SUBNORMAL_MIN__": "0.000000000000000000000000000000001E-6143DL",
"__FLT_HAS_INFINITY__": "1",
"__GNUC_EXECUTION_CHARSET_NAME": "\"UTF-8\"",
"__cpp_unicode_literals": "200710L",
"__UINT_FAST16_TYPE__": "long unsigned int",
"__DEC64_MAX__": "9.999999999999999E384DD",
"__INT_FAST32_WIDTH__": "64",
"__CHAR16_TYPE__": "short unsigned int",
"__PRAGMA_REDEFINE_EXTNAME": "1",
"__SIZE_WIDTH__": "64",
"__SEG_FS": "1",
"__INT_LEAST16_MAX__": "0x7fff",
"__DEC64_MANT_DIG__": "16",
"__INT64_MAX__": "0x7fffffffffffffffL",
"__SEG_GS": "1",
"__FLT32_DENORM_MIN__": "1.40129846432481707092372958328991613e-45F32",
"__SIG_ATOMIC_WIDTH__": "32",
"__INT_LEAST64_TYPE__": "long int",
"__INT16_TYPE__": "short int",
"__INT_LEAST8_TYPE__": "signed char",
"__cpp_structured_bindings": "201606L",
"__SIZEOF_INT__": "4",
"__DEC32_MAX_EXP__": "97",
"__INT_FAST8_MAX__": "0x7f",
"__FLT128_MAX__": "1.18973149535723176508575932662800702e+4932F128",
"__INTPTR_MAX__": "0x7fffffffffffffffL",
"__cpp_sized_deallocation": "201309L",
"__cpp_guaranteed_copy_elision": "201606L",
"linux": "1",
"__FLT64_HAS_QUIET_NAN__": "1",
"__FLT32_MIN_10_EXP__": "(-37)",
"__EXCEPTIONS": "1",
"__PTRDIFF_WIDTH__": "64",
"__LDBL_MANT_DIG__": "64",
"__cpp_range_based_for": "201603L",
"__FLT64_HAS_INFINITY__": "1",
"__FLT64X_MAX__": "1.18973149535723176502126385303097021e+4932F64x",
"__STDCPP_DEFAULT_NEW_ALIGNMENT__": "16",
"__SIG_ATOMIC_MIN__": "(-__SIG_ATOMIC_MAX__ - 1)",
"__code_model_small__": "1",
"__GCC_ATOMIC_LONG_LOCK_FREE": "2",
"__cpp_nontype_template_args": "201411L",
"__DEC32_MANT_DIG__": "7",
"__cpp_return_type_deduction": "201304L",
"__k8__": "1",
"__INTPTR_TYPE__": "long int",
"__UINT16_TYPE__": "short unsigned int",
"__WCHAR_TYPE__": "int",
"__pic__": "2",
"__UINTPTR_MAX__": "0xffffffffffffffffUL",
"__INT_FAST64_WIDTH__": "64",
"__cpp_decltype": "200707L",
"__INT_FAST64_MAX__": "0x7fffffffffffffffL",
"__GCC_ATOMIC_TEST_AND_SET_TRUEVAL": "1",
"__FLT_NORM_MAX__": "3.40282346638528859811704183484516925e+38F",
"__FLT64X_MAX_EXP__": "16384",
"__UINT_FAST64_TYPE__": "long unsigned int",
"__cpp_inline_variables": "201606L",
"__INT_MAX__": "0x7fffffff",
"__linux__": "1",
"__INT64_TYPE__": "long int",
"__FLT_MAX_EXP__": "128",
"__ORDER_BIG_ENDIAN__": "4321",
"__DBL_MANT_DIG__": "53",
"__cpp_inheriting_constructors": "201511L",
"__SIZEOF_FLOAT128__": "16",
"__INT_LEAST64_MAX__": "0x7fffffffffffffffL",
"__DEC64_MIN__": "1E-383DD",
"__WINT_TYPE__": "unsigned int",
"__UINT_LEAST32_TYPE__": "unsigned int",
"__SIZEOF_SHORT__": "2",
"__FLT32_NORM_MAX__": "3.40282346638528859811704183484516925e+38F32",
"__SSE__": "1",
"__LDBL_MIN_EXP__": "(-16381)",
"__FLT64_MAX__": "1.79769313486231570814527423731704357e+308F64",
"__amd64__": "1",
"__WINT_WIDTH__": "32",
"__INT_LEAST64_WIDTH__": "64",
"__LDBL_MAX_EXP__": "16384",
"__FLT32X_MAX_10_EXP__": "308",
"__SIZEOF_INT128__": "16",
"__FLT64X_IS_IEC_60559__": "2",
"__LDBL_MAX_10_EXP__": "4932",
"__ATOMIC_RELAXED": "0",
"__DBL_EPSILON__": "double(2.22044604925031308084726333618164062e-16L)",
"__FLT128_MIN__": "3.36210314311209350626267781732175260e-4932F128",
"_LP64": "1",
"__UINT8_C(c)": "c",
"__FLT64_MAX_EXP__": "1024",
"__INT_LEAST32_TYPE__": "int",
"__SIZEOF_WCHAR_T__": "4",
"__GNUC_PATCHLEVEL__": "0",
"__FLT128_NORM_MAX__": "1.18973149535723176508575932662800702e+4932F128",
"__FLT64_NORM_MAX__": "1.79769313486231570814527423731704357e+308F64",
"__FLT128_HAS_QUIET_NAN__": "1",
"__INTMAX_MAX__": "0x7fffffffffffffffL",
"__INT_FAST8_TYPE__": "signed char",
"__cpp_namespace_attributes": "201411L",
"__FLT64X_MIN__": "3.36210314311209350626267781732175260e-4932F64x",
"__STDCPP_THREADS__": "1",
"__GNUC_STDC_INLINE__": "1",
"__FLT64_HAS_DENORM__": "1",
"__FLT32_EPSILON__": "1.19209289550781250000000000000000000e-7F32",
"__DBL_DECIMAL_DIG__": "17",
"__STDC_UTF_32__": "1",
"__INT_FAST8_WIDTH__": "8",
"__FXSR__": "1",
"__FLT32X_MAX__": "1.79769313486231570814527423731704357e+308F32x",
"__DBL_NORM_MAX__": "double(1.79769313486231570814527423731704357e+308L)",
"__BYTE_ORDER__": "__ORDER_LITTLE_ENDIAN__",
"__INTMAX_WIDTH__": "64",
"__cpp_runtime_arrays": "198712L",
"__UINT64_TYPE__": "long unsigned int",
"__UINT32_C(c)": "c ## U",
"__cpp_alias_templates": "200704L",
"__FLT_DENORM_MIN__": "1.40129846432481707092372958328991613e-45F",
"__FLT128_IS_IEC_60559__": "2",
"__INT8_MAX__": "0x7f",
"__LONG_WIDTH__": "64",
"__PIC__": "2",
"__UINT_FAST32_TYPE__": "long unsigned int",
"__FLT32X_NORM_MAX__": "1.79769313486231570814527423731704357e+308F32x",
"__CHAR32_TYPE__": "unsigned int",
"__FLT_MAX__": "3.40282346638528859811704183484516925e+38F",
"__cpp_constexpr": "201603L",
"__SSE2__": "1",
"__cpp_deduction_guides": "201703L",
"__INT32_TYPE__": "int",
"__SIZEOF_DOUBLE__": "8",
"__cpp_exceptions": "199711L",
"__FLT_MIN_10_EXP__": "(-37)",
"__FLT64_MIN__": "2.22507385850720138309023271733240406e-308F64",
"__INT_LEAST32_WIDTH__": "32",
"__INTMAX_TYPE__": "long int",
"__DEC128_MAX_EXP__": "6145",
"__FLT32X_HAS_QUIET_NAN__": "1",
"__ATOMIC_CONSUME": "1",
"__GNUC_MINOR__": "4",
"__GLIBCXX_TYPE_INT_N_0": "__int128",
"__INT_FAST16_WIDTH__": "64",
"__UINTMAX_MAX__": "0xffffffffffffffffUL",
"__PIE__": "2",
"__FLT32X_DENORM_MIN__": "4.94065645841246544176568792868221372e-324F32x",
"__cpp_template_template_args": "201611L",
"__DBL_MAX_10_EXP__": "308",
"__LDBL_DENORM_MIN__": "3.64519953188247460252840593361941982e-4951L",
"__INT16_C(c)": "c",
"__STDC__": "1",
"__FLT32X_DIG__": "15",
"__PTRDIFF_TYPE__": "long int",
"__ATOMIC_SEQ_CST": "5",
"__FLT32X_MIN_10_EXP__": "(-307)",
"__UINTPTR_TYPE__": "long unsigned int",
"__DEC64_SUBNORMAL_MIN__": "0.000000000000001E-383DD",
"__DEC128_MANT_DIG__": "34",
"__LDBL_MIN_10_EXP__": "(-4931)",
"__cpp_generic_lambdas": "201304L",
"__SSE_MATH__": "1",
"__SIZEOF_LONG_LONG__": "8",
"__cpp_user_defined_literals": "200809L",
"__FLT128_DECIMAL_DIG__": "36",
"__GCC_ATOMIC_LLONG_LOCK_FREE": "2",
"__FLT32_HAS_QUIET_NAN__": "1",
"__FLT_DECIMAL_DIG__": "9",
"__UINT_FAST16_MAX__": "0xffffffffffffffffUL",
"__LDBL_NORM_MAX__": "1.18973149535723176502126385303097021e+4932L",
"__GCC_ATOMIC_SHORT_LOCK_FREE": "2",
"__UINT_FAST8_TYPE__": "unsigned char",
"_GNU_SOURCE": "1",
"__cpp_init_captures": "201304L",
"__ATOMIC_ACQ_REL": "4",
"__ATOMIC_RELEASE": "3"
},
"cpp_user_defines": {},
"cpp_user_undefines": [],
"c_compiler": "/usr/bin/cc",
"c_compiler_defines": {
"__SSP_STRONG__": "3",
"__DBL_MIN_EXP__": "(-1021)",
"__UINT_LEAST16_MAX__": "0xffff",
"__ATOMIC_ACQUIRE": "2",
"__FLT128_MAX_10_EXP__": "4932",
"__FLT_MIN__": "1.17549435082228750796873653722224568e-38F",
"__GCC_IEC_559_COMPLEX": "2",
"__UINT_LEAST8_TYPE__": "unsigned char",
"__SIZEOF_FLOAT80__": "16",
"__INTMAX_C(c)": "c ## L",
"__CHAR_BIT__": "8",
"__UINT8_MAX__": "0xff",
"__SCHAR_WIDTH__": "8",
"__WINT_MAX__": "0xffffffffU",
"__FLT32_MIN_EXP__": "(-125)",
"__ORDER_LITTLE_ENDIAN__": "1234",
"__SIZE_MAX__": "0xffffffffffffffffUL",
"__WCHAR_MAX__": "0x7fffffff",
"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1": "1",
"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2": "1",
"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4": "1",
"__DBL_DENORM_MIN__": "((double)4.94065645841246544176568792868221372e-324L)",
"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8": "1",
"__GCC_ATOMIC_CHAR_LOCK_FREE": "2",
"__GCC_IEC_559": "2",
"__FLT32X_DECIMAL_DIG__": "17",
"__FLT_EVAL_METHOD__": "0",
"__FLT64_DECIMAL_DIG__": "17",
"__CET__": "3",
"__GCC_ATOMIC_CHAR32_T_LOCK_FREE": "2",
"__UINT_FAST64_MAX__": "0xffffffffffffffffUL",
"__SIG_ATOMIC_TYPE__": "int",
"__DBL_MIN_10_EXP__": "(-307)",
"__FINITE_MATH_ONLY__": "0",
"__FLT32X_MAX_EXP__": "1024",
"__FLT32_HAS_DENORM__": "1",
"__UINT_FAST8_MAX__": "0xff",
"__FLT32_MAX_10_EXP__": "38",
"__DEC64_MAX_EXP__": "385",
"__INT8_C(c)": "c",
"__INT_LEAST8_WIDTH__": "8",
"__UINT_LEAST64_MAX__": "0xffffffffffffffffUL",
"__SHRT_MAX__": "0x7fff",
"__LDBL_MAX__": "1.18973149535723176502126385303097021e+4932L",
"__FLT64X_MAX_10_EXP__": "4932",
"__LDBL_IS_IEC_60559__": "2",
"__FLT64X_HAS_QUIET_NAN__": "1",
"__UINT_LEAST8_MAX__": "0xff",
"__GCC_ATOMIC_BOOL_LOCK_FREE": "2",
"__FLT128_DENORM_MIN__": "6.47517511943802511092443895822764655e-4966F128",
"__UINTMAX_TYPE__": "long unsigned int",
"__linux": "1",
"__DEC32_EPSILON__": "1E-6DF",
"__FLT_EVAL_METHOD_TS_18661_3__": "0",
"__unix": "1",
"__UINT32_MAX__": "0xffffffffU",
"__FLT128_MIN_EXP__": "(-16381)",
"__WINT_MIN__": "0U",
"__FLT128_MIN_10_EXP__": "(-4931)",
"__FLT32X_IS_IEC_60559__": "2",
"__INT_LEAST16_WIDTH__": "16",
"__SCHAR_MAX__": "0x7f",
"__FLT128_MANT_DIG__": "113",
"__WCHAR_MIN__": "(-__WCHAR_MAX__ - 1)",
"__INT64_C(c)": "c ## L",
"__GCC_ATOMIC_POINTER_LOCK_FREE": "2",
"__FLT32X_MANT_DIG__": "53",
"__USER_LABEL_PREFIX__": "",
"__FLT64X_EPSILON__": "1.08420217248550443400745280086994171e-19F64x",
"__STDC_HOSTED__": "1",
"__DEC64_MIN_EXP__": "(-382)",
"__DBL_DIG__": "15",
"__FLT32_DIG__": "6",
"__FLT_EPSILON__": "1.19209289550781250000000000000000000e-7F",
"__SHRT_WIDTH__": "16",
"__FLT32_IS_IEC_60559__": "2",
"__LDBL_MIN__": "3.36210314311209350626267781732175260e-4932L",
"__STDC_UTF_16__": "1",
"__DBL_IS_IEC_60559__": "2",
"__DEC32_MAX__": "9.999999E96DF",
"__FLT64X_DENORM_MIN__": "3.64519953188247460252840593361941982e-4951F64x",
"__FLT32X_HAS_INFINITY__": "1",
"__INT32_MAX__": "0x7fffffff",
"__unix__": "1",
"__INT_WIDTH__": "32",
"__SIZEOF_LONG__": "8",
"__STDC_IEC_559__": "1",
"__STDC_ISO_10646__": "201706L",
"__UINT16_C(c)": "c",
"__DECIMAL_DIG__": "21",
"__STDC_IEC_559_COMPLEX__": "1",
"__FLT64_EPSILON__": "2.22044604925031308084726333618164062e-16F64",
"__gnu_linux__": "1",
"__FLT128_IS_IEC_60559__": "2",
"__FLT64X_MIN_10_EXP__": "(-4931)",
"__LDBL_HAS_QUIET_NAN__": "1",
"__FLT64_MANT_DIG__": "53",
"__FLT64X_MANT_DIG__": "64",
"__GNUC__": "11",
"__pie__": "2",
"__MMX__": "1",
"__FLT_HAS_DENORM__": "1",
"__SIZEOF_LONG_DOUBLE__": "16",
"__BIGGEST_ALIGNMENT__": "16",
"__FLT64_MAX_10_EXP__": "308",
"__DBL_MAX__": "((double)1.79769313486231570814527423731704357e+308L)",
"__INT_FAST32_MAX__": "0x7fffffffffffffffL",
"__DBL_HAS_INFINITY__": "1",
"__SIZEOF_FLOAT__": "4",
"__HAVE_SPECULATION_SAFE_VALUE": "1",
"__DEC32_MIN_EXP__": "(-94)",
"__INTPTR_WIDTH__": "64",
"__FLT64X_HAS_INFINITY__": "1",
"__UINT_LEAST32_MAX__": "0xffffffffU",
"__FLT32X_HAS_DENORM__": "1",
"__INT_FAST16_TYPE__": "long int",
"__MMX_WITH_SSE__": "1",
"__LDBL_HAS_DENORM__": "1",
"__FLT128_HAS_INFINITY__": "1",
"__DEC32_MIN__": "1E-95DF",
"__DBL_MAX_EXP__": "1024",
"__WCHAR_WIDTH__": "32",
"__FLT32_MAX__": "3.40282346638528859811704183484516925e+38F32",
"__DEC128_EPSILON__": "1E-33DL",
"__SSE2_MATH__": "1",
"__ATOMIC_HLE_RELEASE": "131072",
"__PTRDIFF_MAX__": "0x7fffffffffffffffL",
"__amd64": "1",
"__ATOMIC_HLE_ACQUIRE": "65536",
"__LONG_LONG_MAX__": "0x7fffffffffffffffLL",
"__SIZEOF_SIZE_T__": "8",
"__FLT64X_MIN_EXP__": "(-16381)",
"__SIZEOF_WINT_T__": "4",
"__LONG_LONG_WIDTH__": "64",
"__FLT32_MAX_EXP__": "128",
"__GXX_ABI_VERSION": "1016",
"__FLT_MIN_EXP__": "(-125)",
"__GCC_HAVE_DWARF2_CFI_ASM": "1",
"__INT16_MAX__": "0x7fff",
"__x86_64": "1",
"__INT_FAST64_TYPE__": "long int",
"__FLT64_DENORM_MIN__": "4.94065645841246544176568792868221372e-324F64",
"__DBL_MIN__": "((double)2.22507385850720138309023271733240406e-308L)",
"__FLT128_EPSILON__": "1.92592994438723585305597794258492732e-34F128",
"__FLT64X_NORM_MAX__": "1.18973149535723176502126385303097021e+4932F64x",
"__SIZEOF_POINTER__": "8",
"__LP64__": "1",
"__DBL_HAS_QUIET_NAN__": "1",
"__FLT32X_EPSILON__": "2.22044604925031308084726333618164062e-16F32x",
"__DECIMAL_BID_FORMAT__": "1",
"__FLT64_MIN_EXP__": "(-1021)",
"__FLT64_MIN_10_EXP__": "(-307)",
"__FLT64X_DECIMAL_DIG__": "21",
"__DEC128_MIN__": "1E-6143DL",
"__REGISTER_PREFIX__": "",
"__UINT16_MAX__": "0xffff",
"__DBL_HAS_DENORM__": "1",
"__LDBL_HAS_INFINITY__": "1",
"__FLT32_MIN__": "1.17549435082228750796873653722224568e-38F32",
"__UINT8_TYPE__": "unsigned char",
"__FLT_DIG__": "6",
"__NO_INLINE__": "1",
"__DEC_EVAL_METHOD__": "2",
"__DEC128_MAX__": "9.999999999999999999999999999999999E6144DL",
"__FLT_MANT_DIG__": "24",
"__LDBL_DECIMAL_DIG__": "21",
"__VERSION__": "\"11.4.0\"",
"__UINT64_C(c)": "c ## UL",
"_STDC_PREDEF_H": "1",
"__INT_LEAST32_MAX__": "0x7fffffff",
"__GCC_ATOMIC_INT_LOCK_FREE": "2",
"__FLT128_MAX_EXP__": "16384",
"__FLT32_MANT_DIG__": "24",
"__FLOAT_WORD_ORDER__": "__ORDER_LITTLE_ENDIAN__",
"__STDC_IEC_60559_COMPLEX__": "201404L",
"__FLT128_HAS_DENORM__": "1",
"__FLT32_DECIMAL_DIG__": "9",
"__FLT128_DIG__": "33",
"__INT32_C(c)": "c",
"__DEC64_EPSILON__": "1E-15DD",
"__ORDER_PDP_ENDIAN__": "3412",
"__DEC128_MIN_EXP__": "(-6142)",
"__INT_FAST32_TYPE__": "long int",
"__UINT_LEAST16_TYPE__": "short unsigned int",
"unix": "1",
"__SIZE_TYPE__": "long unsigned int",
"__UINT64_MAX__": "0xffffffffffffffffUL",
"__FLT_IS_IEC_60559__": "2",
"__GNUC_WIDE_EXECUTION_CHARSET_NAME": "\"UTF-32LE\"",
"__FLT64X_DIG__": "18",
"__INT8_TYPE__": "signed char",
"__ELF__": "1",
"__GCC_ASM_FLAG_OUTPUTS__": "1",
"__UINT32_TYPE__": "unsigned int",
"__FLT_RADIX__": "2",
"__INT_LEAST16_TYPE__": "short int",
"__LDBL_EPSILON__": "1.08420217248550443400745280086994171e-19L",
"__UINTMAX_C(c)": "c ## UL",
"__SSE_MATH__": "1",
"__k8": "1",
"__FLT32X_MIN__": "2.22507385850720138309023271733240406e-308F32x",
"__SIG_ATOMIC_MAX__": "0x7fffffff",
"__GCC_ATOMIC_WCHAR_T_LOCK_FREE": "2",
"__STDC_IEC_60559_BFP__": "201404L",
"__SIZEOF_PTRDIFF_T__": "8",
"__LDBL_DIG__": "18",
"__FLT64_IS_IEC_60559__": "2",
"__x86_64__": "1",
"__FLT32X_MIN_EXP__": "(-1021)",
"__DEC32_SUBNORMAL_MIN__": "0.000001E-95DF",
"__INT_FAST16_MAX__": "0x7fffffffffffffffL",
"__FLT64_DIG__": "15",
"__UINT_FAST32_MAX__": "0xffffffffffffffffUL",
"__UINT_LEAST64_TYPE__": "long unsigned int",
"__FLT_HAS_QUIET_NAN__": "1",
"__FLT_MAX_10_EXP__": "38",
"__LONG_MAX__": "0x7fffffffffffffffL",
"__FLT64X_HAS_DENORM__": "1",
"__DEC128_SUBNORMAL_MIN__": "0.000000000000000000000000000000001E-6143DL",
"__FLT_HAS_INFINITY__": "1",
"__GNUC_EXECUTION_CHARSET_NAME": "\"UTF-8\"",
"__UINT_FAST16_TYPE__": "long unsigned int",
"__DEC64_MAX__": "9.999999999999999E384DD",
"__INT_FAST32_WIDTH__": "64",
"__CHAR16_TYPE__": "short unsigned int",
"__PRAGMA_REDEFINE_EXTNAME": "1",
"__SIZE_WIDTH__": "64",
"__SEG_FS": "1",
"__INT_LEAST16_MAX__": "0x7fff",
"__DEC64_MANT_DIG__": "16",
"__INT64_MAX__": "0x7fffffffffffffffL",
"__SEG_GS": "1",
"__FLT32_DENORM_MIN__": "1.40129846432481707092372958328991613e-45F32",
"__SIG_ATOMIC_WIDTH__": "32",
"__INT_LEAST64_TYPE__": "long int",
"__INT16_TYPE__": "short int",
"__INT_LEAST8_TYPE__": "signed char",
"__STDC_VERSION__": "201710L",
"__SIZEOF_INT__": "4",
"__DEC32_MAX_EXP__": "97",
"__INT_FAST8_MAX__": "0x7f",
"__FLT128_MAX__": "1.18973149535723176508575932662800702e+4932F128",
"__INTPTR_MAX__": "0x7fffffffffffffffL",
"linux": "1",
"__FLT64_HAS_QUIET_NAN__": "1",
"__FLT32_MIN_10_EXP__": "(-37)",
"__FLT32X_DIG__": "15",
"__PTRDIFF_WIDTH__": "64",
"__LDBL_MANT_DIG__": "64",
"__FLT64_HAS_INFINITY__": "1",
"__FLT64X_MAX__": "1.18973149535723176502126385303097021e+4932F64x",
"__SIG_ATOMIC_MIN__": "(-__SIG_ATOMIC_MAX__ - 1)",
"__code_model_small__": "1",
"__GCC_ATOMIC_LONG_LOCK_FREE": "2",
"__DEC32_MANT_DIG__": "7",
"__k8__": "1",
"__INTPTR_TYPE__": "long int",
"__UINT16_TYPE__": "short unsigned int",
"__WCHAR_TYPE__": "int",
"__pic__": "2",
"__UINTPTR_MAX__": "0xffffffffffffffffUL",
"__INT_FAST64_WIDTH__": "64",
"__INT_FAST64_MAX__": "0x7fffffffffffffffL",
"__GCC_ATOMIC_TEST_AND_SET_TRUEVAL": "1",
"__FLT_NORM_MAX__": "3.40282346638528859811704183484516925e+38F",
"__FLT32_HAS_INFINITY__": "1",
"__FLT64X_MAX_EXP__": "16384",
"__UINT_FAST64_TYPE__": "long unsigned int",
"__INT_MAX__": "0x7fffffff",
"__linux__": "1",
"__INT64_TYPE__": "long int",
"__FLT_MAX_EXP__": "128",
"__ORDER_BIG_ENDIAN__": "4321",
"__DBL_MANT_DIG__": "53",
"__SIZEOF_FLOAT128__": "16",
"__INT_LEAST64_MAX__": "0x7fffffffffffffffL",
"__GCC_ATOMIC_CHAR16_T_LOCK_FREE": "2",
"__DEC64_MIN__": "1E-383DD",
"__WINT_TYPE__": "unsigned int",
"__UINT_LEAST32_TYPE__": "unsigned int",
"__SIZEOF_SHORT__": "2",
"__FLT32_NORM_MAX__": "3.40282346638528859811704183484516925e+38F32",
"__SSE__": "1",
"__LDBL_MIN_EXP__": "(-16381)",
"__FLT64_MAX__": "1.79769313486231570814527423731704357e+308F64",
"__amd64__": "1",
"__WINT_WIDTH__": "32",
"__INT_LEAST8_MAX__": "0x7f",
"__INT_LEAST64_WIDTH__": "64",
"__LDBL_MAX_EXP__": "16384",
"__FLT32X_MAX_10_EXP__": "308",
"__SIZEOF_INT128__": "16",
"__FLT64X_IS_IEC_60559__": "2",
"__LDBL_MAX_10_EXP__": "4932",
"__ATOMIC_RELAXED": "0",
"__DBL_EPSILON__": "((double)2.22044604925031308084726333618164062e-16L)",
"__FLT128_MIN__": "3.36210314311209350626267781732175260e-4932F128",
"_LP64": "1",
"__UINT8_C(c)": "c",
"__FLT64_MAX_EXP__": "1024",
"__INT_LEAST32_TYPE__": "int",
"__SIZEOF_WCHAR_T__": "4",
"__UINT64_TYPE__": "long unsigned int",
"__GNUC_PATCHLEVEL__": "0",
"__FLT128_NORM_MAX__": "1.18973149535723176508575932662800702e+4932F128",
"__FLT64_NORM_MAX__": "1.79769313486231570814527423731704357e+308F64",
"__FLT128_HAS_QUIET_NAN__": "1",
"__INTMAX_MAX__": "0x7fffffffffffffffL",
"__INT_FAST8_TYPE__": "signed char",
"__FLT64X_MIN__": "3.36210314311209350626267781732175260e-4932F64x",
"__GNUC_STDC_INLINE__": "1",
"__FLT64_HAS_DENORM__": "1",
"__FLT32_EPSILON__": "1.19209289550781250000000000000000000e-7F32",
"__DBL_DECIMAL_DIG__": "17",
"__STDC_UTF_32__": "1",
"__INT_FAST8_WIDTH__": "8",
"__FXSR__": "1",
"__FLT32X_MAX__": "1.79769313486231570814527423731704357e+308F32x",
"__DBL_NORM_MAX__": "((double)1.79769313486231570814527423731704357e+308L)",
"__BYTE_ORDER__": "__ORDER_LITTLE_ENDIAN__",
"__INTMAX_WIDTH__": "64",
"__UINT32_C(c)": "c ## U",
"__FLT_DENORM_MIN__": "1.40129846432481707092372958328991613e-45F",
"__INT8_MAX__": "0x7f",
"__LONG_WIDTH__": "64",
"__PIC__": "2",
"__UINT_FAST32_TYPE__": "long unsigned int",
"__FLT32X_NORM_MAX__": "1.79769313486231570814527423731704357e+308F32x",
"__CHAR32_TYPE__": "unsigned int",
"__FLT_MAX__": "3.40282346638528859811704183484516925e+38F",
"__SSE2__": "1",
"__INT32_TYPE__": "int",
"__SIZEOF_DOUBLE__": "8",
"__FLT_MIN_10_EXP__": "(-37)",
"__FLT64_MIN__": "2.22507385850720138309023271733240406e-308F64",
"__INT_LEAST32_WIDTH__": "32",
"__INTMAX_TYPE__": "long int",
"__DEC128_MAX_EXP__": "6145",
"__FLT32X_HAS_QUIET_NAN__": "1",
"__ATOMIC_CONSUME": "1",
"__GNUC_MINOR__": "4",
"__INT_FAST16_WIDTH__": "64",
"__UINTMAX_MAX__": "0xffffffffffffffffUL",
"__PIE__": "2",
"__FLT32X_DENORM_MIN__": "4.94065645841246544176568792868221372e-324F32x",
"__DBL_MAX_10_EXP__": "308",
"__LDBL_DENORM_MIN__": "3.64519953188247460252840593361941982e-4951L",
"__INT16_C(c)": "c",
"__STDC__": "1",
"__PTRDIFF_TYPE__": "long int",
"__ATOMIC_SEQ_CST": "5",
"__FLT32X_MIN_10_EXP__": "(-307)",
"__UINTPTR_TYPE__": "long unsigned int",
"__DEC64_SUBNORMAL_MIN__": "0.000000000000001E-383DD",
"__DEC128_MANT_DIG__": "34",
"__LDBL_MIN_10_EXP__": "(-4931)",
"__SIZEOF_LONG_LONG__": "8",
"__FLT128_DECIMAL_DIG__": "36",
"__GCC_ATOMIC_LLONG_LOCK_FREE": "2",
"__FLT32_HAS_QUIET_NAN__": "1",
"__FLT_DECIMAL_DIG__": "9",
"__UINT_FAST16_MAX__": "0xffffffffffffffffUL",
"__LDBL_NORM_MAX__": "1.18973149535723176502126385303097021e+4932L",
"__GCC_ATOMIC_SHORT_LOCK_FREE": "2",
"__UINT_FAST8_TYPE__": "unsigned char",
"__ATOMIC_ACQ_REL": "4",
"__ATOMIC_RELEASE": "3"
},
"c_user_defines": {},
"c_user_undefines": []
},
"target_sizes": {
"char_bit": 8,
"short": 2,
"int": 4,
"long": 8,
"float": 4,
"double": 8,
"long_double": 16,
"pointer": 8,
"ldbl_mant_dig": 64,
"char": 1
},
"wchar_t_type": "int",
"ptrdiff_t_type": "long",
"size_t_type": "unsigned long",
"supports_x86_64": true
}

View File

@@ -0,0 +1 @@
{"requests":[{"kind":"cache","version":2},{"kind":"cmakeFiles","version":1},{"kind":"codemodel","version":2},{"kind":"toolchains","version":1}]}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,182 @@
{
"inputs" :
[
{
"path" : "CMakeLists.txt"
},
{
"isGenerated" : true,
"path" : "out/build/x64-debug/CMakeFiles/3.28.3-msvc11/CMakeSystem.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeSystemSpecificInitialize.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/Platform/Windows-Initialize.cmake"
},
{
"isGenerated" : true,
"path" : "out/build/x64-debug/CMakeFiles/3.28.3-msvc11/CMakeCCompiler.cmake"
},
{
"isGenerated" : true,
"path" : "out/build/x64-debug/CMakeFiles/3.28.3-msvc11/CMakeCXXCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeSystemSpecificInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeGenericSystem.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeInitializeConfigs.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/Platform/Windows.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/Platform/WindowsPaths.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeCInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeLanguageInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/Compiler/MSVC-C.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/Compiler/MSVC.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/Platform/Windows-MSVC-C.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/Platform/Windows-MSVC.cmake"
},
{
"isGenerated" : true,
"path" : "out/build/x64-debug/CMakeFiles/3.28.3-msvc11/CMakeRCCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeRCInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeCommonLanguageInclude.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeCXXInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeLanguageInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/Compiler/MSVC-CXX.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/Compiler/MSVC.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/Platform/Windows-MSVC-CXX.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/Platform/Windows-MSVC.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeCommonLanguageInclude.cmake"
},
{
"path" : "cmake/AddGitSubmodule.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/FindGit.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/FindPackageMessage.cmake"
},
{
"path" : "src/CMakeLists.txt"
},
{
"path" : "test/CMakeLists.txt"
},
{
"path" : "main/CMakeLists.txt"
}
],
"kind" : "cmakeFiles",
"paths" :
{
"build" : "E:/Miscellaneous Project/GitMap/out/build/x64-debug",
"source" : "E:/Miscellaneous Project/GitMap"
},
"version" :
{
"major" : 1,
"minor" : 0
}
}

View File

@@ -0,0 +1,126 @@
{
"configurations" :
[
{
"directories" :
[
{
"build" : ".",
"childIndexes" :
[
1,
2,
3
],
"jsonFile" : "directory-.-Debug-d0094a50bb2071803777.json",
"minimumCMakeVersion" :
{
"string" : "3.8"
},
"projectIndex" : 0,
"source" : "."
},
{
"build" : "src",
"jsonFile" : "directory-src-Debug-c94b7c2814d5a21df52c.json",
"minimumCMakeVersion" :
{
"string" : "3.8"
},
"parentIndex" : 0,
"projectIndex" : 0,
"source" : "src",
"targetIndexes" :
[
0
]
},
{
"build" : "test",
"jsonFile" : "directory-test-Debug-f18be1977b403cfd1a50.json",
"minimumCMakeVersion" :
{
"string" : "3.8"
},
"parentIndex" : 0,
"projectIndex" : 0,
"source" : "test",
"targetIndexes" :
[
2
]
},
{
"build" : "main",
"jsonFile" : "directory-main-Debug-72090c4a4cf973f97e42.json",
"minimumCMakeVersion" :
{
"string" : "3.8"
},
"parentIndex" : 0,
"projectIndex" : 0,
"source" : "main",
"targetIndexes" :
[
1
]
}
],
"name" : "Debug",
"projects" :
[
{
"directoryIndexes" :
[
0,
1,
2,
3
],
"name" : "GitMap",
"targetIndexes" :
[
0,
1,
2
]
}
],
"targets" :
[
{
"directoryIndex" : 1,
"id" : "GitMap::@145eef247bfb46b6828c",
"jsonFile" : "target-GitMap-Debug-17a7c2f1ab7ee97abfeb.json",
"name" : "GitMap",
"projectIndex" : 0
},
{
"directoryIndex" : 3,
"id" : "Gitmap::@15c4a824ab2728a3f5e7",
"jsonFile" : "target-Gitmap-Debug-6a2a0f1d0bb930bf1166.json",
"name" : "Gitmap",
"projectIndex" : 0
},
{
"directoryIndex" : 2,
"id" : "test_main::@36f028580bb02cc8272a",
"jsonFile" : "target-test_main-Debug-8c5632b9f75ab1e8e910.json",
"name" : "test_main",
"projectIndex" : 0
}
]
}
],
"kind" : "codemodel",
"paths" :
{
"build" : "E:/Miscellaneous Project/GitMap/out/build/x64-debug",
"source" : "E:/Miscellaneous Project/GitMap"
},
"version" :
{
"major" : 2,
"minor" : 6
}
}

View File

@@ -0,0 +1,14 @@
{
"backtraceGraph" :
{
"commands" : [],
"files" : [],
"nodes" : []
},
"installers" : [],
"paths" :
{
"build" : ".",
"source" : "."
}
}

View File

@@ -0,0 +1,14 @@
{
"backtraceGraph" :
{
"commands" : [],
"files" : [],
"nodes" : []
},
"installers" : [],
"paths" :
{
"build" : "main",
"source" : "main"
}
}

View File

@@ -0,0 +1,14 @@
{
"backtraceGraph" :
{
"commands" : [],
"files" : [],
"nodes" : []
},
"installers" : [],
"paths" :
{
"build" : "src",
"source" : "src"
}
}

View File

@@ -0,0 +1,14 @@
{
"backtraceGraph" :
{
"commands" : [],
"files" : [],
"nodes" : []
},
"installers" : [],
"paths" :
{
"build" : "test",
"source" : "test"
}
}

View File

@@ -0,0 +1,132 @@
{
"cmake" :
{
"generator" :
{
"multiConfig" : false,
"name" : "Ninja"
},
"paths" :
{
"cmake" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe",
"cpack" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cpack.exe",
"ctest" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/ctest.exe",
"root" : "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28"
},
"version" :
{
"isDirty" : false,
"major" : 3,
"minor" : 28,
"patch" : 3,
"string" : "3.28.3-msvc11",
"suffix" : "msvc11"
}
},
"objects" :
[
{
"jsonFile" : "codemodel-v2-7d5d27e3ad25d64f0196.json",
"kind" : "codemodel",
"version" :
{
"major" : 2,
"minor" : 6
}
},
{
"jsonFile" : "cache-v2-4cc5e438381e412eb9c5.json",
"kind" : "cache",
"version" :
{
"major" : 2,
"minor" : 0
}
},
{
"jsonFile" : "cmakeFiles-v1-91b41d42784f9df540e6.json",
"kind" : "cmakeFiles",
"version" :
{
"major" : 1,
"minor" : 0
}
},
{
"jsonFile" : "toolchains-v1-143597590e05b1a53b54.json",
"kind" : "toolchains",
"version" :
{
"major" : 1,
"minor" : 0
}
}
],
"reply" :
{
"client-MicrosoftVS" :
{
"query.json" :
{
"requests" :
[
{
"kind" : "cache",
"version" : 2
},
{
"kind" : "cmakeFiles",
"version" : 1
},
{
"kind" : "codemodel",
"version" : 2
},
{
"kind" : "toolchains",
"version" : 1
}
],
"responses" :
[
{
"jsonFile" : "cache-v2-4cc5e438381e412eb9c5.json",
"kind" : "cache",
"version" :
{
"major" : 2,
"minor" : 0
}
},
{
"jsonFile" : "cmakeFiles-v1-91b41d42784f9df540e6.json",
"kind" : "cmakeFiles",
"version" :
{
"major" : 1,
"minor" : 0
}
},
{
"jsonFile" : "codemodel-v2-7d5d27e3ad25d64f0196.json",
"kind" : "codemodel",
"version" :
{
"major" : 2,
"minor" : 6
}
},
{
"jsonFile" : "toolchains-v1-143597590e05b1a53b54.json",
"kind" : "toolchains",
"version" :
{
"major" : 1,
"minor" : 0
}
}
]
}
}
}
}

View File

@@ -0,0 +1,116 @@
{
"archive" :
{
"commandFragments" :
[
{
"fragment" : "/machine:x64",
"role" : "flags"
}
]
},
"artifacts" :
[
{
"path" : "lib/Debug/GitMap.lib"
}
],
"backtrace" : 1,
"backtraceGraph" :
{
"commands" :
[
"add_library",
"target_include_directories"
],
"files" :
[
"src/CMakeLists.txt"
],
"nodes" :
[
{
"file" : 0
},
{
"command" : 0,
"file" : 0,
"line" : 10,
"parent" : 0
},
{
"command" : 1,
"file" : 0,
"line" : 15,
"parent" : 0
}
]
},
"compileGroups" :
[
{
"compileCommandFragments" :
[
{
"fragment" : "/DWIN32 /D_WINDOWS /W3 /MDd /Ob0 /Od /RTC1"
}
],
"includes" :
[
{
"backtrace" : 2,
"path" : "E:/Miscellaneous Project/GitMap/include"
}
],
"language" : "C",
"sourceIndexes" :
[
0,
1,
2
]
}
],
"id" : "GitMap::@145eef247bfb46b6828c",
"name" : "GitMap",
"nameOnDisk" : "GitMap.lib",
"paths" :
{
"build" : "src",
"source" : "src"
},
"sourceGroups" :
[
{
"name" : "Source Files",
"sourceIndexes" :
[
0,
1,
2
]
}
],
"sources" :
[
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "src/printclr.c",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "src/command.c",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "src/scan.c",
"sourceGroupIndex" : 0
}
],
"type" : "STATIC_LIBRARY"
}

View File

@@ -0,0 +1,98 @@
{
"artifacts" :
[
{
"path" : "bin/Debug/Gitmap.exe"
},
{
"path" : "bin/Debug/Gitmap.pdb"
}
],
"backtrace" : 1,
"backtraceGraph" :
{
"commands" :
[
"add_executable"
],
"files" :
[
"main/CMakeLists.txt"
],
"nodes" :
[
{
"file" : 0
},
{
"command" : 0,
"file" : 0,
"line" : 4,
"parent" : 0
}
]
},
"compileGroups" :
[
{
"compileCommandFragments" :
[
{
"fragment" : "/DWIN32 /D_WINDOWS /W3 /MDd /Ob0 /Od /RTC1"
}
],
"language" : "C",
"sourceIndexes" :
[
0
]
}
],
"id" : "Gitmap::@15c4a824ab2728a3f5e7",
"link" :
{
"commandFragments" :
[
{
"fragment" : "/DWIN32 /D_WINDOWS /W3 /MDd /Ob0 /Od /RTC1",
"role" : "flags"
},
{
"fragment" : "/machine:x64 /debug /INCREMENTAL /subsystem:console",
"role" : "flags"
},
{
"fragment" : "kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib",
"role" : "libraries"
}
],
"language" : "C"
},
"name" : "Gitmap",
"nameOnDisk" : "Gitmap.exe",
"paths" :
{
"build" : "main",
"source" : "main"
},
"sourceGroups" :
[
{
"name" : "Source Files",
"sourceIndexes" :
[
0
]
}
],
"sources" :
[
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "main/main.c",
"sourceGroupIndex" : 0
}
],
"type" : "EXECUTABLE"
}

View File

@@ -0,0 +1,124 @@
{
"artifacts" :
[
{
"path" : "bin/Debug/test_main.exe"
},
{
"path" : "bin/Debug/test_main.pdb"
}
],
"backtrace" : 1,
"backtraceGraph" :
{
"commands" :
[
"add_executable",
"target_link_libraries"
],
"files" :
[
"test/CMakeLists.txt"
],
"nodes" :
[
{
"file" : 0
},
{
"command" : 0,
"file" : 0,
"line" : 7,
"parent" : 0
},
{
"command" : 1,
"file" : 0,
"line" : 10,
"parent" : 0
}
]
},
"compileGroups" :
[
{
"compileCommandFragments" :
[
{
"fragment" : "/DWIN32 /D_WINDOWS /W3 /MDd /Ob0 /Od /RTC1"
}
],
"includes" :
[
{
"backtrace" : 2,
"path" : "E:/Miscellaneous Project/GitMap/include"
}
],
"language" : "C",
"sourceIndexes" :
[
0
]
}
],
"dependencies" :
[
{
"backtrace" : 2,
"id" : "GitMap::@145eef247bfb46b6828c"
}
],
"id" : "test_main::@36f028580bb02cc8272a",
"link" :
{
"commandFragments" :
[
{
"fragment" : "/DWIN32 /D_WINDOWS /W3 /MDd /Ob0 /Od /RTC1",
"role" : "flags"
},
{
"fragment" : "/machine:x64 /debug /INCREMENTAL /subsystem:console",
"role" : "flags"
},
{
"backtrace" : 2,
"fragment" : "lib\\Debug\\GitMap.lib",
"role" : "libraries"
},
{
"fragment" : "kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib",
"role" : "libraries"
}
],
"language" : "C"
},
"name" : "test_main",
"nameOnDisk" : "test_main.exe",
"paths" :
{
"build" : "test",
"source" : "test"
},
"sourceGroups" :
[
{
"name" : "Source Files",
"sourceIndexes" :
[
0
]
}
],
"sources" :
[
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "test/test_main.c",
"sourceGroupIndex" : 0
}
],
"type" : "EXECUTABLE"
}

View File

@@ -0,0 +1,78 @@
{
"kind" : "toolchains",
"toolchains" :
[
{
"compiler" :
{
"id" : "MSVC",
"implicit" :
{
"includeDirectories" : [],
"linkDirectories" : [],
"linkFrameworkDirectories" : [],
"linkLibraries" : []
},
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe",
"version" : "19.40.33811.0"
},
"language" : "C",
"sourceFileExtensions" :
[
"c",
"m"
]
},
{
"compiler" :
{
"id" : "MSVC",
"implicit" :
{
"includeDirectories" : [],
"linkDirectories" : [],
"linkFrameworkDirectories" : [],
"linkLibraries" : []
},
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe",
"version" : "19.40.33811.0"
},
"language" : "CXX",
"sourceFileExtensions" :
[
"C",
"M",
"c++",
"cc",
"cpp",
"cxx",
"mm",
"mpp",
"CPP",
"ixx",
"cppm",
"ccm",
"cxxm",
"c++m"
]
},
{
"compiler" :
{
"implicit" : {},
"path" : "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/rc.exe"
},
"language" : "RC",
"sourceFileExtensions" :
[
"rc",
"RC"
]
}
],
"version" :
{
"major" : 1,
"minor" : 0
}
}

View File

@@ -0,0 +1,372 @@
# This is the CMakeCache file.
# For build in directory: e:/Miscellaneous Project/GitMap/out/build/x64-debug
# It was generated by CMake: C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe
# 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_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe
//No help, variable specified on the command line.
CMAKE_BUILD_TYPE:STRING=Debug
//No help, variable specified on the command line.
CMAKE_CXX_COMPILER:STRING=cl.exe
//Flags used by the CXX compiler during all build types.
CMAKE_CXX_FLAGS:STRING=/DWIN32 /D_WINDOWS /W3 /GR /EHsc
//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=/MDd /Ob0 /Od /RTC1
//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG
//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=/MD /O2 /Ob2 /DNDEBUG
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/MD /O2 /Ob1 /DNDEBUG
//Libraries linked by default with all C++ applications.
CMAKE_CXX_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
//No help, variable specified on the command line.
CMAKE_C_COMPILER:STRING=cl.exe
//Flags used by the C compiler during all build types.
CMAKE_C_FLAGS:STRING=/DWIN32 /D_WINDOWS /W3
//Flags used by the C compiler during DEBUG builds.
CMAKE_C_FLAGS_DEBUG:STRING=/MDd /Ob0 /Od /RTC1
//Flags used by the C compiler during MINSIZEREL builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG
//Flags used by the C compiler during RELEASE builds.
CMAKE_C_FLAGS_RELEASE:STRING=/MD /O2 /Ob2 /DNDEBUG
//Flags used by the C compiler during RELWITHDEBINFO builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/MD /O2 /Ob1 /DNDEBUG
//Libraries linked by default with all C applications.
CMAKE_C_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=/machine:x64
//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL
//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO
//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO
//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL
//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=
//Value Computed by CMake.
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=E:/Miscellaneous Project/GitMap/out/build/x64-debug/CMakeFiles/pkgRedirects
//No help, variable specified on the command line.
CMAKE_INSTALL_PREFIX:PATH=E:/Miscellaneous Project/GitMap/out/install/x64-debug
//Path to a program.
CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe
//make program
CMAKE_MAKE_PROGRAM:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe
//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=/machine:x64
//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL
//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO
//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO
//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL
//Path to a program.
CMAKE_MT:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe
//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=GitMap
//Value Computed by CMake
CMAKE_PROJECT_VERSION:STATIC=1.0.0
//Value Computed by CMake
CMAKE_PROJECT_VERSION_MAJOR:STATIC=1
//Value Computed by CMake
CMAKE_PROJECT_VERSION_MINOR:STATIC=0
//Value Computed by CMake
CMAKE_PROJECT_VERSION_PATCH:STATIC=0
//Value Computed by CMake
CMAKE_PROJECT_VERSION_TWEAK:STATIC=
//RC compiler
CMAKE_RC_COMPILER:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/rc.exe
//Flags for Windows Resource Compiler during all build types.
CMAKE_RC_FLAGS:STRING=-DWIN32
//Flags for Windows Resource Compiler during DEBUG builds.
CMAKE_RC_FLAGS_DEBUG:STRING=-D_DEBUG
//Flags for Windows Resource Compiler during MINSIZEREL builds.
CMAKE_RC_FLAGS_MINSIZEREL:STRING=
//Flags for Windows Resource Compiler during RELEASE builds.
CMAKE_RC_FLAGS_RELEASE:STRING=
//Flags for Windows Resource Compiler during RELWITHDEBINFO builds.
CMAKE_RC_FLAGS_RELWITHDEBINFO:STRING=
//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=/machine:x64
//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL
//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO
//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO
//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL
//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=/machine:x64
//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=
//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
//Git command line client
GIT_EXECUTABLE:FILEPATH=E:/Git/cmd/git.exe
//Value Computed by CMake
GitMap_BINARY_DIR:STATIC=E:/Miscellaneous Project/GitMap/out/build/x64-debug
//Value Computed by CMake
GitMap_IS_TOP_LEVEL:STATIC=ON
//Value Computed by CMake
GitMap_SOURCE_DIR:STATIC=E:/Miscellaneous Project/GitMap
//Path to a file.
MXML_INCLUDE_DIR:PATH=E:/Miscellaneous Project/GitMap/utils/mxml
//Path to a library.
MXML_LIBRARY:FILEPATH=MXML_LIBRARY-NOTFOUND
########################
# INTERNAL cache entries
########################
//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=e:/Miscellaneous Project/GitMap/out/build/x64-debug
//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=28
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=3
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cpack.exe
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/ctest.exe
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-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_CXX_STANDARD_LIBRARIES
CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-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_C_STANDARD_LIBRARIES
CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Ninja
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=E:/Miscellaneous Project/GitMap
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MT
CMAKE_MT-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//noop for ranlib
CMAKE_RANLIB:INTERNAL=:
//ADVANCED property for variable: CMAKE_RC_COMPILER
CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1
CMAKE_RC_COMPILER_WORKS:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS
CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG
CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL
CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE
CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO
CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28
//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_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//Details about finding Git
FIND_PACKAGE_MESSAGE_DETAILS_Git:INTERNAL=[E:/Git/cmd/git.exe][v2.43.0.windows.1()]
//ADVANCED property for variable: GIT_EXECUTABLE
GIT_EXECUTABLE-ADVANCED:INTERNAL=1

View File

@@ -0,0 +1,74 @@
set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe")
set(CMAKE_C_COMPILER_ARG1 "")
set(CMAKE_C_COMPILER_ID "MSVC")
set(CMAKE_C_COMPILER_VERSION "19.40.33811.0")
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
set(CMAKE_C_COMPILER_WRAPPER "")
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90")
set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "OFF")
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 "Windows")
set(CMAKE_C_SIMULATE_ID "")
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "MSVC")
set(CMAKE_C_SIMULATE_VERSION "")
set(CMAKE_C_COMPILER_ARCHITECTURE_ID x64)
set(MSVC_C_ARCHITECTURE_ID x64)
set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe")
set(CMAKE_C_COMPILER_AR "")
set(CMAKE_RANLIB ":")
set(CMAKE_C_COMPILER_RANLIB "")
set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe")
set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe")
set(CMAKE_TAPI "")
set(CMAKE_COMPILER_IS_GNUCC )
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)
set(CMAKE_C_LINKER_DEPFILE_SUPPORTED )
# Save compiler ABI information.
set(CMAKE_C_SIZEOF_DATA_PTR "8")
set(CMAKE_C_COMPILER_ABI "")
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 "Note: including file: ")
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "")
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "")
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "")
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")

View File

@@ -0,0 +1,85 @@
set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe")
set(CMAKE_CXX_COMPILER_ARG1 "")
set(CMAKE_CXX_COMPILER_ID "MSVC")
set(CMAKE_CXX_COMPILER_VERSION "19.40.33811.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 "OFF")
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;cxx_std_23")
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 "cxx_std_23")
set(CMAKE_CXX_PLATFORM_ID "Windows")
set(CMAKE_CXX_SIMULATE_ID "")
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "MSVC")
set(CMAKE_CXX_SIMULATE_VERSION "")
set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID x64)
set(MSVC_CXX_ARCHITECTURE_ID x64)
set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe")
set(CMAKE_CXX_COMPILER_AR "")
set(CMAKE_RANLIB ":")
set(CMAKE_CXX_COMPILER_RANLIB "")
set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe")
set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe")
set(CMAKE_TAPI "")
set(CMAKE_COMPILER_IS_GNUCXX )
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;ccm;cxxm;c++m)
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)
set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED )
# Save compiler ABI information.
set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
set(CMAKE_CXX_COMPILER_ABI "")
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 "Note: including file: ")
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "")
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "")
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "")
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")

View File

@@ -0,0 +1,6 @@
set(CMAKE_RC_COMPILER "C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/rc.exe")
set(CMAKE_RC_COMPILER_ARG1 "")
set(CMAKE_RC_COMPILER_LOADED 1)
set(CMAKE_RC_SOURCE_FILE_EXTENSIONS rc;RC)
set(CMAKE_RC_OUTPUT_EXTENSION .res)
set(CMAKE_RC_COMPILER_ENV_VAR "RC")

View File

@@ -0,0 +1,15 @@
set(CMAKE_HOST_SYSTEM "Windows-10.0.22631")
set(CMAKE_HOST_SYSTEM_NAME "Windows")
set(CMAKE_HOST_SYSTEM_VERSION "10.0.22631")
set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64")
set(CMAKE_SYSTEM "Windows-10.0.22631")
set(CMAKE_SYSTEM_NAME "Windows")
set(CMAKE_SYSTEM_VERSION "10.0.22631")
set(CMAKE_SYSTEM_PROCESSOR "AMD64")
set(CMAKE_CROSSCOMPILING "FALSE")
set(CMAKE_SYSTEM_LOADED 1)

View File

@@ -0,0 +1,880 @@
#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(__clang__) && defined(__cray__)
# define COMPILER_ID "CrayClang"
# define COMPILER_VERSION_MAJOR DEC(__cray_major__)
# define COMPILER_VERSION_MINOR DEC(__cray_minor__)
# define COMPILER_VERSION_PATCH DEC(__cray_patchlevel__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#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(__ORANGEC__)
# define COMPILER_ID "OrangeC"
# define COMPILER_VERSION_MAJOR DEC(__ORANGEC_MAJOR__)
# define COMPILER_VERSION_MINOR DEC(__ORANGEC_MINOR__)
# define COMPILER_VERSION_PATCH DEC(__ORANGEC_PATCHLEVEL__)
#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

View File

@@ -0,0 +1,869 @@
/* 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(__clang__) && defined(__cray__)
# define COMPILER_ID "CrayClang"
# define COMPILER_VERSION_MAJOR DEC(__cray_major__)
# define COMPILER_VERSION_MINOR DEC(__cray_minor__)
# define COMPILER_VERSION_PATCH DEC(__cray_patchlevel__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#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(__ORANGEC__)
# define COMPILER_ID "OrangeC"
# define COMPILER_VERSION_MAJOR DEC(__ORANGEC_MAJOR__)
# define COMPILER_VERSION_MINOR DEC(__ORANGEC_MINOR__)
# define COMPILER_VERSION_PATCH DEC(__ORANGEC_PATCHLEVEL__)
#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;
}

View File

@@ -0,0 +1,157 @@
---
events:
-
kind: "message-v1"
backtrace:
- "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineSystem.cmake:233 (message)"
- "CMakeLists.txt:12 (project)"
message: |
The system is: Windows - 10.0.22631 - AMD64
-
kind: "message-v1"
backtrace:
- "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)"
- "CMakeLists.txt:12 (project)"
message: |
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe
Build flags:
Id flags:
The output was:
0
Microsoft (R) C/C++ Optimizing Compiler Version 19.40.33811 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
CMakeCCompilerId.c
Microsoft (R) Incremental Linker Version 14.40.33811.0
Copyright (C) Microsoft Corporation. All rights reserved.
/out:CMakeCCompilerId.exe
CMakeCCompilerId.obj
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.exe"
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj"
The C compiler identification is MSVC, found in:
E:/Miscellaneous Project/GitMap/out/build/x64-debug/CMakeFiles/3.28.3-msvc11/CompilerIdC/CMakeCCompilerId.exe
-
kind: "message-v1"
backtrace:
- "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:1182 (message)"
- "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:247 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)"
- "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)"
- "CMakeLists.txt:12 (project)"
message: |
Detecting C compiler /showIncludes prefix:
main.c
Note: including file: E:\\Miscellaneous Project\\GitMap\\out\\build\\x64-debug\\CMakeFiles\\ShowIncludes\\foo.h
Found prefix "Note: including file: "
-
kind: "message-v1"
backtrace:
- "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)"
- "CMakeLists.txt:12 (project)"
message: |
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe
Build flags:
Id flags:
The output was:
0
Microsoft (R) C/C++ Optimizing Compiler Version 19.40.33811 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
CMakeCXXCompilerId.cpp
Microsoft (R) Incremental Linker Version 14.40.33811.0
Copyright (C) Microsoft Corporation. All rights reserved.
/out:CMakeCXXCompilerId.exe
CMakeCXXCompilerId.obj
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.exe"
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj"
The CXX compiler identification is MSVC, found in:
E:/Miscellaneous Project/GitMap/out/build/x64-debug/CMakeFiles/3.28.3-msvc11/CompilerIdCXX/CMakeCXXCompilerId.exe
-
kind: "message-v1"
backtrace:
- "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:1182 (message)"
- "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:247 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)"
- "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)"
- "CMakeLists.txt:12 (project)"
message: |
Detecting CXX compiler /showIncludes prefix:
main.c
Note: including file: E:\\Miscellaneous Project\\GitMap\\out\\build\\x64-debug\\CMakeFiles\\ShowIncludes\\foo.h
Found prefix "Note: including file: "
-
kind: "try_compile-v1"
backtrace:
- "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)"
- "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
- "CMakeLists.txt:12 (project)"
checks:
- "Detecting C compiler ABI info"
directories:
source: "E:/Miscellaneous Project/GitMap/out/build/x64-debug/CMakeFiles/CMakeScratch/TryCompile-yoruno"
binary: "E:/Miscellaneous Project/GitMap/out/build/x64-debug/CMakeFiles/CMakeScratch/TryCompile-yoruno"
cmakeVariables:
CMAKE_C_FLAGS: "/DWIN32 /D_WINDOWS /W3"
CMAKE_C_FLAGS_DEBUG: "/MDd /Ob0 /Od /RTC1"
CMAKE_EXE_LINKER_FLAGS: "/machine:x64"
CMAKE_MSVC_DEBUG_INFORMATION_FORMAT: "$<IF:$<AND:$<C_COMPILER_ID:MSVC>,$<CXX_COMPILER_ID:MSVC>>,$<$<CONFIG:Debug,RelWithDebInfo>:EditAndContinue>,$<$<CONFIG:Debug,RelWithDebInfo>:ProgramDatabase>>"
buildResult:
variable: "CMAKE_C_ABI_COMPILED"
cached: true
stdout: |
Change Dir: 'E:/Miscellaneous Project/GitMap/out/build/x64-debug/CMakeFiles/CMakeScratch/TryCompile-yoruno'
Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v cmTC_98493
[1/2] C:\\PROGRA~1\\MIB055~1\\2022\\COMMUN~1\\VC\\Tools\\MSVC\\1440~1.338\\bin\\Hostx64\\x64\\cl.exe /nologo /DWIN32 /D_WINDOWS /W3 /MDd /Ob0 /Od /RTC1 -Zi /showIncludes /FoCMakeFiles\\cmTC_98493.dir\\CMakeCCompilerABI.c.obj /FdCMakeFiles\\cmTC_98493.dir\\ /FS -c "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\share\\cmake-3.28\\Modules\\CMakeCCompilerABI.c"
[2/2] C:\\WINDOWS\\system32\\cmd.exe /C "cd . && "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\bin\\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\\cmTC_98493.dir --rc=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\rc.exe --mt=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\mt.exe --manifests -- C:\\PROGRA~1\\MIB055~1\\2022\\COMMUN~1\\VC\\Tools\\MSVC\\1440~1.338\\bin\\Hostx64\\x64\\link.exe /nologo CMakeFiles\\cmTC_98493.dir\\CMakeCCompilerABI.c.obj /out:cmTC_98493.exe /implib:cmTC_98493.lib /pdb:cmTC_98493.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
exitCode: 0
-
kind: "try_compile-v1"
backtrace:
- "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)"
- "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.28/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
- "CMakeLists.txt:12 (project)"
checks:
- "Detecting CXX compiler ABI info"
directories:
source: "E:/Miscellaneous Project/GitMap/out/build/x64-debug/CMakeFiles/CMakeScratch/TryCompile-p39clb"
binary: "E:/Miscellaneous Project/GitMap/out/build/x64-debug/CMakeFiles/CMakeScratch/TryCompile-p39clb"
cmakeVariables:
CMAKE_CXX_FLAGS: "/DWIN32 /D_WINDOWS /W3 /GR /EHsc"
CMAKE_CXX_FLAGS_DEBUG: "/MDd /Ob0 /Od /RTC1"
CMAKE_EXE_LINKER_FLAGS: "/machine:x64"
CMAKE_MSVC_DEBUG_INFORMATION_FORMAT: "$<IF:$<AND:$<C_COMPILER_ID:MSVC>,$<CXX_COMPILER_ID:MSVC>>,$<$<CONFIG:Debug,RelWithDebInfo>:EditAndContinue>,$<$<CONFIG:Debug,RelWithDebInfo>:ProgramDatabase>>"
buildResult:
variable: "CMAKE_CXX_ABI_COMPILED"
cached: true
stdout: |
Change Dir: 'E:/Miscellaneous Project/GitMap/out/build/x64-debug/CMakeFiles/CMakeScratch/TryCompile-p39clb'
Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v cmTC_d13f9
[1/2] C:\\PROGRA~1\\MIB055~1\\2022\\COMMUN~1\\VC\\Tools\\MSVC\\1440~1.338\\bin\\Hostx64\\x64\\cl.exe /nologo /TP /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Ob0 /Od /RTC1 -Zi /showIncludes /FoCMakeFiles\\cmTC_d13f9.dir\\CMakeCXXCompilerABI.cpp.obj /FdCMakeFiles\\cmTC_d13f9.dir\\ /FS -c "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\share\\cmake-3.28\\Modules\\CMakeCXXCompilerABI.cpp"
[2/2] C:\\WINDOWS\\system32\\cmd.exe /C "cd . && "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\bin\\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\\cmTC_d13f9.dir --rc=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\rc.exe --mt=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100226~1.0\\x64\\mt.exe --manifests -- C:\\PROGRA~1\\MIB055~1\\2022\\COMMUN~1\\VC\\Tools\\MSVC\\1440~1.338\\bin\\Hostx64\\x64\\link.exe /nologo CMakeFiles\\cmTC_d13f9.dir\\CMakeCXXCompilerABI.cpp.obj /out:cmTC_d13f9.exe /implib:cmTC_d13f9.lib /pdb:cmTC_d13f9.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
exitCode: 0
...

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1,2 @@
#include "foo.h"
int main(){}

Binary file not shown.

View File

@@ -0,0 +1,11 @@
E:/Miscellaneous Project/GitMap/out/build/x64-debug/CMakeFiles/edit_cache.dir
E:/Miscellaneous Project/GitMap/out/build/x64-debug/CMakeFiles/rebuild_cache.dir
E:/Miscellaneous Project/GitMap/out/build/x64-debug/src/CMakeFiles/GitMap.dir
E:/Miscellaneous Project/GitMap/out/build/x64-debug/src/CMakeFiles/edit_cache.dir
E:/Miscellaneous Project/GitMap/out/build/x64-debug/src/CMakeFiles/rebuild_cache.dir
E:/Miscellaneous Project/GitMap/out/build/x64-debug/test/CMakeFiles/test_main.dir
E:/Miscellaneous Project/GitMap/out/build/x64-debug/test/CMakeFiles/edit_cache.dir
E:/Miscellaneous Project/GitMap/out/build/x64-debug/test/CMakeFiles/rebuild_cache.dir
E:/Miscellaneous Project/GitMap/out/build/x64-debug/main/CMakeFiles/Gitmap.dir
E:/Miscellaneous Project/GitMap/out/build/x64-debug/main/CMakeFiles/edit_cache.dir
E:/Miscellaneous Project/GitMap/out/build/x64-debug/main/CMakeFiles/rebuild_cache.dir

View File

@@ -0,0 +1 @@
# This file is generated by cmake for dependency checking of the CMakeCache.txt file

View File

@@ -0,0 +1,105 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Ninja" Generator, CMake Version 3.28
# This file contains all the rules used to get the outputs files
# built from the input files.
# It is included in the main 'build.ninja'.
# =============================================================================
# Project: GitMap
# Configurations: Debug
# =============================================================================
# =============================================================================
#############################################
# localized /showIncludes string
msvc_deps_prefix = Note: including file:
#############################################
# Rule for running custom commands.
rule CUSTOM_COMMAND
command = $COMMAND
description = $DESC
#############################################
# Rule for compiling C files.
rule C_COMPILER__GitMap_unscanned_Debug
deps = msvc
command = ${LAUNCHER}${CODE_CHECK}C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1440~1.338\bin\Hostx64\x64\cl.exe /nologo $DEFINES $INCLUDES $FLAGS /showIncludes /Fo$out /Fd$TARGET_COMPILE_PDB /FS -c $in
description = Building C object $out
#############################################
# Rule for linking C static library.
rule C_STATIC_LIBRARY_LINKER__GitMap_Debug
command = C:\WINDOWS\system32\cmd.exe /C "$PRE_LINK && C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1440~1.338\bin\Hostx64\x64\lib.exe /nologo $LINK_FLAGS /out:$TARGET_FILE $in && $POST_BUILD"
description = Linking C static library $TARGET_FILE
restat = $RESTAT
#############################################
# Rule for compiling C files.
rule C_COMPILER__test_main_unscanned_Debug
deps = msvc
command = ${LAUNCHER}${CODE_CHECK}C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1440~1.338\bin\Hostx64\x64\cl.exe /nologo $DEFINES $INCLUDES $FLAGS /showIncludes /Fo$out /Fd$TARGET_COMPILE_PDB /FS -c $in
description = Building C object $out
#############################################
# Rule for linking C executable.
rule C_EXECUTABLE_LINKER__test_main_Debug
command = C:\WINDOWS\system32\cmd.exe /C "$PRE_LINK && "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_exe --intdir=$OBJECT_DIR --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\mt.exe --manifests $MANIFESTS -- C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1440~1.338\bin\Hostx64\x64\link.exe /nologo $in /out:$TARGET_FILE /implib:$TARGET_IMPLIB /pdb:$TARGET_PDB /version:0.0 $LINK_FLAGS $LINK_PATH $LINK_LIBRARIES && $POST_BUILD"
description = Linking C executable $TARGET_FILE
restat = $RESTAT
#############################################
# Rule for compiling C files.
rule C_COMPILER__Gitmap_unscanned_Debug
deps = msvc
command = ${LAUNCHER}${CODE_CHECK}C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1440~1.338\bin\Hostx64\x64\cl.exe /nologo $DEFINES $INCLUDES $FLAGS /showIncludes /Fo$out /Fd$TARGET_COMPILE_PDB /FS -c $in
description = Building C object $out
#############################################
# Rule for linking C executable.
rule C_EXECUTABLE_LINKER__Gitmap_Debug
command = C:\WINDOWS\system32\cmd.exe /C "$PRE_LINK && "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_exe --intdir=$OBJECT_DIR --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\mt.exe --manifests $MANIFESTS -- C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1440~1.338\bin\Hostx64\x64\link.exe /nologo $in /out:$TARGET_FILE /implib:$TARGET_IMPLIB /pdb:$TARGET_PDB /version:0.0 $LINK_FLAGS $LINK_PATH $LINK_LIBRARIES && $POST_BUILD"
description = Linking C executable $TARGET_FILE
restat = $RESTAT
#############################################
# Rule for re-running cmake.
rule RERUN_CMAKE
command = "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -S"E:\Miscellaneous Project\GitMap" -B"E:\Miscellaneous Project\GitMap\out\build\x64-debug"
description = Re-running CMake...
generator = 1
#############################################
# Rule for cleaning all built files.
rule CLEAN
command = "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.exe" $FILE_ARG -t clean $TARGETS
description = Cleaning all built files...
#############################################
# Rule for printing all primary targets available.
rule HELP
command = "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.exe" -t targets
description = All primary targets available:

View File

@@ -0,0 +1,3 @@
Start testing: Jul 07 23:41 India Standard Time
----------------------------------------------------------
End testing: Jul 07 23:41 India Standard Time

View File

@@ -0,0 +1 @@
msvc_x64_x64

View File

@@ -0,0 +1,352 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Ninja" Generator, CMake Version 3.28
# This file contains all the build statements describing the
# compilation DAG.
# =============================================================================
# Write statements declared in CMakeLists.txt:
#
# Which is the root file.
# =============================================================================
# =============================================================================
# Project: GitMap
# Configurations: Debug
# =============================================================================
#############################################
# Minimal version of Ninja required by this file
ninja_required_version = 1.5
#############################################
# Set configuration variable for custom commands.
CONFIGURATION = Debug
# =============================================================================
# Include auxiliary files.
#############################################
# Include rules file.
include CMakeFiles\rules.ninja
# =============================================================================
#############################################
# Logical path to working directory; prefix for absolute paths.
cmake_ninja_workdir = E$:\Miscellaneous$ Project\GitMap\out\build\x64-debug\
#############################################
# Utility command for edit_cache
build CMakeFiles\edit_cache.util: CUSTOM_COMMAND
COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D "E:\Miscellaneous Project\GitMap\out\build\x64-debug" && "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E echo "No interactive CMake dialog available.""
DESC = No interactive CMake dialog available...
restat = 1
build edit_cache: phony CMakeFiles\edit_cache.util
#############################################
# Utility command for rebuild_cache
build CMakeFiles\rebuild_cache.util: CUSTOM_COMMAND
COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D "E:\Miscellaneous Project\GitMap\out\build\x64-debug" && "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -S"E:\Miscellaneous Project\GitMap" -B"E:\Miscellaneous Project\GitMap\out\build\x64-debug""
DESC = Running CMake to regenerate build system...
pool = console
restat = 1
build rebuild_cache: phony CMakeFiles\rebuild_cache.util
# =============================================================================
# Write statements declared in CMakeLists.txt:
# E:/Miscellaneous Project/GitMap/CMakeLists.txt
# =============================================================================
# =============================================================================
# Object build statements for STATIC_LIBRARY target GitMap
#############################################
# Order-only phony target for GitMap
build cmake_object_order_depends_target_GitMap: phony || src\CMakeFiles\GitMap.dir
build src\CMakeFiles\GitMap.dir\printclr.c.obj: C_COMPILER__GitMap_unscanned_Debug E$:\Miscellaneous$ Project\GitMap\src\printclr.c || cmake_object_order_depends_target_GitMap
FLAGS = /DWIN32 /D_WINDOWS /W3 /MDd /Ob0 /Od /RTC1
INCLUDES = -I"E:\Miscellaneous Project\GitMap\include"
OBJECT_DIR = src\CMakeFiles\GitMap.dir
OBJECT_FILE_DIR = src\CMakeFiles\GitMap.dir
TARGET_COMPILE_PDB = src\CMakeFiles\GitMap.dir\GitMap.pdb
TARGET_PDB = lib\Debug\GitMap.pdb
build src\CMakeFiles\GitMap.dir\command.c.obj: C_COMPILER__GitMap_unscanned_Debug E$:\Miscellaneous$ Project\GitMap\src\command.c || cmake_object_order_depends_target_GitMap
FLAGS = /DWIN32 /D_WINDOWS /W3 /MDd /Ob0 /Od /RTC1
INCLUDES = -I"E:\Miscellaneous Project\GitMap\include"
OBJECT_DIR = src\CMakeFiles\GitMap.dir
OBJECT_FILE_DIR = src\CMakeFiles\GitMap.dir
TARGET_COMPILE_PDB = src\CMakeFiles\GitMap.dir\GitMap.pdb
TARGET_PDB = lib\Debug\GitMap.pdb
build src\CMakeFiles\GitMap.dir\scan.c.obj: C_COMPILER__GitMap_unscanned_Debug E$:\Miscellaneous$ Project\GitMap\src\scan.c || cmake_object_order_depends_target_GitMap
FLAGS = /DWIN32 /D_WINDOWS /W3 /MDd /Ob0 /Od /RTC1
INCLUDES = -I"E:\Miscellaneous Project\GitMap\include"
OBJECT_DIR = src\CMakeFiles\GitMap.dir
OBJECT_FILE_DIR = src\CMakeFiles\GitMap.dir
TARGET_COMPILE_PDB = src\CMakeFiles\GitMap.dir\GitMap.pdb
TARGET_PDB = lib\Debug\GitMap.pdb
# =============================================================================
# Link build statements for STATIC_LIBRARY target GitMap
#############################################
# Link the static library lib\Debug\GitMap.lib
build lib\Debug\GitMap.lib: C_STATIC_LIBRARY_LINKER__GitMap_Debug src\CMakeFiles\GitMap.dir\printclr.c.obj src\CMakeFiles\GitMap.dir\command.c.obj src\CMakeFiles\GitMap.dir\scan.c.obj
LANGUAGE_COMPILE_FLAGS = /DWIN32 /D_WINDOWS /W3 /MDd /Ob0 /Od /RTC1
LINK_FLAGS = /machine:x64
OBJECT_DIR = src\CMakeFiles\GitMap.dir
POST_BUILD = cd .
PRE_LINK = cd .
TARGET_COMPILE_PDB = src\CMakeFiles\GitMap.dir\GitMap.pdb
TARGET_FILE = lib\Debug\GitMap.lib
TARGET_PDB = lib\Debug\GitMap.pdb
#############################################
# Utility command for edit_cache
build src\CMakeFiles\edit_cache.util: CUSTOM_COMMAND
COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D "E:\Miscellaneous Project\GitMap\out\build\x64-debug\src" && "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E echo "No interactive CMake dialog available.""
DESC = No interactive CMake dialog available...
restat = 1
build src\edit_cache: phony src\CMakeFiles\edit_cache.util
#############################################
# Utility command for rebuild_cache
build src\CMakeFiles\rebuild_cache.util: CUSTOM_COMMAND
COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D "E:\Miscellaneous Project\GitMap\out\build\x64-debug\src" && "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -S"E:\Miscellaneous Project\GitMap" -B"E:\Miscellaneous Project\GitMap\out\build\x64-debug""
DESC = Running CMake to regenerate build system...
pool = console
restat = 1
build src\rebuild_cache: phony src\CMakeFiles\rebuild_cache.util
# =============================================================================
# Write statements declared in CMakeLists.txt:
# E:/Miscellaneous Project/GitMap/CMakeLists.txt
# =============================================================================
# =============================================================================
# Object build statements for EXECUTABLE target test_main
#############################################
# Order-only phony target for test_main
build cmake_object_order_depends_target_test_main: phony || cmake_object_order_depends_target_GitMap
build test\CMakeFiles\test_main.dir\test_main.c.obj: C_COMPILER__test_main_unscanned_Debug E$:\Miscellaneous$ Project\GitMap\test\test_main.c || cmake_object_order_depends_target_test_main
FLAGS = /DWIN32 /D_WINDOWS /W3 /MDd /Ob0 /Od /RTC1
INCLUDES = -I"E:\Miscellaneous Project\GitMap\include"
OBJECT_DIR = test\CMakeFiles\test_main.dir
OBJECT_FILE_DIR = test\CMakeFiles\test_main.dir
TARGET_COMPILE_PDB = test\CMakeFiles\test_main.dir\
TARGET_PDB = bin\Debug\test_main.pdb
# =============================================================================
# Link build statements for EXECUTABLE target test_main
#############################################
# Link the executable bin\Debug\test_main.exe
build bin\Debug\test_main.exe: C_EXECUTABLE_LINKER__test_main_Debug test\CMakeFiles\test_main.dir\test_main.c.obj | lib\Debug\GitMap.lib || lib\Debug\GitMap.lib
FLAGS = /DWIN32 /D_WINDOWS /W3 /MDd /Ob0 /Od /RTC1
LINK_FLAGS = /machine:x64 /debug /INCREMENTAL /subsystem:console
LINK_LIBRARIES = lib\Debug\GitMap.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
OBJECT_DIR = test\CMakeFiles\test_main.dir
POST_BUILD = cd .
PRE_LINK = cd .
TARGET_COMPILE_PDB = test\CMakeFiles\test_main.dir\
TARGET_FILE = bin\Debug\test_main.exe
TARGET_IMPLIB = lib\Debug\test_main.lib
TARGET_PDB = bin\Debug\test_main.pdb
#############################################
# Utility command for edit_cache
build test\CMakeFiles\edit_cache.util: CUSTOM_COMMAND
COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D "E:\Miscellaneous Project\GitMap\out\build\x64-debug\test" && "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E echo "No interactive CMake dialog available.""
DESC = No interactive CMake dialog available...
restat = 1
build test\edit_cache: phony test\CMakeFiles\edit_cache.util
#############################################
# Utility command for rebuild_cache
build test\CMakeFiles\rebuild_cache.util: CUSTOM_COMMAND
COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D "E:\Miscellaneous Project\GitMap\out\build\x64-debug\test" && "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -S"E:\Miscellaneous Project\GitMap" -B"E:\Miscellaneous Project\GitMap\out\build\x64-debug""
DESC = Running CMake to regenerate build system...
pool = console
restat = 1
build test\rebuild_cache: phony test\CMakeFiles\rebuild_cache.util
# =============================================================================
# Write statements declared in CMakeLists.txt:
# E:/Miscellaneous Project/GitMap/CMakeLists.txt
# =============================================================================
# =============================================================================
# Object build statements for EXECUTABLE target Gitmap
#############################################
# Order-only phony target for Gitmap
build cmake_object_order_depends_target_Gitmap: phony || main\CMakeFiles\Gitmap.dir
build main\CMakeFiles\Gitmap.dir\main.c.obj: C_COMPILER__Gitmap_unscanned_Debug E$:\Miscellaneous$ Project\GitMap\main\main.c || cmake_object_order_depends_target_Gitmap
FLAGS = /DWIN32 /D_WINDOWS /W3 /MDd /Ob0 /Od /RTC1
OBJECT_DIR = main\CMakeFiles\Gitmap.dir
OBJECT_FILE_DIR = main\CMakeFiles\Gitmap.dir
TARGET_COMPILE_PDB = main\CMakeFiles\Gitmap.dir\
TARGET_PDB = bin\Debug\Gitmap.pdb
# =============================================================================
# Link build statements for EXECUTABLE target Gitmap
#############################################
# Link the executable bin\Debug\Gitmap.exe
build bin\Debug\Gitmap.exe: C_EXECUTABLE_LINKER__Gitmap_Debug main\CMakeFiles\Gitmap.dir\main.c.obj
FLAGS = /DWIN32 /D_WINDOWS /W3 /MDd /Ob0 /Od /RTC1
LINK_FLAGS = /machine:x64 /debug /INCREMENTAL /subsystem:console
LINK_LIBRARIES = kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
OBJECT_DIR = main\CMakeFiles\Gitmap.dir
POST_BUILD = cd .
PRE_LINK = cd .
TARGET_COMPILE_PDB = main\CMakeFiles\Gitmap.dir\
TARGET_FILE = bin\Debug\Gitmap.exe
TARGET_IMPLIB = lib\Debug\Gitmap.lib
TARGET_PDB = bin\Debug\Gitmap.pdb
#############################################
# Utility command for edit_cache
build main\CMakeFiles\edit_cache.util: CUSTOM_COMMAND
COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D "E:\Miscellaneous Project\GitMap\out\build\x64-debug\main" && "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E echo "No interactive CMake dialog available.""
DESC = No interactive CMake dialog available...
restat = 1
build main\edit_cache: phony main\CMakeFiles\edit_cache.util
#############################################
# Utility command for rebuild_cache
build main\CMakeFiles\rebuild_cache.util: CUSTOM_COMMAND
COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D "E:\Miscellaneous Project\GitMap\out\build\x64-debug\main" && "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -S"E:\Miscellaneous Project\GitMap" -B"E:\Miscellaneous Project\GitMap\out\build\x64-debug""
DESC = Running CMake to regenerate build system...
pool = console
restat = 1
build main\rebuild_cache: phony main\CMakeFiles\rebuild_cache.util
# =============================================================================
# Target aliases.
build GitMap: phony lib\Debug\GitMap.lib
build GitMap.lib: phony lib\Debug\GitMap.lib
build Gitmap: phony bin\Debug\Gitmap.exe
build Gitmap.exe: phony bin\Debug\Gitmap.exe
build test_main: phony bin\Debug\test_main.exe
build test_main.exe: phony bin\Debug\test_main.exe
# =============================================================================
# Folder targets.
# =============================================================================
#############################################
# Folder: E:/Miscellaneous Project/GitMap/out/build/x64-debug
build all: phony src\all test\all main\all
# =============================================================================
#############################################
# Folder: E:/Miscellaneous Project/GitMap/out/build/x64-debug/main
build main\all: phony bin\Debug\Gitmap.exe
# =============================================================================
#############################################
# Folder: E:/Miscellaneous Project/GitMap/out/build/x64-debug/src
build src\all: phony lib\Debug\GitMap.lib
# =============================================================================
#############################################
# Folder: E:/Miscellaneous Project/GitMap/out/build/x64-debug/test
build test\all: phony bin\Debug\test_main.exe
# =============================================================================
# Built-in targets
#############################################
# Re-run CMake if any of its inputs changed.
build build.ninja: RERUN_CMAKE | C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCommonLanguageInclude.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeGenericSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeInitializeConfigs.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeLanguageInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInitialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\FindGit.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\FindPackageHandleStandardArgs.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\FindPackageMessage.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Initialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\WindowsPaths.cmake CMakeCache.txt CMakeFiles\3.28.3-msvc11\CMakeCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeCXXCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeRCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeSystem.cmake E$:\Miscellaneous$ Project\GitMap\CMakeLists.txt E$:\Miscellaneous$ Project\GitMap\cmake\AddGitSubmodule.cmake E$:\Miscellaneous$ Project\GitMap\main\CMakeLists.txt E$:\Miscellaneous$ Project\GitMap\src\CMakeLists.txt E$:\Miscellaneous$ Project\GitMap\test\CMakeLists.txt
pool = console
#############################################
# A missing CMake input file is not an error.
build C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCXXInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeCommonLanguageInclude.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeGenericSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeInitializeConfigs.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeLanguageInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeRCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\CMakeSystemSpecificInitialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Compiler\MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\FindGit.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\FindPackageHandleStandardArgs.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\FindPackageMessage.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-Initialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows-MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\Windows.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.28\Modules\Platform\WindowsPaths.cmake CMakeCache.txt CMakeFiles\3.28.3-msvc11\CMakeCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeCXXCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeRCCompiler.cmake CMakeFiles\3.28.3-msvc11\CMakeSystem.cmake E$:\Miscellaneous$ Project\GitMap\CMakeLists.txt E$:\Miscellaneous$ Project\GitMap\cmake\AddGitSubmodule.cmake E$:\Miscellaneous$ Project\GitMap\main\CMakeLists.txt E$:\Miscellaneous$ Project\GitMap\src\CMakeLists.txt E$:\Miscellaneous$ Project\GitMap\test\CMakeLists.txt: phony
#############################################
# Clean all the built files.
build clean: CLEAN
#############################################
# Print all primary targets available.
build help: HELP
#############################################
# Make the all target the default.
default all

View File

@@ -0,0 +1,52 @@
# Install script for directory: E:/Miscellaneous Project/GitMap
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "E:/Miscellaneous Project/GitMap/out/install/x64-debug")
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()
# Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING)
set(CMAKE_CROSSCOMPILING "FALSE")
endif()
if(NOT CMAKE_INSTALL_LOCAL_ONLY)
# Include the install script for each subdirectory.
include("E:/Miscellaneous Project/GitMap/out/build/x64-debug/src/cmake_install.cmake")
include("E:/Miscellaneous Project/GitMap/out/build/x64-debug/test/cmake_install.cmake")
include("E:/Miscellaneous Project/GitMap/out/build/x64-debug/main/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 "E:/Miscellaneous Project/GitMap/out/build/x64-debug/${CMAKE_INSTALL_MANIFEST}"
"${CMAKE_INSTALL_MANIFEST_CONTENT}")

View File

@@ -0,0 +1,34 @@
# Install script for directory: E:/Miscellaneous Project/GitMap/main
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "E:/Miscellaneous Project/GitMap/out/install/x64-debug")
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()
# Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING)
set(CMAKE_CROSSCOMPILING "FALSE")
endif()

View File

@@ -0,0 +1,34 @@
# Install script for directory: E:/Miscellaneous Project/GitMap/src
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "E:/Miscellaneous Project/GitMap/out/install/x64-debug")
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()
# Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING)
set(CMAKE_CROSSCOMPILING "FALSE")
endif()

View File

@@ -0,0 +1,34 @@
# Install script for directory: E:/Miscellaneous Project/GitMap/test
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "E:/Miscellaneous Project/GitMap/out/install/x64-debug")
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()
# Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING)
set(CMAKE_CROSSCOMPILING "FALSE")
endif()

24
src/CMakeLists.txt Normal file
View File

@@ -0,0 +1,24 @@
set(PRINTCLR_SRC
"printclr.c")
set(COMMAND_SRC
"command.c")
set(SCAN_SRC
"scan.c")
set(GEN_XML_SRC
"genXml.c")
add_library(${GITMAP_LIBRARY} STATIC
${PRINTCLR_SRC}
${COMMAND_SRC}
${SCAN_SRC}
${GEN_XML_SRC})
target_link_libraries(${GITMAP_LIBRARY} PUBLIC
${MXML_LIBRARIES})
target_include_directories(${GITMAP_LIBRARY} PUBLIC
${HEADER_DIR}
${MXML_INCLUDE_DIRS})

162
src/command.c Normal file
View File

@@ -0,0 +1,162 @@
#include <command.h>
#include <string.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#define ARR_SIZE(a) (sizeof(a)/sizeof((a)[0]))
#define SMILEY "\xF0\x9F\x98\x8A"
#define SAD "\xF0\x9F\x98\x9E"
#define SALUTE "\xF0\x9F\xAB\xA1"
#define THUMBS_UP "\xF0\x9F\x91\x8D\n"
typedef struct cmd {
const char* name;
int (*func)(int argc, char** argv);
char* usage;
}cmd_t;
static int exit_cmd(int argc, char** argv);
static int help_cmd(int argc, char** argv);
static int scan_cmd(int argc, char** argv);
static int rm_cmd(int argc, char** argv);
static cmd_t s_cmd_table[] = {
{"exit", exit_cmd, "exit"},
{"help", help_cmd, "help"},
{"scan", scan_cmd, "scan \"Option\" <Git Project directory path>\n\
Option:\n\
-D : Mentioning Directory to scan Multiple Git Project.\n\
<empty> : For searching for single Git Project on specifed directory.\n"},
{"rm", rm_cmd, "rm \"Option\" <Git Project directory path>\n\
Option:\n\
-D : Mentioning Directory to scan Multiple Git Project.\n\
<empty> : For searching for single Git Project on specifed directory.\n"}
};
static void print_usage(const char* cmdname) {
for (int i = 0; i < ARR_SIZE(s_cmd_table); i++) {
if (!strcmp(cmdname, s_cmd_table[i].name)) {
printf("Command usage: ");
printf("%s\n", s_cmd_table[i].usage);
break;
}
}
}
static int exit_cmd(int argc, char** argv) {
printf("Exiting GitMap. %s\n", SALUTE);
exit(EXIT_SUCCESS);
}
static int help_cmd(int argc, char** argv) {
if (argc != 1) {
print_usage(argv[0]);
return CMD_FAIL_CMD;
}
for (int i = 0; i < ARR_SIZE(s_cmd_table) ; i++) {
printf(" %s\n", s_cmd_table[i].usage);
}
return CMD_SUCCESS;
}
static int scan_cmd(int argc, char** argv) {
int ret;
if (argc < 2) {
print_usage(argv[0]);
return CMD_FAIL_CMD;
}
if (argv[1] == "-D")
ret = Multi_Git_Project_scan(argv[2]) ? CMD_SUCCESS : CMD_FAIL_CMD;
else
ret = Git_Project_scan(argv[1]) ? CMD_SUCCESS : CMD_FAIL_CMD;
if (ret == CMD_SUCCESS)
printf("Successfully scanned Git Project. %s\n", SMILEY);
else
printf("Could not scan Git Project. %s\n", SAD);
}
static int rm_cmd(int argc, char** argv) {
int ret;
if (argc < 2) {
print_usage(argv[0]);
return CMD_FAIL_CMD;
}
if (argv[1] == "-D")
ret = Multi_Git_Project_rm(argv[2]) ? CMD_SUCCESS : CMD_FAIL_CMD;
else
ret = Git_Project_rm(argv[1]) ? CMD_SUCCESS : CMD_FAIL_CMD;
if (ret == CMD_SUCCESS)
printf("Successfully removed Git Project from DB. %s\n", THUMBS_UP);
else
printf("Could not remove mentioned Git Project from DB.\n");
}
int command_exec(int argc, char** argv) {
for (int i = 0; i < ARR_SIZE(s_cmd_table); i++) {
if (!strcmp(argv[0], s_cmd_table[i].name)) {
return s_cmd_table[i].func(argc, argv);
}
}
return CMD_FAIL_EXEC;
}
int command_parse_and_exec(char* str) {
int (*func)(int argc, char** argv) = NULL;
const char* delims = " \t\n";
char* token;
int argc = 0;
char copy[strlen(str) + 1];
strcpy(copy, str);
token = strtok(copy, delims);
while (token) {
argc++;
token = strtok(NULL, delims);
}
if (argc == 0)
return CMD_FAIL_EXEC;
token = strtok(str, delims);
for (int i = 0; i < ARR_SIZE(s_cmd_table); i++) {
if (!strcmp(token, s_cmd_table[i].name)) {
func = s_cmd_table[i].func;
break;
}
}
if (!func)
return CMD_FAIL_EXEC;
char* argv[argc];
int i = 0;
do {
assert(i < argc);
argv[i++] = token;
token = strtok(NULL, delims);
} while (token);
assert(i == argc);
return func(argc, argv);
}

44
src/genXml.c Normal file
View File

@@ -0,0 +1,44 @@
#include <scan.h>
#include <include/libmxml4/mxml.h>
#include <string.h>
#include <limits.h>
#include <stdbool.h>
#define FUNCTION_FAIL 0
#define FUNCTION_SUCCESS 1
#define GIT_PROJECT_PATH_XML "cache/gitProjectPath.xml"
static int synthesize_path(const char* directory_path, const char* git_project_path, char* absolute_path);
static int synthesize_path(const char* directory_path, const char* git_project_path,
char* absolute_path) {
char fullPath[PATH_MAX];
snprintf(fullPath, sizeof(fullPath), "%s/%s", directory_path, git_project_path);
//char absolute_path[PATH_MAX];
if (realpath(fullPath, absolute_path) == NULL) {
printf("Failure in resolving absolute path of the git project: %s", git_project_path);
return FUNCTION_FAIL;
}
return FUNCTION_SUCCESS;
}
int cache_location(const char* directory_path, const char* git_project_path) {
char absolute_path[PATH_MAX];
if (!synthesize_path(directory_path, git_project_path, absolute_path)) {
return FUNCTION_FAIL;
}
}

33
src/printclr.c Normal file
View File

@@ -0,0 +1,33 @@
#include <printclr.h>
#include <stdio.h>
#include <stdarg.h>
#include <assert.h>
#define FG_RESET "\x1b[0m"
static const char* s_ansi_fg_table[] = {
[FG_BLACK] = "\x1b[30m",
[FG_RED] = "\x1b[31m",
[FG_GREEN] = "\x1b[32m",
[FG_YELLOW] = "\x1b[33m",
[FG_BLUE] = "\x1b[34m",
[FG_MAGENTA] = "\x1b[35m",
[FG_CYAN] = "\x1b[36m",
[FG_WHITE] = "\x1b[37m"
};
void
printclr(fg_clr_t fg, const char* fmt, ...) {
va_list args;
assert(fg > 0 && fg <= sizeof(s_ansi_fg_table) / sizeof(char*));
va_start(args, fmt);
vprintf(fmt, args);
va_end(args);
printf(FG_RESET);
}

45
src/scan.c Normal file
View File

@@ -0,0 +1,45 @@
#include <scan.h>
#include <dirent.h>
#define FUNCTION_FAIL 0
#define FUNCTION_SUCCESS 1
int Multi_Git_Project_scan(char* str) {
}
int Git_Project_scan(char* directoryPath) {
struct dirent* entry;
DIR* dp = opendir(directoryPath);
if (dp == NULL) {
return FUNCTION_FAIL;
}
while (entry = readdir(dp)) {
if (entry->d_type == DT_DIR) {
if (strcmp(entry->d_name, ".") == 0 || strcmp(entry->d_name, "..") == 0) {
continue;
}
if (strcmp(entry->d_name, ".git") == 0) {
return FUNCTION_SUCCESS;
}
}
}
return FUNCTION_FAIL;
}
int Multi_Git_Project_rm(char* str) {
}
int Git_Project_rm(char* str) {
}

11
test/CMakeLists.txt Normal file
View File

@@ -0,0 +1,11 @@
set(TEST_EXECUTABLE
"test_main")
set(TEST_SRC
"test_main.c")
add_executable(${TEST_EXECUTABLE}
${TEST_SRC})
target_link_libraries(${TEST_EXECUTABLE} PUBLIC
${GITMAP_LIBRARY})

0
test/test_main.c Normal file
View File

1
utils/mxml Submodule

Submodule utils/mxml added at d650587449