diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.clang-format" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.clang-format" new file mode 100644 index 0000000000000000000000000000000000000000..8d709151f7012d4b1569304afb200af0ce97e47d --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.clang-format" @@ -0,0 +1,24 @@ +--- +BasedOnStyle: Google +AlignAfterOpenBracket: 'AlwaysBreak' +AllowAllConstructorInitializersOnNextLine: 'false' +AllowAllParametersOfDeclarationOnNextLine: 'false' +AlignConsecutiveMacros: 'true' +AllowShortCaseLabelsOnASingleLine: 'true' +AllowShortFunctionsOnASingleLine: 'None' +AllowShortIfStatementsOnASingleLine: 'Never' +AllowShortLoopsOnASingleLine: 'false' +BreakBeforeBraces: Allman +BinPackArguments: 'false' +BinPackParameters: 'false' +Cpp11BracedListStyle: 'false' +ColumnLimit: 125 +NamespaceIndentation: All +SpaceAfterTemplateKeyword: 'false' +SpaceBeforeCtorInitializerColon: 'true' +SpaceBeforeInheritanceColon: 'true' +SpaceBeforeParens: ControlStatements +SpaceBeforeRangeBasedForLoopColon: 'true' +SpaceInEmptyBlock: true +Standard: 'Latest' +... diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.clang-tidy" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.clang-tidy" new file mode 100644 index 0000000000000000000000000000000000000000..d85b250a5e402bd6911755b0f44ac98dcc8aec4c --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.clang-tidy" @@ -0,0 +1,6 @@ +--- +Checks: '*,-fuchsia-*,-google-*,-zircon-*,-abseil-*,-modernize-use-trailing-return-type,-llvm-*,-llvmlibc-*' +CheckOptions: [{ key: misc-non-private-member-variables-in-classes, value: IgnoreClassesWithAllMemberVariablesBeingPublic }] +WarningsAsErrors: '*' +HeaderFilterRegex: '' +FormatStyle: none diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.github/ISSUE_TEMPLATE/bug_report.md" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.github/ISSUE_TEMPLATE/bug_report.md" new file mode 100644 index 0000000000000000000000000000000000000000..7532789bdb4353ca0a42dcdfa23a38093f26f7b2 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.github/ISSUE_TEMPLATE/bug_report.md" @@ -0,0 +1,33 @@ +--- +name: Bug report +about: Create a report to help me improve +title: "[BUG]" +labels: bug +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: + +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Desktop (please complete the following information):** + +* OS: [e.g. Windows] +* Version [e.g. 10] + +**Additional context** +Add any other context about the problem here. diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.github/ISSUE_TEMPLATE/custom.md" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.github/ISSUE_TEMPLATE/custom.md" new file mode 100644 index 0000000000000000000000000000000000000000..48d5f81fa422964dd1eea360efdecfc5dc9a6c87 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.github/ISSUE_TEMPLATE/custom.md" @@ -0,0 +1,10 @@ +--- +name: Custom issue template +about: Describe this issue template's purpose here. +title: '' +labels: '' +assignees: '' + +--- + + diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.github/ISSUE_TEMPLATE/feature_request.md" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.github/ISSUE_TEMPLATE/feature_request.md" new file mode 100644 index 0000000000000000000000000000000000000000..e75a04b91982fd762ac1b841b1bcffc806cc442f --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.github/ISSUE_TEMPLATE/feature_request.md" @@ -0,0 +1,25 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: "[FEATURE]" +labels: enhancement +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated +when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Provide usage examples** +A few examples of how the feature should be used. Please make sure they are clear +and concise. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.github/workflows/macos.yml" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.github/workflows/macos.yml" new file mode 100644 index 0000000000000000000000000000000000000000..e20fc40b3dd8b6ae6e9801a6e9bb35f97b4388ee --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.github/workflows/macos.yml" @@ -0,0 +1,53 @@ +name: MacOS + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +env: + BUILD_TYPE: Release + INSTALL_LOCATION: .local + +jobs: + build: + + runs-on: macos-latest + if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]')" + + steps: + - uses: actions/checkout@v2 + + - name: cache dependencies + uses: actions/cache@v2 + id: cache + with: + path: ${{ github.workspace }}/${{ env.INSTALL_LOCATION }} + key: ${{ runner.os }}-dependencies + + - name: install GoogleTest + if: ${{ steps.cache.output.cache-hit != 'true' }} + run: | + cd .. + git clone https://github.com/google/googletest.git --branch release-1.10.0 + cd googletest + cmake -Bbuild -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/$INSTALL_LOCATION + cmake --build build --config Release + cmake --build build --target install --config Release + cd ../modern-cpp-template + + - name: configure + run: cmake -Bbuild -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/$INSTALL_LOCATION + + - name: build + run: cmake --build build --config $BUILD_TYPE -j4 + + - name: run tests + run: | + cd build + ctest -C $BUILD_TYPE -VV + + - name: install project + run: cmake --build build --target install --config Release + diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.github/workflows/release.yml" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.github/workflows/release.yml" new file mode 100644 index 0000000000000000000000000000000000000000..433c451c70012e7313d5fa387fe0fdfae800ac25 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.github/workflows/release.yml" @@ -0,0 +1,189 @@ +name: Release + +on: + push: + tags: + - 'v*' + +env: + PROJECT_NAME: "modern-cpp-template" + BUILD_TYPE: Release + +jobs: + build: + name: ${{ matrix.config.name }} + runs-on: ${{ matrix.config.os }} + strategy: + fail-fast: false + matrix: + config: + - { + name: "Windows Latest MSVC", + artifact_ext: '.zip', + os: windows-latest, + cc: "cl", + cxx: "cl", + environment_script: "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Auxiliary/Build/vcvars64.bat", + } + - { + name: "Ubuntu Latest GCC", + artifact_ext: '.tar.gz', + os: ubuntu-latest, + cc: "gcc", + cxx: "g++", + } + - { + name: "macOS Latest Clang", + artifact_ext: '.tar.gz', + os: macos-latest, + cc: "clang", + cxx: "clang++", + } + + steps: + - name: set version name (Windows) + id: version_win + if: ${{ runner.os == 'Windows' }} + run: | + $TAG = (${env:GITHUB_REF} -replace 'refs/tags/', '') + echo "::set-output name=name::$TAG" + + - name: set version name + id: version + if: ${{ runner.os != 'Windows' }} + run: echo ::set-output name=name::${GITHUB_REF#refs/tags/} + + - name: Checkout + uses: actions/checkout@v2 + with: + submodules: recursive + + - name: cache dependencies + uses: actions/cache@v2 + id: cache + with: + path: ${{ github.HOME }}/.local + key: ${{ runner.os }}-dependencies + + - name: install GoogleTest + if: ${{ steps.cache.output.cache-hit != 'true' }} + run: | + cd .. + git clone https://github.com/google/googletest.git --branch release-1.10.0 + cd googletest + cmake -Bbuild -DCMAKE_INSTALL_PREFIX="$HOME/.local" -Dgtest_force_shared_crt=1 + cmake --build build --config Release + cmake --build build --target install --config Release + cd ../modern-cpp-template + + - name: configure + run: cmake -Bbuild -DCMAKE_INSTALL_PREFIX="$HOME/.local" + + - name: build + run: cmake --build build --config "$env:BUILD_TYPE" -j4 + + - name: run tests + run: | + cd build + ctest -C "$env:BUILD_TYPE" -VV + + # for a release not containing directly the source code, replace the files archived + # with the actual files needed (i.e. *.lib/*.a and *.h(pp)) + + - name: generate archive (Windows) + if: ${{ runner.os == 'Windows' }} + run: | + rmdir -r -fo build + 7z a -tzip $HOME/artifact.zip * + + + - name: generate archive + if: ${{ runner.os != 'Windows' }} + run: | + rm -rf build + tar -cvzf $HOME/artifact.tar.gz . + + - name: upload artifacts + uses: actions/upload-artifact@v2 + if: ${{ runner.os == 'Windows' }} + with: + name: ${{ runner.os }}-${{ steps.version_win.outputs.name }} + path: '~/artifact.*' + + - name: upload artifacts + uses: actions/upload-artifact@v2 + if: ${{ runner.os != 'Windows' }} + with: + name: ${{ runner.os }}-${{ steps.version.outputs.name }} + path: '~/artifact.*' + + release: + if: contains(github.ref, 'tags/v') + runs-on: ubuntu-latest + needs: build + + steps: + - name: set version name + id: version + run: echo ::set-output name=name::${GITHUB_REF#refs/tags/} + + - name: create release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token + with: + tag_name: ${{ github.ref }} + release_name: Release ${{ steps.version.outputs.name }} + # if needed, you can set the release body here + #body: "Release notes" + draft: false + prerelease: false + + - name: download artifact + uses: actions/download-artifact@v2 + with: + name: "Linux-${{ steps.version.outputs.name }}" + path: ./ + + - name: upload ubuntu release asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: "artifact.tar.gz" + asset_name: "${{ env.PROJECT_NAME }}-Linux-${{ steps.version.outputs.name }}.tar.gz" + asset_content_type: application/x-tar + + - name: download artifact + uses: actions/download-artifact@v2 + with: + name: "Windows-${{ steps.version.outputs.name }}" + path: ./ + + - name: upload windows release asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: "artifact.zip" + asset_name: "${{ env.PROJECT_NAME }}-Windows-${{ steps.version.outputs.name }}.zip" + asset_content_type: application/zip + + - name: download artifact + uses: actions/download-artifact@v2 + with: + name: "macOS-${{ steps.version.outputs.name }}" + path: ./ + + - name: upload macos release asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: "./artifact.tar.gz" + asset_name: "${{ env.PROJECT_NAME }}-macOS-${{ steps.version.outputs.name }}.tar.gz" + asset_content_type: application/x-tar diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.github/workflows/ubuntu.yml" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.github/workflows/ubuntu.yml" new file mode 100644 index 0000000000000000000000000000000000000000..2aa85426176babe9583805e400353bd23f9c6601 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.github/workflows/ubuntu.yml" @@ -0,0 +1,55 @@ +name: Ubuntu + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +env: + BUILD_TYPE: Release + INSTALL_LOCATION: .local + +jobs: + build: + + runs-on: ubuntu-latest + if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]')" + + steps: + - uses: actions/checkout@v2 + + - name: cache dependencies + uses: actions/cache@v2 + id: cache + with: + path: ${{ github.workspace }}/${{ env.INSTALL_LOCATION }} + key: ${{ runner.os }}-dependencies + + - name: install GoogleTest + if: ${{ steps.cache.output.cache-hit != 'true' }} + run: | + cd .. + git clone https://github.com/google/googletest.git --branch release-1.10.0 + cd googletest + cmake -Bbuild -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/$INSTALL_LOCATION + cmake --build build --config Release + cmake --build build --target install --config Release + + - name: configure + run: cmake -Bbuild -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/$INSTALL_LOCATION -DProject_ENABLE_CODE_COVERAGE=1 + + - name: build + run: cmake --build build --config $BUILD_TYPE -j4 + + - name: run tests + run: | + cd build + ctest -C $BUILD_TYPE -VV + + - name: Code coverage using Codecov + run: bash <(curl -s https://codecov.io/bash) + + - name: install project + run: cmake --build build --target install --config Release + diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.github/workflows/windows.yml" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.github/workflows/windows.yml" new file mode 100644 index 0000000000000000000000000000000000000000..d2da57413294e8aca76bef2bec2f29cf196d5a5c --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.github/workflows/windows.yml" @@ -0,0 +1,53 @@ +name: Windows + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +env: + BUILD_TYPE: Release + INSTALL_LOCATION: ".local" + +jobs: + build: + + runs-on: windows-latest + if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]')" + + steps: + - uses: actions/checkout@v2 + + - name: cache dependencies + uses: actions/cache@v2 + id: cache + with: + path: ${{env.INSTALL_LOCATION}} + key: ${{runner.os}}-dependencies + + - name: install GoogleTest + if: ${{steps.cache.output.cache-hit != 'true'}} + run: | + cd .. + git clone https://github.com/google/googletest.git --branch release-1.10.0 + cd googletest + cmake -Bbuild -DCMAKE_INSTALL_PREFIX="$HOME/$env:INSTALL_LOCATION" -Dgtest_force_shared_crt=1 + cmake --build build --config Release + cmake --build build --target install --config Release + cd ../modern-cpp-template + + - name: configure + run: cmake -Bbuild -DCMAKE_INSTALL_PREFIX="$HOME/$env:INSTALL_LOCATION" + + - name: build + run: cmake --build build --config "$env:BUILD_TYPE" -j4 + + - name: run tests + run: | + cd build + ctest -C "$env:BUILD_TYPE" -VV + + - name: install project + run: cmake --build build --target install --config Release + diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.gitignore" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.gitignore" new file mode 100644 index 0000000000000000000000000000000000000000..101c97f2e9233121a96810ccb600925b2c56d593 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/.gitignore" @@ -0,0 +1,368 @@ +[Bb]uild/* +[Dd]ocs/* +CMakeCache.* +CMakeFiles/* +[Tt]esting/* + +### VisualStudioCode ### +.vscode/* +.vscode/settings.json +.vscode/tasks.json +.vscode/launch.json +.vscode/extensions.json + +### VisualStudioCode Patch ### +# Ignore all local history of files +.history + +### VisualStudio ### +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Mono auto generated files +mono_crash.* + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_h.h +*.ilk +*.obj +*.iobj +*.pch +*.pdb +*.ipdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*_wpftmp.csproj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# JustCode is a .NET coding add-in +.JustCode + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# NuGet Symbol Packages +*.snupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx +*.appxbundle +*.appxupload + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!?*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +#KDevelop +*.kdev4 +.kdev4/* + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm +ServiceFabricBackup/ +*.rptproj.bak + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser +*- [Bb]ackup.rdl +*- [Bb]ackup ([0-9]).rdl +*- [Bb]ackup ([0-9][0-9]).rdl + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# CodeRush personal settings +.cr/personal + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ + +# Azure Stream Analytics local run output +ASALocalRun/ + +# MSBuild Binary and Structured Log +*.binlog + +# NVidia Nsight GPU debugger configuration file +*.nvuser + +# MFractors (Xamarin productivity tool) working folder +.mfractor/ + +# Local History for Visual Studio +.localhistory/ + +# BeatPulse healthcheck temp database +healthchecksdb + +# Backup folder for Package Reference Convert tool in Visual Studio 2017 +MigrationBackup/ diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/CMakeLists.txt" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/CMakeLists.txt" new file mode 100644 index 0000000000000000000000000000000000000000..777c9adbd7991b9add23588a51fdbffe93786afb --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/CMakeLists.txt" @@ -0,0 +1,363 @@ +cmake_minimum_required(VERSION 3.15) + +# +# Project details +# + +project( + "Project" + VERSION 0.1.0 + LANGUAGES CXX +) + +# +# Set project options +# + +include(cmake/StandardSettings.cmake) +include(cmake/StaticAnalyzers.cmake) +include(cmake/Utils.cmake) +if(NOT CMAKE_BUILD_TYPE) + set(CMAKE_BUILD_TYPE "Debug") +endif() +message(STATUS "Started CMake for ${PROJECT_NAME} v${PROJECT_VERSION}...\n") + +if (UNIX) + add_compile_options("$<$:-D_DEBUG>") #this will allow to use same _DEBUG macro available in both Linux as well as Windows - MSCV environment. Easy to put Debug specific code. +endif (UNIX) + + +# +# Setup alternative names +# + +if(${PROJECT_NAME}_USE_ALT_NAMES) + string(TOLOWER ${PROJECT_NAME} PROJECT_NAME_LOWERCASE) + string(TOUPPER ${PROJECT_NAME} PROJECT_NAME_UPPERCASE) +else() + set(PROJECT_NAME_LOWERCASE ${PROJECT_NAME}) + set(PROJECT_NAME_UPPERCASE ${PROJECT_NAME}) +endif() + +# +# Prevent building in the source directory +# + +if(PROJECT_SOURCE_DIR STREQUAL PROJECT_BINARY_DIR) + message(FATAL_ERROR "In-source builds not allowed. Please make a new directory (called a build directory) and run CMake from there.\n") +endif() + +# +# Enable package managers +# + +include(cmake/Conan.cmake) +include(cmake/Vcpkg.cmake) + +# +# Create library, setup header and source files +# + +# Find all headers and implementation files +include(cmake/SourcesAndHeaders.cmake) + +if(${PROJECT_NAME}_BUILD_EXECUTABLE) + add_executable(${PROJECT_NAME} ${exe_sources}) + + if(${PROJECT_NAME}_VERBOSE_OUTPUT) + verbose_message("Found the following sources:") + foreach(source IN LISTS exe_sources) + verbose_message("* ${source}") + endforeach() + endif() + + if(${PROJECT_NAME}_ENABLE_UNIT_TESTING) + add_library(${PROJECT_NAME}_LIB ${headers} ${sources}) + + if(${PROJECT_NAME}_VERBOSE_OUTPUT) + verbose_message("Found the following headers:") + foreach(header IN LISTS headers) + verbose_message("* ${header}") + endforeach() + endif() + endif() +elseif(${PROJECT_NAME}_BUILD_HEADERS_ONLY) + add_library(${PROJECT_NAME} INTERFACE) + + if(${PROJECT_NAME}_VERBOSE_OUTPUT) + verbose_message("Found the following headers:") + foreach(header IN LIST headers) + verbose_message("* ${header}") + endforeach() + endif() +else() + add_library( + ${PROJECT_NAME} + ${headers} + ${sources} + ) + + if(${PROJECT_NAME}_VERBOSE_OUTPUT) + verbose_message("Found the following sources:") + foreach(source IN LISTS sources) + verbose_message("* ${source}") + endforeach() + verbose_message("Found the following headers:") + foreach(header IN LISTS headers) + verbose_message("* ${header}") + endforeach() + endif() +endif() + +set_target_properties( + ${PROJECT_NAME} + PROPERTIES + ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/${CMAKE_BUILD_TYPE}" + LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/${CMAKE_BUILD_TYPE}" + RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/${CMAKE_BUILD_TYPE}" +) +if(${PROJECT_NAME}_BUILD_EXECUTABLE AND ${PROJECT_NAME}_ENABLE_UNIT_TESTING) + set_target_properties( + ${PROJECT_NAME}_LIB + PROPERTIES + ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/${CMAKE_BUILD_TYPE}" + LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/${CMAKE_BUILD_TYPE}" + OUTPUT_NAME ${PROJECT_NAME} + ) +endif() + +message(STATUS "Added all header and implementation files.\n") + +# +# Set the project standard and warnings +# + +if(${PROJECT_NAME}_BUILD_HEADERS_ONLY) + target_compile_features(${PROJECT_NAME} INTERFACE cxx_std_17) +else() + target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_17) + + if(${PROJECT_NAME}_BUILD_EXECUTABLE AND ${PROJECT_NAME}_ENABLE_UNIT_TESTING) + target_compile_features(${PROJECT_NAME}_LIB PUBLIC cxx_std_17) + endif() +endif() +include(cmake/CompilerWarnings.cmake) +set_project_warnings(${PROJECT_NAME}) + +verbose_message("Applied compiler warnings. Using standard ${CMAKE_CXX_STANDARD}.\n") + +# +# Enable Doxygen +# + +include(cmake/Doxygen.cmake) + +# +# Model project dependencies +# + +# Identify and link with the specific "packages" the project uses +#find_package(package_name package_version REQUIRED package_type [other_options]) +#target_link_libraries( +# ${PROJECT_NAME} +# PUBLIC +# dependency1 ... +# PRIVATE +# dependency2 ... +# ${PROJECT_NAME}_PROJECT_OPTIONS +# ${PROJECT_NAME}_PROJECT_WARNINGS +#) +#if(${PROJECT_NAME}_BUILD_EXECUTABLE AND ${PROJECT_NAME}_ENABLE_UNIT_TESTING) +# target_link_libraries( +# ${PROJECT_NAME}_LIB +# PUBLIC +# dependency1 ... +# ) +#endif() + +# For Windows, it is necessary to link with the MultiThreaded library. +# Depending on how the rest of the project's dependencies are linked, it might be necessary +# to change the line to statically link with the library. +# +# This is done as follows: +# +# set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>") +# +# On Linux and Mac this variable is ignored. If any issues rise from it, try commenting it out +# and letting CMake decide how to link with it. +set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>DLL") + +verbose_message("Successfully added all dependencies and linked against them.") + +# +# Set the build/user include directories +# + +# Allow usage of header files in the `src` directory, but only for utilities +if(${PROJECT_NAME}_BUILD_HEADERS_ONLY) + target_include_directories( + ${PROJECT_NAME} + INTERFACE + $ + $ + ) +else() + target_include_directories( + ${PROJECT_NAME} + PUBLIC + $ + $ + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR}/src + ) + if(${PROJECT_NAME}_BUILD_EXECUTABLE AND ${PROJECT_NAME}_ENABLE_UNIT_TESTING) + target_include_directories( + ${PROJECT_NAME}_LIB + PUBLIC + $ + $ + PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR}/src + ) + endif() +endif() + +message(STATUS "Finished setting up include directories.") + +# +# Provide alias to library for +# + +if(${PROJECT_NAME}_BUILD_EXECUTABLE) + add_executable(${PROJECT_NAME}::${PROJECT_NAME} ALIAS ${PROJECT_NAME}) +else() + add_library(${PROJECT_NAME}::${PROJECT_NAME} ALIAS ${PROJECT_NAME}) +endif() + +verbose_message("Project is now aliased as ${PROJECT_NAME}::${PROJECT_NAME}.\n") + +# +# Format the project using the `clang-format` target (i.e: cmake --build build --target clang-format) +# + +add_clang_format_target() + +# +# Install library for easy downstream inclusion +# + +include(GNUInstallDirs) +install( + TARGETS + ${PROJECT_NAME} + EXPORT + ${PROJECT_NAME}Targets + LIBRARY DESTINATION + ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION + ${CMAKE_INSTALL_BINDIR} + ARCHIVE DESTINATION + ${CMAKE_INSTALL_LIBDIR} + INCLUDES DESTINATION + include + PUBLIC_HEADER DESTINATION + include +) + +install( + EXPORT + ${PROJECT_NAME}Targets + FILE + ${PROJECT_NAME}Targets.cmake + NAMESPACE + ${PROJECT_NAME}:: + DESTINATION + ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME} +) + +# +# Add version header +# + +configure_file( + ${CMAKE_CURRENT_LIST_DIR}/cmake/version.hpp.in + include/${PROJECT_NAME_LOWERCASE}/version.hpp + @ONLY +) + +install( + FILES + ${CMAKE_CURRENT_BINARY_DIR}/include/${PROJECT_NAME_LOWERCASE}/version.hpp + DESTINATION + include/${PROJECT_NAME_LOWERCASE} +) + +# +# Install the `include` directory +# + +install( + DIRECTORY + include/${PROJECT_NAME_LOWERCASE} + DESTINATION + include +) + +verbose_message("Install targets successfully built. Install with `cmake --build --target install --config `.") + +# +# Quick `ConfigVersion.cmake` creation +# + +include(CMakePackageConfigHelpers) +write_basic_package_version_file( + ${PROJECT_NAME}ConfigVersion.cmake + VERSION + ${PROJECT_VERSION} + COMPATIBILITY + SameMajorVersion +) + +configure_package_config_file( + ${CMAKE_CURRENT_LIST_DIR}/cmake/${PROJECT_NAME}Config.cmake.in + ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake + INSTALL_DESTINATION + ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME} +) + +install( + FILES + ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake + ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake + DESTINATION + ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME} +) + +# +# Generate export header if specified +# + +if(${PROJECT_NAME}_GENERATE_EXPORT_HEADER) + include(GenerateExportHeader) + generate_export_header(${PROJECT_NAME}) + install( + FILES + ${PROJECT_BINARY_DIR}/${PROJECT_NAME_LOWERCASE}_export.h + DESTINATION + include + ) + + message(STATUS "Generated the export header `${PROJECT_NAME_LOWERCASE}_export.h` and installed it.") +endif() + +message(STATUS "Finished building requirements for installing the package.\n") + +# +# Unit testing setup +# + +if(${PROJECT_NAME}_ENABLE_UNIT_TESTING) + enable_testing() + message(STATUS "Build unit tests for the project. Tests should always be found in the test folder\n") + add_subdirectory(test) +endif() diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/Dockerfile" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/Dockerfile" new file mode 100644 index 0000000000000000000000000000000000000000..44076e54f4314649babe435b9ec0158fb34eb3d5 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/Dockerfile" @@ -0,0 +1,52 @@ +FROM ubuntu:18.04 + +RUN echo "Updating Ubuntu" +RUN apt-get update && apt-get upgrade -y + +RUN echo "Installing dependencies..." +RUN apt install -y \ + ccache \ + clang \ + clang-format \ + clang-tidy \ + cppcheck \ + curl \ + doxygen \ + gcc \ + git \ + graphviz \ + make \ + ninja-build \ + python3 \ + python3-pip \ + tar \ + unzip \ + vim + +RUN echo "Installing dependencies not found in the package repos..." + +RUN apt install -y wget tar build-essential libssl-dev && \ + wget https://github.com/Kitware/CMake/releases/download/v3.15.0/cmake-3.15.0.tar.gz && \ + tar -zxvf cmake-3.15.0.tar.gz && \ + cd cmake-3.15.0 && \ + ./bootstrap && \ + make && \ + make install + +RUN pip3 install conan + +RUN git clone https://github.com/catchorg/Catch2.git && \ + cd Catch2 && \ + cmake -Bbuild -H. -DBUILD_TESTING=OFF && \ + cmake --build build/ --target install + +# Disabled pthread support for GTest due to linking errors +RUN git clone https://github.com/google/googletest.git --branch release-1.10.0 && \ + cd googletest && \ + cmake -Bbuild -Dgtest_disable_pthreads=1 && \ + cmake --build build --config Release && \ + cmake --build build --target install --config Release + +RUN git clone https://github.com/microsoft/vcpkg -b 2020.06 && \ + cd vcpkg && \ + ./bootstrap-vcpkg.sh -disableMetrics -useSystemBinaries diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/LICENSE" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/LICENSE" new file mode 100644 index 0000000000000000000000000000000000000000..471f09f4cfb55e0f1eada17d06022eccead0c747 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/LICENSE" @@ -0,0 +1,25 @@ +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +For more information, please refer to + diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/Makefile" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/Makefile" new file mode 100644 index 0000000000000000000000000000000000000000..d2bdaefdfe4a176a55de809abfbcf76565f9f5e7 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/Makefile" @@ -0,0 +1,63 @@ +.PHONY: install coverage test docs help +.DEFAULT_GOAL := help + +define BROWSER_PYSCRIPT +import os, webbrowser, sys + +try: + from urllib import pathname2url +except: + from urllib.request import pathname2url + +webbrowser.open("file://" + pathname2url(os.path.abspath(sys.argv[1]))) +endef +export BROWSER_PYSCRIPT + +define PRINT_HELP_PYSCRIPT +import re, sys + +for line in sys.stdin: + match = re.match(r'^([a-zA-Z_-]+):.*?## (.*)$$', line) + if match: + target, help = match.groups() + print("%-20s %s" % (target, help)) +endef +export PRINT_HELP_PYSCRIPT + +BROWSER := python -c "$$BROWSER_PYSCRIPT" +INSTALL_LOCATION := ~/.local + +help: + @python -c "$$PRINT_HELP_PYSCRIPT" < $(MAKEFILE_LIST) + +test: ## run tests quickly with ctest + rm -rf build/ + cmake -Bbuild -DCMAKE_INSTALL_PREFIX=$(INSTALL_LOCATION) -Dmodern-cpp-template_ENABLE_UNIT_TESTING=1 -DCMAKE_BUILD_TYPE="Release" + cmake --build build --config Release + cd build/ && ctest -C Release -VV + +coverage: ## check code coverage quickly GCC + rm -rf build/ + cmake -Bbuild -DCMAKE_INSTALL_PREFIX=$(INSTALL_LOCATION) -Dmodern-cpp-template_ENABLE_CODE_COVERAGE=1 + cmake --build build --config Release + cd build/ && ctest -C Release -VV + cd .. && (bash -c "find . -type f -name '*.gcno' -exec gcov -pb {} +" || true) + +docs: ## generate Doxygen HTML documentation, including API docs + rm -rf docs/ + rm -rf build/ + cmake -Bbuild -DCMAKE_INSTALL_PREFIX=$(INSTALL_LOCATION) -DProject_ENABLE_DOXYGEN=1 + cmake --build build --config Release + cmake --build build --target doxygen-docs + $(BROWSER) docs/html/index.html + +install: ## install the package to the `INSTALL_LOCATION` + rm -rf build/ + cmake -Bbuild -DCMAKE_INSTALL_PREFIX=$(INSTALL_LOCATION) + cmake --build build --config Release + cmake --build build --target install --config Release + +format: ## format the project sources + rm -rf build/ + cmake -Bbuild -DCMAKE_INSTALL_PREFIX=$(INSTALL_LOCATION) + cmake --build build --target clang-format diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/.cmake/api/v1/query/client-vscode/query.json" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/.cmake/api/v1/query/client-vscode/query.json" new file mode 100644 index 0000000000000000000000000000000000000000..82bb964246a197c5da6e91c086d5d838917e238a --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/.cmake/api/v1/query/client-vscode/query.json" @@ -0,0 +1 @@ +{"requests":[{"kind":"cache","version":2},{"kind":"codemodel","version":2},{"kind":"toolchains","version":1},{"kind":"cmakeFiles","version":1}]} \ No newline at end of file diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/.cmake/api/v1/reply/directory-test-Debug-451c0598f41488bb20b9.json" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/.cmake/api/v1/reply/directory-test-Debug-451c0598f41488bb20b9.json" new file mode 100644 index 0000000000000000000000000000000000000000..4826a5979342d40b7e6021c373a32176090cf581 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/.cmake/api/v1/reply/directory-test-Debug-451c0598f41488bb20b9.json" @@ -0,0 +1,14 @@ +{ + "backtraceGraph" : + { + "commands" : [], + "files" : [], + "nodes" : [] + }, + "installers" : [], + "paths" : + { + "build" : "test", + "source" : "test" + } +} diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/.cmake/api/v1/reply/toolchains-v1-a98e1878e7c81d9938a1.json" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/.cmake/api/v1/reply/toolchains-v1-a98e1878e7c81d9938a1.json" new file mode 100644 index 0000000000000000000000000000000000000000..94c9f3cf46f9c86528e42d83dc984c9508dc5fae --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/.cmake/api/v1/reply/toolchains-v1-a98e1878e7c81d9938a1.json" @@ -0,0 +1,70 @@ +{ + "kind" : "toolchains", + "toolchains" : + [ + { + "compiler" : + { + "id" : "GNU", + "implicit" : + { + "includeDirectories" : + [ + "/usr/include/c++/13", + "/usr/include/x86_64-linux-gnu/c++/13", + "/usr/include/c++/13/backward", + "/usr/lib/gcc/x86_64-linux-gnu/13/include", + "/usr/local/include", + "/usr/include/x86_64-linux-gnu", + "/usr/include" + ], + "linkDirectories" : + [ + "/usr/lib/gcc/x86_64-linux-gnu/13", + "/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/g++", + "version" : "13.2.0" + }, + "language" : "CXX", + "sourceFileExtensions" : + [ + "C", + "M", + "c++", + "cc", + "cpp", + "cxx", + "m", + "mm", + "mpp", + "CPP", + "ixx", + "cppm", + "ccm", + "cxxm", + "c++m" + ] + } + ], + "version" : + { + "major" : 1, + "minor" : 0 + } +} diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeCache.txt" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeCache.txt" new file mode 100644 index 0000000000000000000000000000000000000000..cc43f2f007f6f1307d3f6961dcef004a9d194153 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeCache.txt" @@ -0,0 +1,516 @@ +# This is the CMakeCache file. +# For build in directory: /home/sujianrong/PCL_code/modern-cpp-template/build +# It was generated by CMake: /usr/bin/cmake +# You can edit this file to change values found and used by cmake. +# If you do not want to change any of the values, simply exit the editor. +# If you do want to change a value, simply edit, save, and exit the editor. +# The syntax for the file is as follows: +# KEY:TYPE=VALUE +# KEY is the name of a variable in the cache. +# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. +# VALUE is the current value for the KEY. + +######################## +# EXTERNAL cache entries +######################## + +//Path to a program. +CCACHE_FOUND:FILEPATH=CCACHE_FOUND-NOTFOUND + +//Path to a program. +CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line + +//Path to a program. +CMAKE_AR:FILEPATH=/usr/bin/ar + +//No help, variable specified on the command line. +CMAKE_BUILD_TYPE:STRING=Debug + +//Enable/Disable color output during build. +CMAKE_COLOR_MAKEFILE:BOOL=ON + +//No help, variable specified on the command line. +CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++ + +//A wrapper around 'ar' adding the appropriate '--plugin' option +// for the GCC compiler +CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-13 + +//A wrapper around 'ranlib' adding the appropriate '--plugin' option +// for the GCC compiler +CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-13 + +//Flags used by the CXX compiler during all build types. +CMAKE_CXX_FLAGS:STRING= + +//Flags used by the CXX compiler during DEBUG builds. +CMAKE_CXX_FLAGS_DEBUG:STRING=-g + +//Flags used by the CXX compiler during MINSIZEREL builds. +CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG + +//Flags used by the CXX compiler during RELEASE builds. +CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG + +//Flags used by the CXX compiler during RELWITHDEBINFO builds. +CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG + +//No help, variable specified on the command line. +CMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc + +//Path to a program. +CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND + +//Flags used by the linker during all build types. +CMAKE_EXE_LINKER_FLAGS:STRING= + +//Flags used by the linker during DEBUG builds. +CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during MINSIZEREL builds. +CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during RELEASE builds. +CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during RELWITHDEBINFO builds. +CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//No help, variable specified on the command line. +CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE + +//Value Computed by CMake. +CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/pkgRedirects + +//User executables (bin) +CMAKE_INSTALL_BINDIR:PATH=bin + +//Read-only architecture-independent data (DATAROOTDIR) +CMAKE_INSTALL_DATADIR:PATH= + +//Read-only architecture-independent data root (share) +CMAKE_INSTALL_DATAROOTDIR:PATH=share + +//Documentation root (DATAROOTDIR/doc/PROJECT_NAME) +CMAKE_INSTALL_DOCDIR:PATH= + +//C header files (include) +CMAKE_INSTALL_INCLUDEDIR:PATH=include + +//Info documentation (DATAROOTDIR/info) +CMAKE_INSTALL_INFODIR:PATH= + +//Object code libraries (lib) +CMAKE_INSTALL_LIBDIR:PATH=lib + +//Program executables (libexec) +CMAKE_INSTALL_LIBEXECDIR:PATH=libexec + +//Locale-dependent data (DATAROOTDIR/locale) +CMAKE_INSTALL_LOCALEDIR:PATH= + +//Modifiable single-machine data (var) +CMAKE_INSTALL_LOCALSTATEDIR:PATH=var + +//Man documentation (DATAROOTDIR/man) +CMAKE_INSTALL_MANDIR:PATH= + +//C header files for non-gcc (/usr/include) +CMAKE_INSTALL_OLDINCLUDEDIR:PATH=/usr/include + +//Install path prefix, prepended onto install directories. +CMAKE_INSTALL_PREFIX:PATH=/usr/local + +//Run-time variable data (LOCALSTATEDIR/run) +CMAKE_INSTALL_RUNSTATEDIR:PATH= + +//System admin executables (sbin) +CMAKE_INSTALL_SBINDIR:PATH=sbin + +//Modifiable architecture-independent data (com) +CMAKE_INSTALL_SHAREDSTATEDIR:PATH=com + +//Read-only single-machine data (etc) +CMAKE_INSTALL_SYSCONFDIR:PATH=etc + +//Path to a program. +CMAKE_LINKER:FILEPATH=/usr/bin/ld + +//Path to a program. +CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake + +//Flags used by the linker during the creation of modules during +// all build types. +CMAKE_MODULE_LINKER_FLAGS:STRING= + +//Flags used by the linker during the creation of modules during +// DEBUG builds. +CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during the creation of modules during +// MINSIZEREL builds. +CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during the creation of modules during +// RELEASE builds. +CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during the creation of modules during +// RELWITHDEBINFO builds. +CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Path to a program. +CMAKE_NM:FILEPATH=/usr/bin/nm + +//Path to a program. +CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy + +//Path to a program. +CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump + +//Value Computed by CMake +CMAKE_PROJECT_DESCRIPTION:STATIC= + +//Value Computed by CMake +CMAKE_PROJECT_HOMEPAGE_URL:STATIC= + +//Value Computed by CMake +CMAKE_PROJECT_NAME:STATIC=Project + +//Value Computed by CMake +CMAKE_PROJECT_VERSION:STATIC=0.1.0 + +//Value Computed by CMake +CMAKE_PROJECT_VERSION_MAJOR:STATIC=0 + +//Value Computed by CMake +CMAKE_PROJECT_VERSION_MINOR:STATIC=1 + +//Value Computed by CMake +CMAKE_PROJECT_VERSION_PATCH:STATIC=0 + +//Value Computed by CMake +CMAKE_PROJECT_VERSION_TWEAK:STATIC= + +//Path to a program. +CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib + +//Path to a program. +CMAKE_READELF:FILEPATH=/usr/bin/readelf + +//Flags used by the linker during the creation of shared libraries +// during all build types. +CMAKE_SHARED_LINKER_FLAGS:STRING= + +//Flags used by the linker during the creation of shared libraries +// during DEBUG builds. +CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during the creation of shared libraries +// during MINSIZEREL builds. +CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during the creation of shared libraries +// during RELEASE builds. +CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during the creation of shared libraries +// during RELWITHDEBINFO builds. +CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//If set, runtime paths are not added when installing shared libraries, +// but are added when building. +CMAKE_SKIP_INSTALL_RPATH:BOOL=NO + +//If set, runtime paths are not added when using shared libraries. +CMAKE_SKIP_RPATH:BOOL=NO + +//Flags used by the linker during the creation of static libraries +// during all build types. +CMAKE_STATIC_LINKER_FLAGS:STRING= + +//Flags used by the linker during the creation of static libraries +// during DEBUG builds. +CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during the creation of static libraries +// during MINSIZEREL builds. +CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during the creation of static libraries +// during RELEASE builds. +CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during the creation of static libraries +// during RELWITHDEBINFO builds. +CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Path to a program. +CMAKE_STRIP:FILEPATH=/usr/bin/strip + +//Path to a program. +CMAKE_TAPI:FILEPATH=CMAKE_TAPI-NOTFOUND + +//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 + +//The directory containing a CMake configuration file for GTest. +GTest_DIR:PATH=/usr/local/lib/cmake/GTest + +//Value Computed by CMake +ProjectTests_BINARY_DIR:STATIC=/home/sujianrong/PCL_code/modern-cpp-template/build/test + +//Value Computed by CMake +ProjectTests_IS_TOP_LEVEL:STATIC=OFF + +//Value Computed by CMake +ProjectTests_SOURCE_DIR:STATIC=/home/sujianrong/PCL_code/modern-cpp-template/test + +//Value Computed by CMake +Project_BINARY_DIR:STATIC=/home/sujianrong/PCL_code/modern-cpp-template/build + +//Build the project as an executable, rather than a library. +Project_BUILD_EXECUTABLE:BOOL=OFF + +//Build the project as a header-only library. +Project_BUILD_HEADERS_ONLY:BOOL=OFF + +//Path to a program. +Project_CLANG_FORMAT_BINARY:FILEPATH=Project_CLANG_FORMAT_BINARY-NOTFOUND + +//Enable Address Sanitize to detect memory error. +Project_ENABLE_ASAN:BOOL=OFF + +//Enable the usage of Ccache, in order to speed up rebuild times. +Project_ENABLE_CCACHE:BOOL=ON + +//Enable static analysis with Clang-Tidy. +Project_ENABLE_CLANG_TIDY:BOOL=OFF + +//Enable code coverage through GCC. +Project_ENABLE_CODE_COVERAGE:BOOL=OFF + +//Enable the Conan package manager for this project. +Project_ENABLE_CONAN:BOOL=OFF + +//Enable static analysis with Cppcheck. +Project_ENABLE_CPPCHECK:BOOL=OFF + +//Enable Doxygen documentation builds of source. +Project_ENABLE_DOXYGEN:BOOL=OFF + +//Enable Interprocedural Optimization, aka Link Time Optimization +// (LTO). +Project_ENABLE_LTO:BOOL=OFF + +//Enable unit tests for the projects (from the `test` subfolder). +Project_ENABLE_UNIT_TESTING:BOOL=ON + +//Enable the Vcpkg package manager for this project. +Project_ENABLE_VCPKG:BOOL=OFF + +//Create a `project_export.h` file containing all exported symbols. +Project_GENERATE_EXPORT_HEADER:BOOL=OFF + +//Value Computed by CMake +Project_IS_TOP_LEVEL:STATIC=ON + +//Value Computed by CMake +Project_SOURCE_DIR:STATIC=/home/sujianrong/PCL_code/modern-cpp-template + +//Use alternative names for the project, such as naming the include +// directory all lowercase. +Project_USE_ALT_NAMES:BOOL=ON + +//Use the Catch2 project for creating unit tests. +Project_USE_CATCH2:BOOL=OFF + +//Use the GoogleMock project for extending the unit tests. +Project_USE_GOOGLE_MOCK:BOOL=OFF + +//Use the GoogleTest project for creating unit tests. +Project_USE_GTEST:BOOL=ON + +//Enable verbose output, allowing for a better understanding of +// each step taken. +Project_VERBOSE_OUTPUT:BOOL=ON + +//Treat compiler warnings as errors. +Project_WARNINGS_AS_ERRORS:BOOL=OFF + + +######################## +# INTERNAL cache entries +######################## + +//ADVANCED property for variable: CMAKE_ADDR2LINE +CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_AR +CMAKE_AR-ADVANCED:INTERNAL=1 +//This is the directory where this CMakeCache.txt was created +CMAKE_CACHEFILE_DIR:INTERNAL=/home/sujianrong/PCL_code/modern-cpp-template/build +//Major version of cmake used to create the current loaded cache +CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 +//Minor version of cmake used to create the current loaded cache +CMAKE_CACHE_MINOR_VERSION:INTERNAL=28 +//Patch version of cmake used to create the current loaded cache +CMAKE_CACHE_PATCH_VERSION:INTERNAL=3 +//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE +CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1 +//Path to CMake executable. +CMAKE_COMMAND:INTERNAL=/usr/bin/cmake +//Path to cpack program executable. +CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack +//Path to ctest program executable. +CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest +//ADVANCED property for variable: CMAKE_CXX_COMPILER +CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR +CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB +CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS +CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG +CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL +CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE +CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO +CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_DLLTOOL +CMAKE_DLLTOOL-ADVANCED:INTERNAL=1 +//Executable file format +CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS +CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG +CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL +CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE +CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//Name of external makefile project generator. +CMAKE_EXTRA_GENERATOR:INTERNAL= +//Name of generator. +CMAKE_GENERATOR:INTERNAL=Unix Makefiles +//Generator instance identifier. +CMAKE_GENERATOR_INSTANCE:INTERNAL= +//Name of generator platform. +CMAKE_GENERATOR_PLATFORM:INTERNAL= +//Name of generator toolset. +CMAKE_GENERATOR_TOOLSET:INTERNAL= +//Test CMAKE_HAVE_LIBC_PTHREAD +CMAKE_HAVE_LIBC_PTHREAD:INTERNAL=1 +//Source directory with the top level CMakeLists.txt file for this +// project +CMAKE_HOME_DIRECTORY:INTERNAL=/home/sujianrong/PCL_code/modern-cpp-template +//ADVANCED property for variable: CMAKE_INSTALL_BINDIR +CMAKE_INSTALL_BINDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_DATADIR +CMAKE_INSTALL_DATADIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_DATAROOTDIR +CMAKE_INSTALL_DATAROOTDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_DOCDIR +CMAKE_INSTALL_DOCDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_INCLUDEDIR +CMAKE_INSTALL_INCLUDEDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_INFODIR +CMAKE_INSTALL_INFODIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_LIBDIR +CMAKE_INSTALL_LIBDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_LIBEXECDIR +CMAKE_INSTALL_LIBEXECDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_LOCALEDIR +CMAKE_INSTALL_LOCALEDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_LOCALSTATEDIR +CMAKE_INSTALL_LOCALSTATEDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_MANDIR +CMAKE_INSTALL_MANDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_OLDINCLUDEDIR +CMAKE_INSTALL_OLDINCLUDEDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_RUNSTATEDIR +CMAKE_INSTALL_RUNSTATEDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_SBINDIR +CMAKE_INSTALL_SBINDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_SHAREDSTATEDIR +CMAKE_INSTALL_SHAREDSTATEDIR-ADVANCED:INTERNAL=1 +//Install .so files without execute permission. +CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_SYSCONFDIR +CMAKE_INSTALL_SYSCONFDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_LINKER +CMAKE_LINKER-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MAKE_PROGRAM +CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS +CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG +CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL +CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE +CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_NM +CMAKE_NM-ADVANCED:INTERNAL=1 +//number of local generators +CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=2 +//ADVANCED property for variable: CMAKE_OBJCOPY +CMAKE_OBJCOPY-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_OBJDUMP +CMAKE_OBJDUMP-ADVANCED:INTERNAL=1 +//Platform information initialized +CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_RANLIB +CMAKE_RANLIB-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_READELF +CMAKE_READELF-ADVANCED:INTERNAL=1 +//Path to CMake installation. +CMAKE_ROOT:INTERNAL=/usr/share/cmake-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_STRIP +CMAKE_STRIP-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_TAPI +CMAKE_TAPI-ADVANCED:INTERNAL=1 +//uname command +CMAKE_UNAME:INTERNAL=/usr/bin/uname +//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE +CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 +//Details about finding GTest +FIND_PACKAGE_MESSAGE_DETAILS_GTest:INTERNAL=[/usr/local/lib/cmake/GTest/GTestConfig.cmake][c ][v1.14.0()] +//linker supports push/pop state +_CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE +//CMAKE_INSTALL_PREFIX during last run +_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=/usr/local + diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/3.28.3/CMakeCXXCompiler.cmake" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/3.28.3/CMakeCXXCompiler.cmake" new file mode 100644 index 0000000000000000000000000000000000000000..0628be2d3170dfc6195ea402eb96213d312d6b9f --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/3.28.3/CMakeCXXCompiler.cmake" @@ -0,0 +1,85 @@ +set(CMAKE_CXX_COMPILER "/usr/bin/g++") +set(CMAKE_CXX_COMPILER_ARG1 "") +set(CMAKE_CXX_COMPILER_ID "GNU") +set(CMAKE_CXX_COMPILER_VERSION "13.2.0") +set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") +set(CMAKE_CXX_COMPILER_WRAPPER "") +set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "17") +set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "ON") +set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20;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 "Linux") +set(CMAKE_CXX_SIMULATE_ID "") +set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "GNU") +set(CMAKE_CXX_SIMULATE_VERSION "") + + + + +set(CMAKE_AR "/usr/bin/ar") +set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar-13") +set(CMAKE_RANLIB "/usr/bin/ranlib") +set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib-13") +set(CMAKE_LINKER "/usr/bin/ld") +set(CMAKE_MT "") +set(CMAKE_TAPI "CMAKE_TAPI-NOTFOUND") +set(CMAKE_COMPILER_IS_GNUCXX 1) +set(CMAKE_CXX_COMPILER_LOADED 1) +set(CMAKE_CXX_COMPILER_WORKS TRUE) +set(CMAKE_CXX_ABI_COMPILED TRUE) + +set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") + +set(CMAKE_CXX_COMPILER_ID_RUN 1) +set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;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 TRUE) + +# Save compiler ABI information. +set(CMAKE_CXX_SIZEOF_DATA_PTR "8") +set(CMAKE_CXX_COMPILER_ABI "ELF") +set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN") +set(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu") + +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 "x86_64-linux-gnu") +endif() + +set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "") +if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) + set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") +endif() + + + + + +set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/usr/include/c++/13;/usr/include/x86_64-linux-gnu/c++/13;/usr/include/c++/13/backward;/usr/lib/gcc/x86_64-linux-gnu/13/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include") +set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc") +set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/13;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib") +set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/3.28.3/CMakeDetermineCompilerABI_CXX.bin" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/3.28.3/CMakeDetermineCompilerABI_CXX.bin" new file mode 100644 index 0000000000000000000000000000000000000000..3fdc4082b34ce180ff2c6b532c20fcf8cf585743 Binary files /dev/null and "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/3.28.3/CMakeDetermineCompilerABI_CXX.bin" differ diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/3.28.3/CMakeSystem.cmake" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/3.28.3/CMakeSystem.cmake" new file mode 100644 index 0000000000000000000000000000000000000000..2d69ba76ce0f24d8d332828a26285a8055557e73 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/3.28.3/CMakeSystem.cmake" @@ -0,0 +1,15 @@ +set(CMAKE_HOST_SYSTEM "Linux-6.8.0-38-generic") +set(CMAKE_HOST_SYSTEM_NAME "Linux") +set(CMAKE_HOST_SYSTEM_VERSION "6.8.0-38-generic") +set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") + + + +set(CMAKE_SYSTEM "Linux-6.8.0-38-generic") +set(CMAKE_SYSTEM_NAME "Linux") +set(CMAKE_SYSTEM_VERSION "6.8.0-38-generic") +set(CMAKE_SYSTEM_PROCESSOR "x86_64") + +set(CMAKE_CROSSCOMPILING "FALSE") + +set(CMAKE_SYSTEM_LOADED 1) diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/3.28.3/CompilerIdCXX/CMakeCXXCompilerId.cpp" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/3.28.3/CompilerIdCXX/CMakeCXXCompilerId.cpp" new file mode 100644 index 0000000000000000000000000000000000000000..9c9c90eaffe6bb0799f322938350b76c08c676dc --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/3.28.3/CompilerIdCXX/CMakeCXXCompilerId.cpp" @@ -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; +} diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/CMakeConfigureLog.yaml" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/CMakeConfigureLog.yaml" new file mode 100644 index 0000000000000000000000000000000000000000..966ce1d7027d71aa6e64b6a93ab2839a4992d6af --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/CMakeConfigureLog.yaml" @@ -0,0 +1,312 @@ + +--- +events: + - + kind: "message-v1" + backtrace: + - "/usr/share/cmake-3.28/Modules/CMakeDetermineSystem.cmake:233 (message)" + - "CMakeLists.txt:7 (project)" + message: | + The system is: Linux - 6.8.0-38-generic - x86_64 + - + kind: "message-v1" + backtrace: + - "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "/usr/share/cmake-3.28/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" + - "CMakeLists.txt:7 (project)" + message: | + Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. + Compiler: /usr/bin/g++ + Build flags: + Id flags: + + The output was: + 0 + + + Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out" + + The CXX compiler identification is GNU, found in: + /home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/3.28.3/CompilerIdCXX/a.out + + - + kind: "try_compile-v1" + backtrace: + - "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)" + - "/usr/share/cmake-3.28/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)" + - "CMakeLists.txt:7 (project)" + checks: + - "Detecting CXX compiler ABI info" + directories: + source: "/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/CMakeScratch/TryCompile-DDQkPf" + binary: "/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/CMakeScratch/TryCompile-DDQkPf" + cmakeVariables: + CMAKE_CXX_FLAGS: "" + CMAKE_CXX_FLAGS_DEBUG: "-g" + CMAKE_EXE_LINKER_FLAGS: "" + buildResult: + variable: "CMAKE_CXX_ABI_COMPILED" + cached: true + stdout: | + Change Dir: '/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/CMakeScratch/TryCompile-DDQkPf' + + Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_65466/fast + /usr/bin/gmake -f CMakeFiles/cmTC_65466.dir/build.make CMakeFiles/cmTC_65466.dir/build + gmake[1]: Entering directory '/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/CMakeScratch/TryCompile-DDQkPf' + Building CXX object CMakeFiles/cmTC_65466.dir/CMakeCXXCompilerABI.cpp.o + /usr/bin/g++ -v -o CMakeFiles/cmTC_65466.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp + Using built-in specs. + COLLECT_GCC=/usr/bin/g++ + OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa + OFFLOAD_TARGET_DEFAULT=1 + Target: x86_64-linux-gnu + Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.2.0-23ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-uJ7kn6/gcc-13-13.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-uJ7kn6/gcc-13-13.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu + Thread model: posix + Supported LTO compression algorithms: zlib zstd + gcc version 13.2.0 (Ubuntu 13.2.0-23ubuntu4) + COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_65466.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_65466.dir/' + /usr/libexec/gcc/x86_64-linux-gnu/13/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_65466.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccHAdEvP.s + GNU C++17 (Ubuntu 13.2.0-23ubuntu4) version 13.2.0 (x86_64-linux-gnu) + compiled by GNU C version 13.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.26-GMP + + GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 + ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/13" + ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu" + ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/include-fixed/x86_64-linux-gnu" + ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/include-fixed" + ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/include" + #include "..." search starts here: + #include <...> search starts here: + /usr/include/c++/13 + /usr/include/x86_64-linux-gnu/c++/13 + /usr/include/c++/13/backward + /usr/lib/gcc/x86_64-linux-gnu/13/include + /usr/local/include + /usr/include/x86_64-linux-gnu + /usr/include + End of search list. + Compiler executable checksum: 4e0f319cd9945d8f5a9eeeeec1481ba5 + COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_65466.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_65466.dir/' + as -v --64 -o CMakeFiles/cmTC_65466.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccHAdEvP.s + GNU assembler version 2.42 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.42 + COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/ + LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/ + COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_65466.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_65466.dir/CMakeCXXCompilerABI.cpp.' + Linking CXX executable cmTC_65466 + /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_65466.dir/link.txt --verbose=1 + /usr/bin/g++ -v CMakeFiles/cmTC_65466.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_65466 + Using built-in specs. + COLLECT_GCC=/usr/bin/g++ + COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper + OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa + OFFLOAD_TARGET_DEFAULT=1 + Target: x86_64-linux-gnu + Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.2.0-23ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-uJ7kn6/gcc-13-13.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-uJ7kn6/gcc-13-13.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu + Thread model: posix + Supported LTO compression algorithms: zlib zstd + gcc version 13.2.0 (Ubuntu 13.2.0-23ubuntu4) + COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/ + LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/ + COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_65466' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_65466.' + /usr/libexec/gcc/x86_64-linux-gnu/13/collect2 -plugin /usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccwePTzV.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_65466 /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. CMakeFiles/cmTC_65466.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o + COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_65466' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_65466.' + gmake[1]: Leaving directory '/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/CMakeScratch/TryCompile-DDQkPf' + + exitCode: 0 + - + kind: "message-v1" + backtrace: + - "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerABI.cmake:127 (message)" + - "/usr/share/cmake-3.28/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)" + - "CMakeLists.txt:7 (project)" + message: | + Parsed CXX implicit include dir info: rv=done + found start of include info + found start of implicit include info + add: [/usr/include/c++/13] + add: [/usr/include/x86_64-linux-gnu/c++/13] + add: [/usr/include/c++/13/backward] + add: [/usr/lib/gcc/x86_64-linux-gnu/13/include] + add: [/usr/local/include] + add: [/usr/include/x86_64-linux-gnu] + add: [/usr/include] + end of search list found + collapse include dir [/usr/include/c++/13] ==> [/usr/include/c++/13] + collapse include dir [/usr/include/x86_64-linux-gnu/c++/13] ==> [/usr/include/x86_64-linux-gnu/c++/13] + collapse include dir [/usr/include/c++/13/backward] ==> [/usr/include/c++/13/backward] + collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/13/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/13/include] + collapse include dir [/usr/local/include] ==> [/usr/local/include] + collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu] + collapse include dir [/usr/include] ==> [/usr/include] + implicit include dirs: [/usr/include/c++/13;/usr/include/x86_64-linux-gnu/c++/13;/usr/include/c++/13/backward;/usr/lib/gcc/x86_64-linux-gnu/13/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include] + + + - + kind: "message-v1" + backtrace: + - "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerABI.cmake:159 (message)" + - "/usr/share/cmake-3.28/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)" + - "CMakeLists.txt:7 (project)" + message: | + Parsed CXX implicit link information: + link line regex: [^( *|.*[/\\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)] + ignore line: [Change Dir: '/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/CMakeScratch/TryCompile-DDQkPf'] + ignore line: [] + ignore line: [Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_65466/fast] + ignore line: [/usr/bin/gmake -f CMakeFiles/cmTC_65466.dir/build.make CMakeFiles/cmTC_65466.dir/build] + ignore line: [gmake[1]: Entering directory '/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/CMakeScratch/TryCompile-DDQkPf'] + ignore line: [Building CXX object CMakeFiles/cmTC_65466.dir/CMakeCXXCompilerABI.cpp.o] + ignore line: [/usr/bin/g++ -v -o CMakeFiles/cmTC_65466.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/g++] + ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa] + ignore line: [OFFLOAD_TARGET_DEFAULT=1] + ignore line: [Target: x86_64-linux-gnu] + ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.2.0-23ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c ada c++ go d fortran objc obj-c++ m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-uJ7kn6/gcc-13-13.2.0/debian/tmp-nvptx/usr amdgcn-amdhsa=/build/gcc-13-uJ7kn6/gcc-13-13.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu] + ignore line: [Thread model: posix] + ignore line: [Supported LTO compression algorithms: zlib zstd] + ignore line: [gcc version 13.2.0 (Ubuntu 13.2.0-23ubuntu4) ] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_65466.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_65466.dir/'] + ignore line: [ /usr/libexec/gcc/x86_64-linux-gnu/13/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_65466.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccHAdEvP.s] + ignore line: [GNU C++17 (Ubuntu 13.2.0-23ubuntu4) version 13.2.0 (x86_64-linux-gnu)] + ignore line: [ compiled by GNU C version 13.2.0 GMP version 6.3.0 MPFR version 4.2.1 MPC version 1.3.1 isl version isl-0.26-GMP] + ignore line: [] + ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] + ignore line: [ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/13"] + ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"] + ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/include-fixed/x86_64-linux-gnu"] + ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/include-fixed"] + ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/include"] + ignore line: [#include "..." search starts here:] + ignore line: [#include <...> search starts here:] + ignore line: [ /usr/include/c++/13] + ignore line: [ /usr/include/x86_64-linux-gnu/c++/13] + ignore line: [ /usr/include/c++/13/backward] + ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/13/include] + ignore line: [ /usr/local/include] + ignore line: [ /usr/include/x86_64-linux-gnu] + ignore line: [ /usr/include] + ignore line: [End of search list.] + ignore line: [Compiler executable checksum: 4e0f319cd9945d8f5a9eeeeec1481ba5] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_65466.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_65466.dir/'] + ignore line: [ as -v --64 -o CMakeFiles/cmTC_65466.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccHAdEvP.s] + ignore line: [GNU assembler version 2.42 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.42] + ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/] + ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_65466.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_65466.dir/CMakeCXXCompilerABI.cpp.'] + ignore line: [Linking CXX executable cmTC_65466] + ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_65466.dir/link.txt --verbose=1] + ignore line: [/usr/bin/g++ -v CMakeFiles/cmTC_65466.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_65466 ] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/g++] + ignore line: [COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper] + ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa] + ignore line: [OFFLOAD_TARGET_DEFAULT=1] + ignore line: [Target: x86_64-linux-gnu] + ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.2.0-23ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c ada c++ go d fortran objc obj-c++ m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-uJ7kn6/gcc-13-13.2.0/debian/tmp-nvptx/usr amdgcn-amdhsa=/build/gcc-13-uJ7kn6/gcc-13-13.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu] + ignore line: [Thread model: posix] + ignore line: [Supported LTO compression algorithms: zlib zstd] + ignore line: [gcc version 13.2.0 (Ubuntu 13.2.0-23ubuntu4) ] + ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/] + ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_65466' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_65466.'] + link line: [ /usr/libexec/gcc/x86_64-linux-gnu/13/collect2 -plugin /usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccwePTzV.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_65466 /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. CMakeFiles/cmTC_65466.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o] + arg [/usr/libexec/gcc/x86_64-linux-gnu/13/collect2] ==> ignore + arg [-plugin] ==> ignore + arg [/usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so] ==> ignore + arg [-plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper] ==> ignore + arg [-plugin-opt=-fresolution=/tmp/ccwePTzV.res] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc] ==> ignore + arg [-plugin-opt=-pass-through=-lc] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc] ==> ignore + arg [--build-id] ==> ignore + arg [--eh-frame-hdr] ==> ignore + arg [-m] ==> ignore + arg [elf_x86_64] ==> ignore + arg [--hash-style=gnu] ==> ignore + arg [--as-needed] ==> ignore + arg [-dynamic-linker] ==> ignore + arg [/lib64/ld-linux-x86-64.so.2] ==> ignore + arg [-pie] ==> ignore + arg [-znow] ==> ignore + arg [-zrelro] ==> ignore + arg [-o] ==> ignore + arg [cmTC_65466] ==> ignore + arg [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o] + arg [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o] + arg [/usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o] + arg [-L/usr/lib/gcc/x86_64-linux-gnu/13] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/13] + arg [-L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu] + arg [-L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib] + arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu] + arg [-L/lib/../lib] ==> dir [/lib/../lib] + arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu] + arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] + arg [-L/usr/lib/gcc/x86_64-linux-gnu/13/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../..] + arg [CMakeFiles/cmTC_65466.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore + arg [-lstdc++] ==> lib [stdc++] + arg [-lm] ==> lib [m] + arg [-lgcc_s] ==> lib [gcc_s] + arg [-lgcc] ==> lib [gcc] + arg [-lc] ==> lib [c] + arg [-lgcc_s] ==> lib [gcc_s] + arg [-lgcc] ==> lib [gcc] + arg [/usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o] + arg [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o] + collapse obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o] ==> [/usr/lib/x86_64-linux-gnu/Scrt1.o] + collapse obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o] ==> [/usr/lib/x86_64-linux-gnu/crti.o] + collapse obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o] ==> [/usr/lib/x86_64-linux-gnu/crtn.o] + collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/13] ==> [/usr/lib/gcc/x86_64-linux-gnu/13] + collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu] + collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib] ==> [/usr/lib] + collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu] + collapse library dir [/lib/../lib] ==> [/lib] + collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu] + collapse library dir [/usr/lib/../lib] ==> [/usr/lib] + collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../..] ==> [/usr/lib] + implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc] + implicit objs: [/usr/lib/x86_64-linux-gnu/Scrt1.o;/usr/lib/x86_64-linux-gnu/crti.o;/usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o;/usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o;/usr/lib/x86_64-linux-gnu/crtn.o] + implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/13;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib] + implicit fwks: [] + + + - + kind: "try_compile-v1" + backtrace: + - "/usr/share/cmake-3.28/Modules/Internal/CheckSourceCompiles.cmake:101 (try_compile)" + - "/usr/share/cmake-3.28/Modules/CheckCXXSourceCompiles.cmake:52 (cmake_check_source_compiles)" + - "/usr/share/cmake-3.28/Modules/FindThreads.cmake:99 (CHECK_CXX_SOURCE_COMPILES)" + - "/usr/share/cmake-3.28/Modules/FindThreads.cmake:163 (_threads_check_libc)" + - "/usr/share/cmake-3.28/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)" + - "/usr/local/lib/cmake/GTest/GTestConfig.cmake:29 (find_dependency)" + - "/usr/share/cmake-3.28/Modules/FindGTest.cmake:194 (find_package)" + - "test/CMakeLists.txt:46 (find_package)" + directories: + source: "/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/CMakeScratch/TryCompile-IqeKq3" + binary: "/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/CMakeScratch/TryCompile-IqeKq3" + cmakeVariables: + CMAKE_CXX_FLAGS: "" + CMAKE_CXX_FLAGS_DEBUG: "-g" + CMAKE_EXE_LINKER_FLAGS: "" + CMAKE_MSVC_RUNTIME_LIBRARY: "MultiThreaded$<$:Debug>DLL" + buildResult: + variable: "CMAKE_HAVE_LIBC_PTHREAD" + cached: true + stdout: | + Change Dir: '/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/CMakeScratch/TryCompile-IqeKq3' + + Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_fd3eb/fast + /usr/bin/gmake -f CMakeFiles/cmTC_fd3eb.dir/build.make CMakeFiles/cmTC_fd3eb.dir/build + gmake[1]: 进入目录“/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/CMakeScratch/TryCompile-IqeKq3” + Building CXX object CMakeFiles/cmTC_fd3eb.dir/src.cxx.o + /usr/bin/g++ -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_fd3eb.dir/src.cxx.o -c /home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/CMakeScratch/TryCompile-IqeKq3/src.cxx + Linking CXX executable cmTC_fd3eb + /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fd3eb.dir/link.txt --verbose=1 + /usr/bin/g++ CMakeFiles/cmTC_fd3eb.dir/src.cxx.o -o cmTC_fd3eb + gmake[1]: 离开目录“/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/CMakeScratch/TryCompile-IqeKq3” + + exitCode: 0 +... diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/CMakeDirectoryInformation.cmake" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/CMakeDirectoryInformation.cmake" new file mode 100644 index 0000000000000000000000000000000000000000..f1bb4079e99556f723c68a8817307d01544bbc3d --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/CMakeDirectoryInformation.cmake" @@ -0,0 +1,16 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.28 + +# Relative path conversion top directories. +set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/sujianrong/PCL_code/modern-cpp-template") +set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/sujianrong/PCL_code/modern-cpp-template/build") + +# Force unix paths in dependencies. +set(CMAKE_FORCE_UNIX_PATHS 1) + + +# The C and CXX include file regular expressions for this directory. +set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") +set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") +set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) +set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/Makefile.cmake" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/Makefile.cmake" new file mode 100644 index 0000000000000000000000000000000000000000..53759380f59382e1530a8edab50baa08ba27449c --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/Makefile.cmake" @@ -0,0 +1,78 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.28 + +# The generator used is: +set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles") + +# The top level Makefile was generated from the following files: +set(CMAKE_MAKEFILE_DEPENDS + "CMakeCache.txt" + "/home/sujianrong/PCL_code/modern-cpp-template/CMakeLists.txt" + "CMakeFiles/3.28.3/CMakeCXXCompiler.cmake" + "CMakeFiles/3.28.3/CMakeSystem.cmake" + "/home/sujianrong/PCL_code/modern-cpp-template/cmake/CompilerWarnings.cmake" + "/home/sujianrong/PCL_code/modern-cpp-template/cmake/Conan.cmake" + "/home/sujianrong/PCL_code/modern-cpp-template/cmake/Doxygen.cmake" + "/home/sujianrong/PCL_code/modern-cpp-template/cmake/ProjectConfig.cmake.in" + "/home/sujianrong/PCL_code/modern-cpp-template/cmake/SourcesAndHeaders.cmake" + "/home/sujianrong/PCL_code/modern-cpp-template/cmake/StandardSettings.cmake" + "/home/sujianrong/PCL_code/modern-cpp-template/cmake/StaticAnalyzers.cmake" + "/home/sujianrong/PCL_code/modern-cpp-template/cmake/Utils.cmake" + "/home/sujianrong/PCL_code/modern-cpp-template/cmake/Vcpkg.cmake" + "/home/sujianrong/PCL_code/modern-cpp-template/cmake/version.hpp.in" + "/home/sujianrong/PCL_code/modern-cpp-template/test/CMakeLists.txt" + "/usr/local/lib/cmake/GTest/GTestConfig.cmake" + "/usr/local/lib/cmake/GTest/GTestConfigVersion.cmake" + "/usr/local/lib/cmake/GTest/GTestTargets-noconfig.cmake" + "/usr/local/lib/cmake/GTest/GTestTargets.cmake" + "/usr/share/cmake-3.28/Modules/BasicConfigVersion-SameMajorVersion.cmake.in" + "/usr/share/cmake-3.28/Modules/CMakeCXXInformation.cmake" + "/usr/share/cmake-3.28/Modules/CMakeCommonLanguageInclude.cmake" + "/usr/share/cmake-3.28/Modules/CMakeFindDependencyMacro.cmake" + "/usr/share/cmake-3.28/Modules/CMakeGenericSystem.cmake" + "/usr/share/cmake-3.28/Modules/CMakeInitializeConfigs.cmake" + "/usr/share/cmake-3.28/Modules/CMakeLanguageInformation.cmake" + "/usr/share/cmake-3.28/Modules/CMakePackageConfigHelpers.cmake" + "/usr/share/cmake-3.28/Modules/CMakeSystemSpecificInformation.cmake" + "/usr/share/cmake-3.28/Modules/CMakeSystemSpecificInitialize.cmake" + "/usr/share/cmake-3.28/Modules/CheckCXXSourceCompiles.cmake" + "/usr/share/cmake-3.28/Modules/CheckIncludeFileCXX.cmake" + "/usr/share/cmake-3.28/Modules/CheckLibraryExists.cmake" + "/usr/share/cmake-3.28/Modules/Compiler/CMakeCommonCompilerMacros.cmake" + "/usr/share/cmake-3.28/Modules/Compiler/GNU-CXX.cmake" + "/usr/share/cmake-3.28/Modules/Compiler/GNU.cmake" + "/usr/share/cmake-3.28/Modules/FindGTest.cmake" + "/usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake" + "/usr/share/cmake-3.28/Modules/FindPackageMessage.cmake" + "/usr/share/cmake-3.28/Modules/FindThreads.cmake" + "/usr/share/cmake-3.28/Modules/GNUInstallDirs.cmake" + "/usr/share/cmake-3.28/Modules/GoogleTest.cmake" + "/usr/share/cmake-3.28/Modules/Internal/CheckSourceCompiles.cmake" + "/usr/share/cmake-3.28/Modules/Platform/Linux-GNU-CXX.cmake" + "/usr/share/cmake-3.28/Modules/Platform/Linux-GNU.cmake" + "/usr/share/cmake-3.28/Modules/Platform/Linux-Initialize.cmake" + "/usr/share/cmake-3.28/Modules/Platform/Linux.cmake" + "/usr/share/cmake-3.28/Modules/Platform/UnixPaths.cmake" + "/usr/share/cmake-3.28/Modules/WriteBasicConfigVersionFile.cmake" + ) + +# The corresponding makefile is: +set(CMAKE_MAKEFILE_OUTPUTS + "Makefile" + "CMakeFiles/cmake.check_cache" + ) + +# Byproducts of CMake generate step: +set(CMAKE_MAKEFILE_PRODUCTS + "include/project/version.hpp" + "ProjectConfigVersion.cmake" + "ProjectConfig.cmake" + "CMakeFiles/CMakeDirectoryInformation.cmake" + "test/CMakeFiles/CMakeDirectoryInformation.cmake" + ) + +# Dependency information for all targets: +set(CMAKE_DEPEND_INFO_FILES + "CMakeFiles/Project.dir/DependInfo.cmake" + "test/CMakeFiles/tmp_test_Tests.dir/DependInfo.cmake" + ) diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/Makefile2" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/Makefile2" new file mode 100644 index 0000000000000000000000000000000000000000..4e3591a7e0179d5837588498940a7aea040072c3 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/Makefile2" @@ -0,0 +1,155 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.28 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Disable VCS-based implicit rules. +% : %,v + +# Disable VCS-based implicit rules. +% : RCS/% + +# Disable VCS-based implicit rules. +% : RCS/%,v + +# Disable VCS-based implicit rules. +% : SCCS/s.% + +# Disable VCS-based implicit rules. +% : s.% + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Command-line flag to silence nested $(MAKE). +$(VERBOSE)MAKESILENT = -s + +#Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E rm -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /home/sujianrong/PCL_code/modern-cpp-template + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /home/sujianrong/PCL_code/modern-cpp-template/build + +#============================================================================= +# Directory level rules for the build root directory + +# The main recursive "all" target. +all: CMakeFiles/Project.dir/all +all: test/all +.PHONY : all + +# The main recursive "preinstall" target. +preinstall: test/preinstall +.PHONY : preinstall + +# The main recursive "clean" target. +clean: CMakeFiles/Project.dir/clean +clean: test/clean +.PHONY : clean + +#============================================================================= +# Directory level rules for directory test + +# Recursive "all" directory target. +test/all: test/CMakeFiles/tmp_test_Tests.dir/all +.PHONY : test/all + +# Recursive "preinstall" directory target. +test/preinstall: +.PHONY : test/preinstall + +# Recursive "clean" directory target. +test/clean: test/CMakeFiles/tmp_test_Tests.dir/clean +.PHONY : test/clean + +#============================================================================= +# Target rules for target CMakeFiles/Project.dir + +# All Build rule for target. +CMakeFiles/Project.dir/all: + $(MAKE) $(MAKESILENT) -f CMakeFiles/Project.dir/build.make CMakeFiles/Project.dir/depend + $(MAKE) $(MAKESILENT) -f CMakeFiles/Project.dir/build.make CMakeFiles/Project.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles --progress-num=1,2,3,4 "Built target Project" +.PHONY : CMakeFiles/Project.dir/all + +# Build rule for subdir invocation for target. +CMakeFiles/Project.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles 4 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/Project.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles 0 +.PHONY : CMakeFiles/Project.dir/rule + +# Convenience name for target. +Project: CMakeFiles/Project.dir/rule +.PHONY : Project + +# clean rule for target. +CMakeFiles/Project.dir/clean: + $(MAKE) $(MAKESILENT) -f CMakeFiles/Project.dir/build.make CMakeFiles/Project.dir/clean +.PHONY : CMakeFiles/Project.dir/clean + +#============================================================================= +# Target rules for target test/CMakeFiles/tmp_test_Tests.dir + +# All Build rule for target. +test/CMakeFiles/tmp_test_Tests.dir/all: CMakeFiles/Project.dir/all + $(MAKE) $(MAKESILENT) -f test/CMakeFiles/tmp_test_Tests.dir/build.make test/CMakeFiles/tmp_test_Tests.dir/depend + $(MAKE) $(MAKESILENT) -f test/CMakeFiles/tmp_test_Tests.dir/build.make test/CMakeFiles/tmp_test_Tests.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles --progress-num=5,6 "Built target tmp_test_Tests" +.PHONY : test/CMakeFiles/tmp_test_Tests.dir/all + +# Build rule for subdir invocation for target. +test/CMakeFiles/tmp_test_Tests.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles 6 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 test/CMakeFiles/tmp_test_Tests.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles 0 +.PHONY : test/CMakeFiles/tmp_test_Tests.dir/rule + +# Convenience name for target. +tmp_test_Tests: test/CMakeFiles/tmp_test_Tests.dir/rule +.PHONY : tmp_test_Tests + +# clean rule for target. +test/CMakeFiles/tmp_test_Tests.dir/clean: + $(MAKE) $(MAKESILENT) -f test/CMakeFiles/tmp_test_Tests.dir/build.make test/CMakeFiles/tmp_test_Tests.dir/clean +.PHONY : test/CMakeFiles/tmp_test_Tests.dir/clean + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/TargetDirectories.txt" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/TargetDirectories.txt" new file mode 100644 index 0000000000000000000000000000000000000000..3fdd46d4e42d0d710e0a25df008d3419dad50100 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/TargetDirectories.txt" @@ -0,0 +1,16 @@ +/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/Project.dir +/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/test.dir +/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/edit_cache.dir +/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/rebuild_cache.dir +/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/list_install_components.dir +/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/install.dir +/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/install/local.dir +/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/install/strip.dir +/home/sujianrong/PCL_code/modern-cpp-template/build/test/CMakeFiles/tmp_test_Tests.dir +/home/sujianrong/PCL_code/modern-cpp-template/build/test/CMakeFiles/test.dir +/home/sujianrong/PCL_code/modern-cpp-template/build/test/CMakeFiles/edit_cache.dir +/home/sujianrong/PCL_code/modern-cpp-template/build/test/CMakeFiles/rebuild_cache.dir +/home/sujianrong/PCL_code/modern-cpp-template/build/test/CMakeFiles/list_install_components.dir +/home/sujianrong/PCL_code/modern-cpp-template/build/test/CMakeFiles/install.dir +/home/sujianrong/PCL_code/modern-cpp-template/build/test/CMakeFiles/install/local.dir +/home/sujianrong/PCL_code/modern-cpp-template/build/test/CMakeFiles/install/strip.dir diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/cmake.check_cache" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/cmake.check_cache" new file mode 100644 index 0000000000000000000000000000000000000000..3dccd731726d7faa8b29d8d7dba3b981a53ca497 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/cmake.check_cache" @@ -0,0 +1 @@ +# This file is generated by cmake for dependency checking of the CMakeCache.txt file diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/progress.marks" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/progress.marks" new file mode 100644 index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CMakeFiles/progress.marks" @@ -0,0 +1 @@ +6 diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CTestTestfile.cmake" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CTestTestfile.cmake" new file mode 100644 index 0000000000000000000000000000000000000000..bfde4fc1d8c974698b4805c70fb3ad5a068985bd --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/CTestTestfile.cmake" @@ -0,0 +1,7 @@ +# CMake generated Testfile for +# Source directory: /home/sujianrong/PCL_code/modern-cpp-template +# Build directory: /home/sujianrong/PCL_code/modern-cpp-template/build +# +# This file includes the relevant testing commands required for +# testing this directory and lists subdirectories to be tested as well. +subdirs("test") diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/Makefile" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/Makefile" new file mode 100644 index 0000000000000000000000000000000000000000..ee1882f7887e25287594458ab40315d1ea1da968 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/Makefile" @@ -0,0 +1,309 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.28 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +# Allow only one "make -f Makefile2" at a time, but pass parallelism. +.NOTPARALLEL: + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Disable VCS-based implicit rules. +% : %,v + +# Disable VCS-based implicit rules. +% : RCS/% + +# Disable VCS-based implicit rules. +% : RCS/%,v + +# Disable VCS-based implicit rules. +% : SCCS/s.% + +# Disable VCS-based implicit rules. +% : s.% + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Command-line flag to silence nested $(MAKE). +$(VERBOSE)MAKESILENT = -s + +#Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E rm -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /home/sujianrong/PCL_code/modern-cpp-template + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /home/sujianrong/PCL_code/modern-cpp-template/build + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target test +test: + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running tests..." + /usr/bin/ctest --force-new-ctest-process $(ARGS) +.PHONY : test + +# Special rule for the target test +test/fast: test +.PHONY : test/fast + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "No interactive CMake dialog available..." + /usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available. +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake to regenerate build system..." + /usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Install the project..." + /usr/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Install the project..." + /usr/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing only the local directory..." + /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing only the local directory..." + /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing the project stripped..." + /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing the project stripped..." + /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip/fast + +# The main all target +all: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles /home/sujianrong/PCL_code/modern-cpp-template/build//CMakeFiles/progress.marks + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all + $(CMAKE_COMMAND) -E cmake_progress_start /home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +#============================================================================= +# Target rules for targets named Project + +# Build rule for target. +Project: cmake_check_build_system + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 Project +.PHONY : Project + +# fast build rule for target. +Project/fast: + $(MAKE) $(MAKESILENT) -f CMakeFiles/Project.dir/build.make CMakeFiles/Project.dir/build +.PHONY : Project/fast + +#============================================================================= +# Target rules for targets named tmp_test_Tests + +# Build rule for target. +tmp_test_Tests: cmake_check_build_system + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 tmp_test_Tests +.PHONY : tmp_test_Tests + +# fast build rule for target. +tmp_test_Tests/fast: + $(MAKE) $(MAKESILENT) -f test/CMakeFiles/tmp_test_Tests.dir/build.make test/CMakeFiles/tmp_test_Tests.dir/build +.PHONY : tmp_test_Tests/fast + +src/AStar.o: src/AStar.cpp.o +.PHONY : src/AStar.o + +# target to build an object file +src/AStar.cpp.o: + $(MAKE) $(MAKESILENT) -f CMakeFiles/Project.dir/build.make CMakeFiles/Project.dir/src/AStar.cpp.o +.PHONY : src/AStar.cpp.o + +src/AStar.i: src/AStar.cpp.i +.PHONY : src/AStar.i + +# target to preprocess a source file +src/AStar.cpp.i: + $(MAKE) $(MAKESILENT) -f CMakeFiles/Project.dir/build.make CMakeFiles/Project.dir/src/AStar.cpp.i +.PHONY : src/AStar.cpp.i + +src/AStar.s: src/AStar.cpp.s +.PHONY : src/AStar.s + +# target to generate assembly for a file +src/AStar.cpp.s: + $(MAKE) $(MAKESILENT) -f CMakeFiles/Project.dir/build.make CMakeFiles/Project.dir/src/AStar.cpp.s +.PHONY : src/AStar.cpp.s + +src/Map.o: src/Map.cpp.o +.PHONY : src/Map.o + +# target to build an object file +src/Map.cpp.o: + $(MAKE) $(MAKESILENT) -f CMakeFiles/Project.dir/build.make CMakeFiles/Project.dir/src/Map.cpp.o +.PHONY : src/Map.cpp.o + +src/Map.i: src/Map.cpp.i +.PHONY : src/Map.i + +# target to preprocess a source file +src/Map.cpp.i: + $(MAKE) $(MAKESILENT) -f CMakeFiles/Project.dir/build.make CMakeFiles/Project.dir/src/Map.cpp.i +.PHONY : src/Map.cpp.i + +src/Map.s: src/Map.cpp.s +.PHONY : src/Map.s + +# target to generate assembly for a file +src/Map.cpp.s: + $(MAKE) $(MAKESILENT) -f CMakeFiles/Project.dir/build.make CMakeFiles/Project.dir/src/Map.cpp.s +.PHONY : src/Map.cpp.s + +src/Node.o: src/Node.cpp.o +.PHONY : src/Node.o + +# target to build an object file +src/Node.cpp.o: + $(MAKE) $(MAKESILENT) -f CMakeFiles/Project.dir/build.make CMakeFiles/Project.dir/src/Node.cpp.o +.PHONY : src/Node.cpp.o + +src/Node.i: src/Node.cpp.i +.PHONY : src/Node.i + +# target to preprocess a source file +src/Node.cpp.i: + $(MAKE) $(MAKESILENT) -f CMakeFiles/Project.dir/build.make CMakeFiles/Project.dir/src/Node.cpp.i +.PHONY : src/Node.cpp.i + +src/Node.s: src/Node.cpp.s +.PHONY : src/Node.s + +# target to generate assembly for a file +src/Node.cpp.s: + $(MAKE) $(MAKESILENT) -f CMakeFiles/Project.dir/build.make CMakeFiles/Project.dir/src/Node.cpp.s +.PHONY : src/Node.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... test" + @echo "... Project" + @echo "... tmp_test_Tests" + @echo "... src/AStar.o" + @echo "... src/AStar.i" + @echo "... src/AStar.s" + @echo "... src/Map.o" + @echo "... src/Map.i" + @echo "... src/Map.s" + @echo "... src/Node.o" + @echo "... src/Node.i" + @echo "... src/Node.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/Testing/TAG" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/Testing/TAG" new file mode 100644 index 0000000000000000000000000000000000000000..f1fe631ba9e92cc62ffc1e04caf3b37afdc054e5 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/Testing/TAG" @@ -0,0 +1,3 @@ +20240724-1147 +Experimental +Experimental diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/cmake_install.cmake" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/cmake_install.cmake" new file mode 100644 index 0000000000000000000000000000000000000000..203d20edae8c2a537e18ca896a71fea4aca00555 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/cmake_install.cmake" @@ -0,0 +1,101 @@ +# Install script for directory: /home/sujianrong/PCL_code/modern-cpp-template + +# Set the install prefix +if(NOT DEFINED CMAKE_INSTALL_PREFIX) + set(CMAKE_INSTALL_PREFIX "/usr/local") +endif() +string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") + +# Set the install configuration name. +if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) + if(BUILD_TYPE) + string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" + CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") + else() + set(CMAKE_INSTALL_CONFIG_NAME "Debug") + endif() + message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") +endif() + +# Set the component getting installed. +if(NOT CMAKE_INSTALL_COMPONENT) + if(COMPONENT) + message(STATUS "Install component: \"${COMPONENT}\"") + set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") + else() + set(CMAKE_INSTALL_COMPONENT) + endif() +endif() + +# Install shared libraries without execute permission? +if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) + set(CMAKE_INSTALL_SO_NO_EXE "1") +endif() + +# Is this installation the result of a crosscompile? +if(NOT DEFINED CMAKE_CROSSCOMPILING) + set(CMAKE_CROSSCOMPILING "FALSE") +endif() + +# Set default install directory permissions. +if(NOT DEFINED CMAKE_OBJDUMP) + set(CMAKE_OBJDUMP "/usr/bin/objdump") +endif() + +if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "/home/sujianrong/PCL_code/modern-cpp-template/build/lib/Debug/libProject.a") +endif() + +if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/cmake/Project/ProjectTargets.cmake") + file(DIFFERENT _cmake_export_file_changed FILES + "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/cmake/Project/ProjectTargets.cmake" + "/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/Export/a50376a65e97f7aaf17835f07c6239f4/ProjectTargets.cmake") + if(_cmake_export_file_changed) + file(GLOB _cmake_old_config_files "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/cmake/Project/ProjectTargets-*.cmake") + if(_cmake_old_config_files) + string(REPLACE ";" ", " _cmake_old_config_files_text "${_cmake_old_config_files}") + message(STATUS "Old export file \"$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/cmake/Project/ProjectTargets.cmake\" will be replaced. Removing files [${_cmake_old_config_files_text}].") + unset(_cmake_old_config_files_text) + file(REMOVE ${_cmake_old_config_files}) + endif() + unset(_cmake_old_config_files) + endif() + unset(_cmake_export_file_changed) + endif() + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/cmake/Project" TYPE FILE FILES "/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/Export/a50376a65e97f7aaf17835f07c6239f4/ProjectTargets.cmake") + if(CMAKE_INSTALL_CONFIG_NAME MATCHES "^([Dd][Ee][Bb][Uu][Gg])$") + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/cmake/Project" TYPE FILE FILES "/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles/Export/a50376a65e97f7aaf17835f07c6239f4/ProjectTargets-debug.cmake") + endif() +endif() + +if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include/project" TYPE FILE FILES "/home/sujianrong/PCL_code/modern-cpp-template/build/include/project/version.hpp") +endif() + +if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include" TYPE DIRECTORY FILES "/home/sujianrong/PCL_code/modern-cpp-template/include/project") +endif() + +if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/cmake/Project" TYPE FILE FILES + "/home/sujianrong/PCL_code/modern-cpp-template/build/ProjectConfig.cmake" + "/home/sujianrong/PCL_code/modern-cpp-template/build/ProjectConfigVersion.cmake" + ) +endif() + +if(NOT CMAKE_INSTALL_LOCAL_ONLY) + # Include the install script for the subdirectory. + include("/home/sujianrong/PCL_code/modern-cpp-template/build/test/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 "/home/sujianrong/PCL_code/modern-cpp-template/build/${CMAKE_INSTALL_MANIFEST}" + "${CMAKE_INSTALL_MANIFEST_CONTENT}") diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/compile_commands.json" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/compile_commands.json" new file mode 100644 index 0000000000000000000000000000000000000000..78a0fb7131a4d0137ebf3259608b1a9a34b89148 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/compile_commands.json" @@ -0,0 +1,26 @@ +[ +{ + "directory": "/home/sujianrong/PCL_code/modern-cpp-template/build", + "command": "/usr/bin/g++ -I/home/sujianrong/PCL_code/modern-cpp-template/include -I/home/sujianrong/PCL_code/modern-cpp-template/src -g -D_DEBUG -Wall -Wextra -Wshadow -Wnon-virtual-dtor -Wold-style-cast -Wcast-align -Wunused -Woverloaded-virtual -Wpedantic -Wconversion -Wsign-conversion -Wnull-dereference -Wdouble-promotion -Wformat=2 -Wmisleading-indentation -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wuseless-cast -o CMakeFiles/Project.dir/src/AStar.cpp.o -c /home/sujianrong/PCL_code/modern-cpp-template/src/AStar.cpp", + "file": "/home/sujianrong/PCL_code/modern-cpp-template/src/AStar.cpp", + "output": "CMakeFiles/Project.dir/src/AStar.cpp.o" +}, +{ + "directory": "/home/sujianrong/PCL_code/modern-cpp-template/build", + "command": "/usr/bin/g++ -I/home/sujianrong/PCL_code/modern-cpp-template/include -I/home/sujianrong/PCL_code/modern-cpp-template/src -g -D_DEBUG -Wall -Wextra -Wshadow -Wnon-virtual-dtor -Wold-style-cast -Wcast-align -Wunused -Woverloaded-virtual -Wpedantic -Wconversion -Wsign-conversion -Wnull-dereference -Wdouble-promotion -Wformat=2 -Wmisleading-indentation -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wuseless-cast -o CMakeFiles/Project.dir/src/Map.cpp.o -c /home/sujianrong/PCL_code/modern-cpp-template/src/Map.cpp", + "file": "/home/sujianrong/PCL_code/modern-cpp-template/src/Map.cpp", + "output": "CMakeFiles/Project.dir/src/Map.cpp.o" +}, +{ + "directory": "/home/sujianrong/PCL_code/modern-cpp-template/build", + "command": "/usr/bin/g++ -I/home/sujianrong/PCL_code/modern-cpp-template/include -I/home/sujianrong/PCL_code/modern-cpp-template/src -g -D_DEBUG -Wall -Wextra -Wshadow -Wnon-virtual-dtor -Wold-style-cast -Wcast-align -Wunused -Woverloaded-virtual -Wpedantic -Wconversion -Wsign-conversion -Wnull-dereference -Wdouble-promotion -Wformat=2 -Wmisleading-indentation -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wuseless-cast -o CMakeFiles/Project.dir/src/Node.cpp.o -c /home/sujianrong/PCL_code/modern-cpp-template/src/Node.cpp", + "file": "/home/sujianrong/PCL_code/modern-cpp-template/src/Node.cpp", + "output": "CMakeFiles/Project.dir/src/Node.cpp.o" +}, +{ + "directory": "/home/sujianrong/PCL_code/modern-cpp-template/build/test", + "command": "/usr/bin/g++ -I/home/sujianrong/PCL_code/modern-cpp-template/include -g -D_DEBUG -Wall -Wextra -Wshadow -Wnon-virtual-dtor -Wold-style-cast -Wcast-align -Wunused -Woverloaded-virtual -Wpedantic -Wconversion -Wsign-conversion -Wnull-dereference -Wdouble-promotion -Wformat=2 -Wmisleading-indentation -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wuseless-cast -o CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.o -c /home/sujianrong/PCL_code/modern-cpp-template/test/src/tmp_test.cpp", + "file": "/home/sujianrong/PCL_code/modern-cpp-template/test/src/tmp_test.cpp", + "output": "test/CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.o" +} +] \ No newline at end of file diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/CMakeDirectoryInformation.cmake" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/CMakeDirectoryInformation.cmake" new file mode 100644 index 0000000000000000000000000000000000000000..f1bb4079e99556f723c68a8817307d01544bbc3d --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/CMakeDirectoryInformation.cmake" @@ -0,0 +1,16 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.28 + +# Relative path conversion top directories. +set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/sujianrong/PCL_code/modern-cpp-template") +set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/sujianrong/PCL_code/modern-cpp-template/build") + +# Force unix paths in dependencies. +set(CMAKE_FORCE_UNIX_PATHS 1) + + +# The C and CXX include file regular expressions for this directory. +set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") +set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") +set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) +set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/progress.marks" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/progress.marks" new file mode 100644 index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/progress.marks" @@ -0,0 +1 @@ +6 diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/DependInfo.cmake" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/DependInfo.cmake" new file mode 100644 index 0000000000000000000000000000000000000000..ecb4122ecab21913664b1c8ccc07984cc3e63c46 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/DependInfo.cmake" @@ -0,0 +1,23 @@ + +# Consider dependencies only in project. +set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF) + +# The set of languages for which implicit dependencies are needed: +set(CMAKE_DEPENDS_LANGUAGES + ) + +# The set of dependency files which are needed: +set(CMAKE_DEPENDS_DEPENDENCY_FILES + "/home/sujianrong/PCL_code/modern-cpp-template/test/src/tmp_test.cpp" "test/CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.o" "gcc" "test/CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.o.d" + ) + +# Targets to which this target links which contain Fortran sources. +set(CMAKE_Fortran_TARGET_LINKED_INFO_FILES + ) + +# Targets to which this target links which contain Fortran sources. +set(CMAKE_Fortran_TARGET_FORWARD_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/build.make" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/build.make" new file mode 100644 index 0000000000000000000000000000000000000000..9202420c5c31a2207a43b1aa4903e6e43a719bfe --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/build.make" @@ -0,0 +1,113 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.28 + +# Delete rule output on recipe failure. +.DELETE_ON_ERROR: + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Disable VCS-based implicit rules. +% : %,v + +# Disable VCS-based implicit rules. +% : RCS/% + +# Disable VCS-based implicit rules. +% : RCS/%,v + +# Disable VCS-based implicit rules. +% : SCCS/s.% + +# Disable VCS-based implicit rules. +% : s.% + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Command-line flag to silence nested $(MAKE). +$(VERBOSE)MAKESILENT = -s + +#Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E rm -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /home/sujianrong/PCL_code/modern-cpp-template + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /home/sujianrong/PCL_code/modern-cpp-template/build + +# Include any dependencies generated for this target. +include test/CMakeFiles/tmp_test_Tests.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include test/CMakeFiles/tmp_test_Tests.dir/compiler_depend.make + +# Include the progress variables for this target. +include test/CMakeFiles/tmp_test_Tests.dir/progress.make + +# Include the compile flags for this target's objects. +include test/CMakeFiles/tmp_test_Tests.dir/flags.make + +test/CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.o: test/CMakeFiles/tmp_test_Tests.dir/flags.make +test/CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.o: /home/sujianrong/PCL_code/modern-cpp-template/test/src/tmp_test.cpp +test/CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.o: test/CMakeFiles/tmp_test_Tests.dir/compiler_depend.ts + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object test/CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.o" + cd /home/sujianrong/PCL_code/modern-cpp-template/build/test && /usr/bin/g++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT test/CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.o -MF CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.o.d -o CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.o -c /home/sujianrong/PCL_code/modern-cpp-template/test/src/tmp_test.cpp + +test/CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing CXX source to CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.i" + cd /home/sujianrong/PCL_code/modern-cpp-template/build/test && /usr/bin/g++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/sujianrong/PCL_code/modern-cpp-template/test/src/tmp_test.cpp > CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.i + +test/CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling CXX source to assembly CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.s" + cd /home/sujianrong/PCL_code/modern-cpp-template/build/test && /usr/bin/g++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/sujianrong/PCL_code/modern-cpp-template/test/src/tmp_test.cpp -o CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.s + +# Object files for target tmp_test_Tests +tmp_test_Tests_OBJECTS = \ +"CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.o" + +# External object files for target tmp_test_Tests +tmp_test_Tests_EXTERNAL_OBJECTS = + +test/tmp_test_Tests: test/CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.o +test/tmp_test_Tests: test/CMakeFiles/tmp_test_Tests.dir/build.make +test/tmp_test_Tests: lib/Debug/libProject.a +test/tmp_test_Tests: /usr/local/lib/libgtest_main.a +test/tmp_test_Tests: /usr/local/lib/libgtest.a +test/tmp_test_Tests: test/CMakeFiles/tmp_test_Tests.dir/link.txt + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --bold --progress-dir=/home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable tmp_test_Tests" + cd /home/sujianrong/PCL_code/modern-cpp-template/build/test && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/tmp_test_Tests.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +test/CMakeFiles/tmp_test_Tests.dir/build: test/tmp_test_Tests +.PHONY : test/CMakeFiles/tmp_test_Tests.dir/build + +test/CMakeFiles/tmp_test_Tests.dir/clean: + cd /home/sujianrong/PCL_code/modern-cpp-template/build/test && $(CMAKE_COMMAND) -P CMakeFiles/tmp_test_Tests.dir/cmake_clean.cmake +.PHONY : test/CMakeFiles/tmp_test_Tests.dir/clean + +test/CMakeFiles/tmp_test_Tests.dir/depend: + cd /home/sujianrong/PCL_code/modern-cpp-template/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/sujianrong/PCL_code/modern-cpp-template /home/sujianrong/PCL_code/modern-cpp-template/test /home/sujianrong/PCL_code/modern-cpp-template/build /home/sujianrong/PCL_code/modern-cpp-template/build/test /home/sujianrong/PCL_code/modern-cpp-template/build/test/CMakeFiles/tmp_test_Tests.dir/DependInfo.cmake "--color=$(COLOR)" +.PHONY : test/CMakeFiles/tmp_test_Tests.dir/depend + diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/cmake_clean.cmake" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/cmake_clean.cmake" new file mode 100644 index 0000000000000000000000000000000000000000..143372d7d2f83571824b6c8d8498e27ef769b076 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/cmake_clean.cmake" @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.o" + "CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.o.d" + "tmp_test_Tests" + "tmp_test_Tests.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/tmp_test_Tests.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/compiler_depend.internal" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/compiler_depend.internal" new file mode 100644 index 0000000000000000000000000000000000000000..0c9d706015a2008aac2eb3c6bdb84b98aea8751d --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/compiler_depend.internal" @@ -0,0 +1,355 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.28 + +test/CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.o + /home/sujianrong/PCL_code/modern-cpp-template/test/src/tmp_test.cpp + /home/sujianrong/PCL_code/modern-cpp-template/include/AStarProject/AStar.hpp + /home/sujianrong/PCL_code/modern-cpp-template/include/AStarProject/Map.hpp + /home/sujianrong/PCL_code/modern-cpp-template/include/AStarProject/Node.hpp + /usr/include/alloca.h + /usr/include/asm-generic/bitsperlong.h + /usr/include/asm-generic/errno-base.h + /usr/include/asm-generic/errno.h + /usr/include/asm-generic/int-ll64.h + /usr/include/asm-generic/posix_types.h + /usr/include/asm-generic/types.h + /usr/include/assert.h + /usr/include/c++/13/any + /usr/include/c++/13/array + /usr/include/c++/13/atomic + /usr/include/c++/13/backward/auto_ptr.h + /usr/include/c++/13/backward/binders.h + /usr/include/c++/13/bit + /usr/include/c++/13/bits/algorithmfwd.h + /usr/include/c++/13/bits/align.h + /usr/include/c++/13/bits/alloc_traits.h + /usr/include/c++/13/bits/allocated_ptr.h + /usr/include/c++/13/bits/allocator.h + /usr/include/c++/13/bits/atomic_base.h + /usr/include/c++/13/bits/atomic_lockfree_defines.h + /usr/include/c++/13/bits/basic_ios.h + /usr/include/c++/13/bits/basic_ios.tcc + /usr/include/c++/13/bits/basic_string.h + /usr/include/c++/13/bits/basic_string.tcc + /usr/include/c++/13/bits/char_traits.h + /usr/include/c++/13/bits/charconv.h + /usr/include/c++/13/bits/chrono.h + /usr/include/c++/13/bits/codecvt.h + /usr/include/c++/13/bits/concept_check.h + /usr/include/c++/13/bits/cpp_type_traits.h + /usr/include/c++/13/bits/cxxabi_forced.h + /usr/include/c++/13/bits/cxxabi_init_exception.h + /usr/include/c++/13/bits/enable_special_members.h + /usr/include/c++/13/bits/erase_if.h + /usr/include/c++/13/bits/exception.h + /usr/include/c++/13/bits/exception_defines.h + /usr/include/c++/13/bits/exception_ptr.h + /usr/include/c++/13/bits/functexcept.h + /usr/include/c++/13/bits/functional_hash.h + /usr/include/c++/13/bits/hash_bytes.h + /usr/include/c++/13/bits/hashtable.h + /usr/include/c++/13/bits/hashtable_policy.h + /usr/include/c++/13/bits/invoke.h + /usr/include/c++/13/bits/ios_base.h + /usr/include/c++/13/bits/istream.tcc + /usr/include/c++/13/bits/list.tcc + /usr/include/c++/13/bits/locale_classes.h + /usr/include/c++/13/bits/locale_classes.tcc + /usr/include/c++/13/bits/locale_conv.h + /usr/include/c++/13/bits/locale_facets.h + /usr/include/c++/13/bits/locale_facets.tcc + /usr/include/c++/13/bits/locale_facets_nonio.h + /usr/include/c++/13/bits/locale_facets_nonio.tcc + /usr/include/c++/13/bits/localefwd.h + /usr/include/c++/13/bits/memory_resource.h + /usr/include/c++/13/bits/memoryfwd.h + /usr/include/c++/13/bits/move.h + /usr/include/c++/13/bits/nested_exception.h + /usr/include/c++/13/bits/new_allocator.h + /usr/include/c++/13/bits/node_handle.h + /usr/include/c++/13/bits/ostream.tcc + /usr/include/c++/13/bits/ostream_insert.h + /usr/include/c++/13/bits/parse_numbers.h + /usr/include/c++/13/bits/postypes.h + /usr/include/c++/13/bits/predefined_ops.h + /usr/include/c++/13/bits/ptr_traits.h + /usr/include/c++/13/bits/quoted_string.h + /usr/include/c++/13/bits/range_access.h + /usr/include/c++/13/bits/refwrap.h + /usr/include/c++/13/bits/requires_hosted.h + /usr/include/c++/13/bits/shared_ptr.h + /usr/include/c++/13/bits/shared_ptr_atomic.h + /usr/include/c++/13/bits/shared_ptr_base.h + /usr/include/c++/13/bits/sstream.tcc + /usr/include/c++/13/bits/std_abs.h + /usr/include/c++/13/bits/std_function.h + /usr/include/c++/13/bits/std_mutex.h + /usr/include/c++/13/bits/stl_algo.h + /usr/include/c++/13/bits/stl_algobase.h + /usr/include/c++/13/bits/stl_bvector.h + /usr/include/c++/13/bits/stl_construct.h + /usr/include/c++/13/bits/stl_function.h + /usr/include/c++/13/bits/stl_heap.h + /usr/include/c++/13/bits/stl_iterator.h + /usr/include/c++/13/bits/stl_iterator_base_funcs.h + /usr/include/c++/13/bits/stl_iterator_base_types.h + /usr/include/c++/13/bits/stl_list.h + /usr/include/c++/13/bits/stl_map.h + /usr/include/c++/13/bits/stl_multimap.h + /usr/include/c++/13/bits/stl_multiset.h + /usr/include/c++/13/bits/stl_pair.h + /usr/include/c++/13/bits/stl_raw_storage_iter.h + /usr/include/c++/13/bits/stl_relops.h + /usr/include/c++/13/bits/stl_set.h + /usr/include/c++/13/bits/stl_tempbuf.h + /usr/include/c++/13/bits/stl_tree.h + /usr/include/c++/13/bits/stl_uninitialized.h + /usr/include/c++/13/bits/stl_vector.h + /usr/include/c++/13/bits/stream_iterator.h + /usr/include/c++/13/bits/streambuf.tcc + /usr/include/c++/13/bits/streambuf_iterator.h + /usr/include/c++/13/bits/string_view.tcc + /usr/include/c++/13/bits/stringfwd.h + /usr/include/c++/13/bits/uniform_int_dist.h + /usr/include/c++/13/bits/unique_lock.h + /usr/include/c++/13/bits/unique_ptr.h + /usr/include/c++/13/bits/unordered_map.h + /usr/include/c++/13/bits/uses_allocator.h + /usr/include/c++/13/bits/uses_allocator_args.h + /usr/include/c++/13/bits/utility.h + /usr/include/c++/13/bits/vector.tcc + /usr/include/c++/13/cassert + /usr/include/c++/13/cctype + /usr/include/c++/13/cerrno + /usr/include/c++/13/clocale + /usr/include/c++/13/compare + /usr/include/c++/13/condition_variable + /usr/include/c++/13/cstddef + /usr/include/c++/13/cstdint + /usr/include/c++/13/cstdio + /usr/include/c++/13/cstdlib + /usr/include/c++/13/ctime + /usr/include/c++/13/cwchar + /usr/include/c++/13/cwctype + /usr/include/c++/13/cxxabi.h + /usr/include/c++/13/debug/assertions.h + /usr/include/c++/13/debug/debug.h + /usr/include/c++/13/exception + /usr/include/c++/13/ext/aligned_buffer.h + /usr/include/c++/13/ext/alloc_traits.h + /usr/include/c++/13/ext/atomicity.h + /usr/include/c++/13/ext/concurrence.h + /usr/include/c++/13/ext/numeric_traits.h + /usr/include/c++/13/ext/string_conversions.h + /usr/include/c++/13/ext/type_traits.h + /usr/include/c++/13/functional + /usr/include/c++/13/initializer_list + /usr/include/c++/13/iomanip + /usr/include/c++/13/ios + /usr/include/c++/13/iosfwd + /usr/include/c++/13/iostream + /usr/include/c++/13/istream + /usr/include/c++/13/iterator + /usr/include/c++/13/limits + /usr/include/c++/13/list + /usr/include/c++/13/locale + /usr/include/c++/13/map + /usr/include/c++/13/memory + /usr/include/c++/13/mutex + /usr/include/c++/13/new + /usr/include/c++/13/optional + /usr/include/c++/13/ostream + /usr/include/c++/13/pstl/execution_defs.h + /usr/include/c++/13/pstl/glue_memory_defs.h + /usr/include/c++/13/pstl/pstl_config.h + /usr/include/c++/13/ratio + /usr/include/c++/13/set + /usr/include/c++/13/sstream + /usr/include/c++/13/stdexcept + /usr/include/c++/13/stdlib.h + /usr/include/c++/13/streambuf + /usr/include/c++/13/string + /usr/include/c++/13/string_view + /usr/include/c++/13/system_error + /usr/include/c++/13/tuple + /usr/include/c++/13/type_traits + /usr/include/c++/13/typeinfo + /usr/include/c++/13/unordered_map + /usr/include/c++/13/utility + /usr/include/c++/13/variant + /usr/include/c++/13/vector + /usr/include/ctype.h + /usr/include/endian.h + /usr/include/errno.h + /usr/include/features-time64.h + /usr/include/features.h + /usr/include/libintl.h + /usr/include/linux/close_range.h + /usr/include/linux/errno.h + /usr/include/linux/posix_types.h + /usr/include/linux/stat.h + /usr/include/linux/stddef.h + /usr/include/linux/types.h + /usr/include/locale.h + /usr/include/pthread.h + /usr/include/regex.h + /usr/include/sched.h + /usr/include/signal.h + /usr/include/stdc-predef.h + /usr/include/stdint.h + /usr/include/stdio.h + /usr/include/stdlib.h + /usr/include/string.h + /usr/include/strings.h + /usr/include/time.h + /usr/include/unistd.h + /usr/include/wchar.h + /usr/include/wctype.h + /usr/include/x86_64-linux-gnu/asm/bitsperlong.h + /usr/include/x86_64-linux-gnu/asm/errno.h + /usr/include/x86_64-linux-gnu/asm/posix_types.h + /usr/include/x86_64-linux-gnu/asm/posix_types_64.h + /usr/include/x86_64-linux-gnu/asm/types.h + /usr/include/x86_64-linux-gnu/bits/atomic_wide_counter.h + /usr/include/x86_64-linux-gnu/bits/byteswap.h + /usr/include/x86_64-linux-gnu/bits/confname.h + /usr/include/x86_64-linux-gnu/bits/cpu-set.h + /usr/include/x86_64-linux-gnu/bits/endian.h + /usr/include/x86_64-linux-gnu/bits/endianness.h + /usr/include/x86_64-linux-gnu/bits/environments.h + /usr/include/x86_64-linux-gnu/bits/errno.h + /usr/include/x86_64-linux-gnu/bits/floatn-common.h + /usr/include/x86_64-linux-gnu/bits/floatn.h + /usr/include/x86_64-linux-gnu/bits/getopt_core.h + /usr/include/x86_64-linux-gnu/bits/getopt_posix.h + /usr/include/x86_64-linux-gnu/bits/libc-header-start.h + /usr/include/x86_64-linux-gnu/bits/locale.h + /usr/include/x86_64-linux-gnu/bits/long-double.h + /usr/include/x86_64-linux-gnu/bits/posix_opt.h + /usr/include/x86_64-linux-gnu/bits/pthread_stack_min-dynamic.h + /usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h + /usr/include/x86_64-linux-gnu/bits/sched.h + /usr/include/x86_64-linux-gnu/bits/select.h + /usr/include/x86_64-linux-gnu/bits/setjmp.h + /usr/include/x86_64-linux-gnu/bits/sigaction.h + /usr/include/x86_64-linux-gnu/bits/sigcontext.h + /usr/include/x86_64-linux-gnu/bits/sigevent-consts.h + /usr/include/x86_64-linux-gnu/bits/siginfo-arch.h + /usr/include/x86_64-linux-gnu/bits/siginfo-consts-arch.h + /usr/include/x86_64-linux-gnu/bits/siginfo-consts.h + /usr/include/x86_64-linux-gnu/bits/signal_ext.h + /usr/include/x86_64-linux-gnu/bits/signum-arch.h + /usr/include/x86_64-linux-gnu/bits/signum-generic.h + /usr/include/x86_64-linux-gnu/bits/sigstack.h + /usr/include/x86_64-linux-gnu/bits/sigstksz.h + /usr/include/x86_64-linux-gnu/bits/sigthread.h + /usr/include/x86_64-linux-gnu/bits/ss_flags.h + /usr/include/x86_64-linux-gnu/bits/stat.h + /usr/include/x86_64-linux-gnu/bits/statx-generic.h + /usr/include/x86_64-linux-gnu/bits/statx.h + /usr/include/x86_64-linux-gnu/bits/stdint-intn.h + /usr/include/x86_64-linux-gnu/bits/stdint-least.h + /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h + /usr/include/x86_64-linux-gnu/bits/struct_mutex.h + /usr/include/x86_64-linux-gnu/bits/struct_rwlock.h + /usr/include/x86_64-linux-gnu/bits/struct_stat.h + /usr/include/x86_64-linux-gnu/bits/thread-shared-types.h + /usr/include/x86_64-linux-gnu/bits/time.h + /usr/include/x86_64-linux-gnu/bits/time64.h + /usr/include/x86_64-linux-gnu/bits/timesize.h + /usr/include/x86_64-linux-gnu/bits/timex.h + /usr/include/x86_64-linux-gnu/bits/types.h + /usr/include/x86_64-linux-gnu/bits/types/FILE.h + /usr/include/x86_64-linux-gnu/bits/types/__FILE.h + /usr/include/x86_64-linux-gnu/bits/types/__fpos64_t.h + /usr/include/x86_64-linux-gnu/bits/types/__fpos_t.h + /usr/include/x86_64-linux-gnu/bits/types/__locale_t.h + /usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h + /usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h + /usr/include/x86_64-linux-gnu/bits/types/__sigval_t.h + /usr/include/x86_64-linux-gnu/bits/types/clock_t.h + /usr/include/x86_64-linux-gnu/bits/types/clockid_t.h + /usr/include/x86_64-linux-gnu/bits/types/cookie_io_functions_t.h + /usr/include/x86_64-linux-gnu/bits/types/error_t.h + /usr/include/x86_64-linux-gnu/bits/types/idtype_t.h + /usr/include/x86_64-linux-gnu/bits/types/locale_t.h + /usr/include/x86_64-linux-gnu/bits/types/mbstate_t.h + /usr/include/x86_64-linux-gnu/bits/types/sig_atomic_t.h + /usr/include/x86_64-linux-gnu/bits/types/sigevent_t.h + /usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h + /usr/include/x86_64-linux-gnu/bits/types/sigset_t.h + /usr/include/x86_64-linux-gnu/bits/types/sigval_t.h + /usr/include/x86_64-linux-gnu/bits/types/stack_t.h + /usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h + /usr/include/x86_64-linux-gnu/bits/types/struct___jmp_buf_tag.h + /usr/include/x86_64-linux-gnu/bits/types/struct_itimerspec.h + /usr/include/x86_64-linux-gnu/bits/types/struct_sched_param.h + /usr/include/x86_64-linux-gnu/bits/types/struct_sigstack.h + /usr/include/x86_64-linux-gnu/bits/types/struct_statx.h + /usr/include/x86_64-linux-gnu/bits/types/struct_statx_timestamp.h + /usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h + /usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h + /usr/include/x86_64-linux-gnu/bits/types/struct_tm.h + /usr/include/x86_64-linux-gnu/bits/types/time_t.h + /usr/include/x86_64-linux-gnu/bits/types/timer_t.h + /usr/include/x86_64-linux-gnu/bits/types/wint_t.h + /usr/include/x86_64-linux-gnu/bits/typesizes.h + /usr/include/x86_64-linux-gnu/bits/uintn-identity.h + /usr/include/x86_64-linux-gnu/bits/unistd_ext.h + /usr/include/x86_64-linux-gnu/bits/waitflags.h + /usr/include/x86_64-linux-gnu/bits/waitstatus.h + /usr/include/x86_64-linux-gnu/bits/wchar.h + /usr/include/x86_64-linux-gnu/bits/wctype-wchar.h + /usr/include/x86_64-linux-gnu/bits/wordsize.h + /usr/include/x86_64-linux-gnu/c++/13/bits/atomic_word.h + /usr/include/x86_64-linux-gnu/c++/13/bits/c++allocator.h + /usr/include/x86_64-linux-gnu/c++/13/bits/c++config.h + /usr/include/x86_64-linux-gnu/c++/13/bits/c++locale.h + /usr/include/x86_64-linux-gnu/c++/13/bits/cpu_defines.h + /usr/include/x86_64-linux-gnu/c++/13/bits/ctype_base.h + /usr/include/x86_64-linux-gnu/c++/13/bits/ctype_inline.h + /usr/include/x86_64-linux-gnu/c++/13/bits/cxxabi_tweaks.h + /usr/include/x86_64-linux-gnu/c++/13/bits/error_constants.h + /usr/include/x86_64-linux-gnu/c++/13/bits/gthr-default.h + /usr/include/x86_64-linux-gnu/c++/13/bits/gthr.h + /usr/include/x86_64-linux-gnu/c++/13/bits/messages_members.h + /usr/include/x86_64-linux-gnu/c++/13/bits/os_defines.h + /usr/include/x86_64-linux-gnu/c++/13/bits/time_members.h + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h + /usr/include/x86_64-linux-gnu/gnu/stubs.h + /usr/include/x86_64-linux-gnu/sys/cdefs.h + /usr/include/x86_64-linux-gnu/sys/select.h + /usr/include/x86_64-linux-gnu/sys/single_threaded.h + /usr/include/x86_64-linux-gnu/sys/stat.h + /usr/include/x86_64-linux-gnu/sys/types.h + /usr/include/x86_64-linux-gnu/sys/ucontext.h + /usr/include/x86_64-linux-gnu/sys/wait.h + /usr/lib/gcc/x86_64-linux-gnu/13/include/float.h + /usr/lib/gcc/x86_64-linux-gnu/13/include/stdarg.h + /usr/lib/gcc/x86_64-linux-gnu/13/include/stddef.h + /usr/lib/gcc/x86_64-linux-gnu/13/include/stdint.h + /usr/local/include/gtest/gtest-assertion-result.h + /usr/local/include/gtest/gtest-death-test.h + /usr/local/include/gtest/gtest-matchers.h + /usr/local/include/gtest/gtest-message.h + /usr/local/include/gtest/gtest-param-test.h + /usr/local/include/gtest/gtest-printers.h + /usr/local/include/gtest/gtest-test-part.h + /usr/local/include/gtest/gtest-typed-test.h + /usr/local/include/gtest/gtest.h + /usr/local/include/gtest/gtest_pred_impl.h + /usr/local/include/gtest/gtest_prod.h + /usr/local/include/gtest/internal/custom/gtest-port.h + /usr/local/include/gtest/internal/custom/gtest-printers.h + /usr/local/include/gtest/internal/gtest-death-test-internal.h + /usr/local/include/gtest/internal/gtest-filepath.h + /usr/local/include/gtest/internal/gtest-internal.h + /usr/local/include/gtest/internal/gtest-param-util.h + /usr/local/include/gtest/internal/gtest-port-arch.h + /usr/local/include/gtest/internal/gtest-port.h + /usr/local/include/gtest/internal/gtest-string.h + /usr/local/include/gtest/internal/gtest-type-util.h + diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/compiler_depend.make" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/compiler_depend.make" new file mode 100644 index 0000000000000000000000000000000000000000..5fed4f77fc5aef8ec6be33f77b3c51ca423cc30f --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/compiler_depend.make" @@ -0,0 +1,1054 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.28 + +test/CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.o: /home/sujianrong/PCL_code/modern-cpp-template/test/src/tmp_test.cpp \ + /home/sujianrong/PCL_code/modern-cpp-template/include/AStarProject/AStar.hpp \ + /home/sujianrong/PCL_code/modern-cpp-template/include/AStarProject/Map.hpp \ + /home/sujianrong/PCL_code/modern-cpp-template/include/AStarProject/Node.hpp \ + /usr/include/alloca.h \ + /usr/include/asm-generic/bitsperlong.h \ + /usr/include/asm-generic/errno-base.h \ + /usr/include/asm-generic/errno.h \ + /usr/include/asm-generic/int-ll64.h \ + /usr/include/asm-generic/posix_types.h \ + /usr/include/asm-generic/types.h \ + /usr/include/assert.h \ + /usr/include/c++/13/any \ + /usr/include/c++/13/array \ + /usr/include/c++/13/atomic \ + /usr/include/c++/13/backward/auto_ptr.h \ + /usr/include/c++/13/backward/binders.h \ + /usr/include/c++/13/bit \ + /usr/include/c++/13/bits/algorithmfwd.h \ + /usr/include/c++/13/bits/align.h \ + /usr/include/c++/13/bits/alloc_traits.h \ + /usr/include/c++/13/bits/allocated_ptr.h \ + /usr/include/c++/13/bits/allocator.h \ + /usr/include/c++/13/bits/atomic_base.h \ + /usr/include/c++/13/bits/atomic_lockfree_defines.h \ + /usr/include/c++/13/bits/basic_ios.h \ + /usr/include/c++/13/bits/basic_ios.tcc \ + /usr/include/c++/13/bits/basic_string.h \ + /usr/include/c++/13/bits/basic_string.tcc \ + /usr/include/c++/13/bits/char_traits.h \ + /usr/include/c++/13/bits/charconv.h \ + /usr/include/c++/13/bits/chrono.h \ + /usr/include/c++/13/bits/codecvt.h \ + /usr/include/c++/13/bits/concept_check.h \ + /usr/include/c++/13/bits/cpp_type_traits.h \ + /usr/include/c++/13/bits/cxxabi_forced.h \ + /usr/include/c++/13/bits/cxxabi_init_exception.h \ + /usr/include/c++/13/bits/enable_special_members.h \ + /usr/include/c++/13/bits/erase_if.h \ + /usr/include/c++/13/bits/exception.h \ + /usr/include/c++/13/bits/exception_defines.h \ + /usr/include/c++/13/bits/exception_ptr.h \ + /usr/include/c++/13/bits/functexcept.h \ + /usr/include/c++/13/bits/functional_hash.h \ + /usr/include/c++/13/bits/hash_bytes.h \ + /usr/include/c++/13/bits/hashtable.h \ + /usr/include/c++/13/bits/hashtable_policy.h \ + /usr/include/c++/13/bits/invoke.h \ + /usr/include/c++/13/bits/ios_base.h \ + /usr/include/c++/13/bits/istream.tcc \ + /usr/include/c++/13/bits/list.tcc \ + /usr/include/c++/13/bits/locale_classes.h \ + /usr/include/c++/13/bits/locale_classes.tcc \ + /usr/include/c++/13/bits/locale_conv.h \ + /usr/include/c++/13/bits/locale_facets.h \ + /usr/include/c++/13/bits/locale_facets.tcc \ + /usr/include/c++/13/bits/locale_facets_nonio.h \ + /usr/include/c++/13/bits/locale_facets_nonio.tcc \ + /usr/include/c++/13/bits/localefwd.h \ + /usr/include/c++/13/bits/memory_resource.h \ + /usr/include/c++/13/bits/memoryfwd.h \ + /usr/include/c++/13/bits/move.h \ + /usr/include/c++/13/bits/nested_exception.h \ + /usr/include/c++/13/bits/new_allocator.h \ + /usr/include/c++/13/bits/node_handle.h \ + /usr/include/c++/13/bits/ostream.tcc \ + /usr/include/c++/13/bits/ostream_insert.h \ + /usr/include/c++/13/bits/parse_numbers.h \ + /usr/include/c++/13/bits/postypes.h \ + /usr/include/c++/13/bits/predefined_ops.h \ + /usr/include/c++/13/bits/ptr_traits.h \ + /usr/include/c++/13/bits/quoted_string.h \ + /usr/include/c++/13/bits/range_access.h \ + /usr/include/c++/13/bits/refwrap.h \ + /usr/include/c++/13/bits/requires_hosted.h \ + /usr/include/c++/13/bits/shared_ptr.h \ + /usr/include/c++/13/bits/shared_ptr_atomic.h \ + /usr/include/c++/13/bits/shared_ptr_base.h \ + /usr/include/c++/13/bits/sstream.tcc \ + /usr/include/c++/13/bits/std_abs.h \ + /usr/include/c++/13/bits/std_function.h \ + /usr/include/c++/13/bits/std_mutex.h \ + /usr/include/c++/13/bits/stl_algo.h \ + /usr/include/c++/13/bits/stl_algobase.h \ + /usr/include/c++/13/bits/stl_bvector.h \ + /usr/include/c++/13/bits/stl_construct.h \ + /usr/include/c++/13/bits/stl_function.h \ + /usr/include/c++/13/bits/stl_heap.h \ + /usr/include/c++/13/bits/stl_iterator.h \ + /usr/include/c++/13/bits/stl_iterator_base_funcs.h \ + /usr/include/c++/13/bits/stl_iterator_base_types.h \ + /usr/include/c++/13/bits/stl_list.h \ + /usr/include/c++/13/bits/stl_map.h \ + /usr/include/c++/13/bits/stl_multimap.h \ + /usr/include/c++/13/bits/stl_multiset.h \ + /usr/include/c++/13/bits/stl_pair.h \ + /usr/include/c++/13/bits/stl_raw_storage_iter.h \ + /usr/include/c++/13/bits/stl_relops.h \ + /usr/include/c++/13/bits/stl_set.h \ + /usr/include/c++/13/bits/stl_tempbuf.h \ + /usr/include/c++/13/bits/stl_tree.h \ + /usr/include/c++/13/bits/stl_uninitialized.h \ + /usr/include/c++/13/bits/stl_vector.h \ + /usr/include/c++/13/bits/stream_iterator.h \ + /usr/include/c++/13/bits/streambuf.tcc \ + /usr/include/c++/13/bits/streambuf_iterator.h \ + /usr/include/c++/13/bits/string_view.tcc \ + /usr/include/c++/13/bits/stringfwd.h \ + /usr/include/c++/13/bits/uniform_int_dist.h \ + /usr/include/c++/13/bits/unique_lock.h \ + /usr/include/c++/13/bits/unique_ptr.h \ + /usr/include/c++/13/bits/unordered_map.h \ + /usr/include/c++/13/bits/uses_allocator.h \ + /usr/include/c++/13/bits/uses_allocator_args.h \ + /usr/include/c++/13/bits/utility.h \ + /usr/include/c++/13/bits/vector.tcc \ + /usr/include/c++/13/cassert \ + /usr/include/c++/13/cctype \ + /usr/include/c++/13/cerrno \ + /usr/include/c++/13/clocale \ + /usr/include/c++/13/compare \ + /usr/include/c++/13/condition_variable \ + /usr/include/c++/13/cstddef \ + /usr/include/c++/13/cstdint \ + /usr/include/c++/13/cstdio \ + /usr/include/c++/13/cstdlib \ + /usr/include/c++/13/ctime \ + /usr/include/c++/13/cwchar \ + /usr/include/c++/13/cwctype \ + /usr/include/c++/13/cxxabi.h \ + /usr/include/c++/13/debug/assertions.h \ + /usr/include/c++/13/debug/debug.h \ + /usr/include/c++/13/exception \ + /usr/include/c++/13/ext/aligned_buffer.h \ + /usr/include/c++/13/ext/alloc_traits.h \ + /usr/include/c++/13/ext/atomicity.h \ + /usr/include/c++/13/ext/concurrence.h \ + /usr/include/c++/13/ext/numeric_traits.h \ + /usr/include/c++/13/ext/string_conversions.h \ + /usr/include/c++/13/ext/type_traits.h \ + /usr/include/c++/13/functional \ + /usr/include/c++/13/initializer_list \ + /usr/include/c++/13/iomanip \ + /usr/include/c++/13/ios \ + /usr/include/c++/13/iosfwd \ + /usr/include/c++/13/iostream \ + /usr/include/c++/13/istream \ + /usr/include/c++/13/iterator \ + /usr/include/c++/13/limits \ + /usr/include/c++/13/list \ + /usr/include/c++/13/locale \ + /usr/include/c++/13/map \ + /usr/include/c++/13/memory \ + /usr/include/c++/13/mutex \ + /usr/include/c++/13/new \ + /usr/include/c++/13/optional \ + /usr/include/c++/13/ostream \ + /usr/include/c++/13/pstl/execution_defs.h \ + /usr/include/c++/13/pstl/glue_memory_defs.h \ + /usr/include/c++/13/pstl/pstl_config.h \ + /usr/include/c++/13/ratio \ + /usr/include/c++/13/set \ + /usr/include/c++/13/sstream \ + /usr/include/c++/13/stdexcept \ + /usr/include/c++/13/stdlib.h \ + /usr/include/c++/13/streambuf \ + /usr/include/c++/13/string \ + /usr/include/c++/13/string_view \ + /usr/include/c++/13/system_error \ + /usr/include/c++/13/tuple \ + /usr/include/c++/13/type_traits \ + /usr/include/c++/13/typeinfo \ + /usr/include/c++/13/unordered_map \ + /usr/include/c++/13/utility \ + /usr/include/c++/13/variant \ + /usr/include/c++/13/vector \ + /usr/include/ctype.h \ + /usr/include/endian.h \ + /usr/include/errno.h \ + /usr/include/features-time64.h \ + /usr/include/features.h \ + /usr/include/libintl.h \ + /usr/include/linux/close_range.h \ + /usr/include/linux/errno.h \ + /usr/include/linux/posix_types.h \ + /usr/include/linux/stat.h \ + /usr/include/linux/stddef.h \ + /usr/include/linux/types.h \ + /usr/include/locale.h \ + /usr/include/pthread.h \ + /usr/include/regex.h \ + /usr/include/sched.h \ + /usr/include/signal.h \ + /usr/include/stdc-predef.h \ + /usr/include/stdint.h \ + /usr/include/stdio.h \ + /usr/include/stdlib.h \ + /usr/include/string.h \ + /usr/include/strings.h \ + /usr/include/time.h \ + /usr/include/unistd.h \ + /usr/include/wchar.h \ + /usr/include/wctype.h \ + /usr/include/x86_64-linux-gnu/asm/bitsperlong.h \ + /usr/include/x86_64-linux-gnu/asm/errno.h \ + /usr/include/x86_64-linux-gnu/asm/posix_types.h \ + /usr/include/x86_64-linux-gnu/asm/posix_types_64.h \ + /usr/include/x86_64-linux-gnu/asm/types.h \ + /usr/include/x86_64-linux-gnu/bits/atomic_wide_counter.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/confname.h \ + /usr/include/x86_64-linux-gnu/bits/cpu-set.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endianness.h \ + /usr/include/x86_64-linux-gnu/bits/environments.h \ + /usr/include/x86_64-linux-gnu/bits/errno.h \ + /usr/include/x86_64-linux-gnu/bits/floatn-common.h \ + /usr/include/x86_64-linux-gnu/bits/floatn.h \ + /usr/include/x86_64-linux-gnu/bits/getopt_core.h \ + /usr/include/x86_64-linux-gnu/bits/getopt_posix.h \ + /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h \ + /usr/include/x86_64-linux-gnu/bits/long-double.h \ + /usr/include/x86_64-linux-gnu/bits/posix_opt.h \ + /usr/include/x86_64-linux-gnu/bits/pthread_stack_min-dynamic.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \ + /usr/include/x86_64-linux-gnu/bits/sched.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/setjmp.h \ + /usr/include/x86_64-linux-gnu/bits/sigaction.h \ + /usr/include/x86_64-linux-gnu/bits/sigcontext.h \ + /usr/include/x86_64-linux-gnu/bits/sigevent-consts.h \ + /usr/include/x86_64-linux-gnu/bits/siginfo-arch.h \ + /usr/include/x86_64-linux-gnu/bits/siginfo-consts-arch.h \ + /usr/include/x86_64-linux-gnu/bits/siginfo-consts.h \ + /usr/include/x86_64-linux-gnu/bits/signal_ext.h \ + /usr/include/x86_64-linux-gnu/bits/signum-arch.h \ + /usr/include/x86_64-linux-gnu/bits/signum-generic.h \ + /usr/include/x86_64-linux-gnu/bits/sigstack.h \ + /usr/include/x86_64-linux-gnu/bits/sigstksz.h \ + /usr/include/x86_64-linux-gnu/bits/sigthread.h \ + /usr/include/x86_64-linux-gnu/bits/ss_flags.h \ + /usr/include/x86_64-linux-gnu/bits/stat.h \ + /usr/include/x86_64-linux-gnu/bits/statx-generic.h \ + /usr/include/x86_64-linux-gnu/bits/statx.h \ + /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \ + /usr/include/x86_64-linux-gnu/bits/stdint-least.h \ + /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/struct_mutex.h \ + /usr/include/x86_64-linux-gnu/bits/struct_rwlock.h \ + /usr/include/x86_64-linux-gnu/bits/struct_stat.h \ + /usr/include/x86_64-linux-gnu/bits/thread-shared-types.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/time64.h \ + /usr/include/x86_64-linux-gnu/bits/timesize.h \ + /usr/include/x86_64-linux-gnu/bits/timex.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/types/FILE.h \ + /usr/include/x86_64-linux-gnu/bits/types/__FILE.h \ + /usr/include/x86_64-linux-gnu/bits/types/__fpos64_t.h \ + /usr/include/x86_64-linux-gnu/bits/types/__fpos_t.h \ + /usr/include/x86_64-linux-gnu/bits/types/__locale_t.h \ + /usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h \ + /usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h \ + /usr/include/x86_64-linux-gnu/bits/types/__sigval_t.h \ + /usr/include/x86_64-linux-gnu/bits/types/clock_t.h \ + /usr/include/x86_64-linux-gnu/bits/types/clockid_t.h \ + /usr/include/x86_64-linux-gnu/bits/types/cookie_io_functions_t.h \ + /usr/include/x86_64-linux-gnu/bits/types/error_t.h \ + /usr/include/x86_64-linux-gnu/bits/types/idtype_t.h \ + /usr/include/x86_64-linux-gnu/bits/types/locale_t.h \ + /usr/include/x86_64-linux-gnu/bits/types/mbstate_t.h \ + /usr/include/x86_64-linux-gnu/bits/types/sig_atomic_t.h \ + /usr/include/x86_64-linux-gnu/bits/types/sigevent_t.h \ + /usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h \ + /usr/include/x86_64-linux-gnu/bits/types/sigset_t.h \ + /usr/include/x86_64-linux-gnu/bits/types/sigval_t.h \ + /usr/include/x86_64-linux-gnu/bits/types/stack_t.h \ + /usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h \ + /usr/include/x86_64-linux-gnu/bits/types/struct___jmp_buf_tag.h \ + /usr/include/x86_64-linux-gnu/bits/types/struct_itimerspec.h \ + /usr/include/x86_64-linux-gnu/bits/types/struct_sched_param.h \ + /usr/include/x86_64-linux-gnu/bits/types/struct_sigstack.h \ + /usr/include/x86_64-linux-gnu/bits/types/struct_statx.h \ + /usr/include/x86_64-linux-gnu/bits/types/struct_statx_timestamp.h \ + /usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h \ + /usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h \ + /usr/include/x86_64-linux-gnu/bits/types/struct_tm.h \ + /usr/include/x86_64-linux-gnu/bits/types/time_t.h \ + /usr/include/x86_64-linux-gnu/bits/types/timer_t.h \ + /usr/include/x86_64-linux-gnu/bits/types/wint_t.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/uintn-identity.h \ + /usr/include/x86_64-linux-gnu/bits/unistd_ext.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wctype-wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/c++/13/bits/atomic_word.h \ + /usr/include/x86_64-linux-gnu/c++/13/bits/c++allocator.h \ + /usr/include/x86_64-linux-gnu/c++/13/bits/c++config.h \ + /usr/include/x86_64-linux-gnu/c++/13/bits/c++locale.h \ + /usr/include/x86_64-linux-gnu/c++/13/bits/cpu_defines.h \ + /usr/include/x86_64-linux-gnu/c++/13/bits/ctype_base.h \ + /usr/include/x86_64-linux-gnu/c++/13/bits/ctype_inline.h \ + /usr/include/x86_64-linux-gnu/c++/13/bits/cxxabi_tweaks.h \ + /usr/include/x86_64-linux-gnu/c++/13/bits/error_constants.h \ + /usr/include/x86_64-linux-gnu/c++/13/bits/gthr-default.h \ + /usr/include/x86_64-linux-gnu/c++/13/bits/gthr.h \ + /usr/include/x86_64-linux-gnu/c++/13/bits/messages_members.h \ + /usr/include/x86_64-linux-gnu/c++/13/bits/os_defines.h \ + /usr/include/x86_64-linux-gnu/c++/13/bits/time_members.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/sys/single_threaded.h \ + /usr/include/x86_64-linux-gnu/sys/stat.h \ + /usr/include/x86_64-linux-gnu/sys/types.h \ + /usr/include/x86_64-linux-gnu/sys/ucontext.h \ + /usr/include/x86_64-linux-gnu/sys/wait.h \ + /usr/lib/gcc/x86_64-linux-gnu/13/include/float.h \ + /usr/lib/gcc/x86_64-linux-gnu/13/include/stdarg.h \ + /usr/lib/gcc/x86_64-linux-gnu/13/include/stddef.h \ + /usr/lib/gcc/x86_64-linux-gnu/13/include/stdint.h \ + /usr/local/include/gtest/gtest-assertion-result.h \ + /usr/local/include/gtest/gtest-death-test.h \ + /usr/local/include/gtest/gtest-matchers.h \ + /usr/local/include/gtest/gtest-message.h \ + /usr/local/include/gtest/gtest-param-test.h \ + /usr/local/include/gtest/gtest-printers.h \ + /usr/local/include/gtest/gtest-test-part.h \ + /usr/local/include/gtest/gtest-typed-test.h \ + /usr/local/include/gtest/gtest.h \ + /usr/local/include/gtest/gtest_pred_impl.h \ + /usr/local/include/gtest/gtest_prod.h \ + /usr/local/include/gtest/internal/custom/gtest-port.h \ + /usr/local/include/gtest/internal/custom/gtest-printers.h \ + /usr/local/include/gtest/internal/gtest-death-test-internal.h \ + /usr/local/include/gtest/internal/gtest-filepath.h \ + /usr/local/include/gtest/internal/gtest-internal.h \ + /usr/local/include/gtest/internal/gtest-param-util.h \ + /usr/local/include/gtest/internal/gtest-port-arch.h \ + /usr/local/include/gtest/internal/gtest-port.h \ + /usr/local/include/gtest/internal/gtest-string.h \ + /usr/local/include/gtest/internal/gtest-type-util.h + + +/usr/local/include/gtest/internal/gtest-port.h: + +/usr/local/include/gtest/internal/gtest-port-arch.h: + +/usr/local/include/gtest/internal/gtest-param-util.h: + +/usr/local/include/gtest/internal/gtest-filepath.h: + +/usr/local/include/gtest/internal/gtest-death-test-internal.h: + +/usr/local/include/gtest/internal/custom/gtest-printers.h: + +/usr/local/include/gtest/internal/custom/gtest-port.h: + +/usr/local/include/gtest/gtest_prod.h: + +/usr/local/include/gtest/gtest-test-part.h: + +/usr/local/include/gtest/gtest-printers.h: + +/usr/local/include/gtest/gtest-param-test.h: + +/usr/local/include/gtest/gtest-message.h: + +/usr/local/include/gtest/gtest-matchers.h: + +/usr/lib/gcc/x86_64-linux-gnu/13/include/stdint.h: + +/usr/include/x86_64-linux-gnu/sys/ucontext.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/x86_64-linux-gnu/sys/stat.h: + +/usr/include/x86_64-linux-gnu/sys/single_threaded.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/c++/13/bits/time_members.h: + +/usr/include/x86_64-linux-gnu/c++/13/bits/os_defines.h: + +/usr/include/x86_64-linux-gnu/c++/13/bits/messages_members.h: + +/usr/include/x86_64-linux-gnu/c++/13/bits/gthr.h: + +/usr/include/x86_64-linux-gnu/c++/13/bits/error_constants.h: + +/usr/include/x86_64-linux-gnu/c++/13/bits/cxxabi_tweaks.h: + +/usr/include/x86_64-linux-gnu/c++/13/bits/cpu_defines.h: + +/usr/include/x86_64-linux-gnu/c++/13/bits/c++locale.h: + +/usr/local/include/gtest/gtest-typed-test.h: + +/usr/include/x86_64-linux-gnu/c++/13/bits/c++config.h: + +/usr/include/x86_64-linux-gnu/c++/13/bits/c++allocator.h: + +/usr/include/x86_64-linux-gnu/c++/13/bits/atomic_word.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/bits/wctype-wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/unistd_ext.h: + +/usr/include/x86_64-linux-gnu/bits/uintn-identity.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/types/timer_t.h: + +/usr/include/x86_64-linux-gnu/bits/types/time_t.h: + +/usr/include/x86_64-linux-gnu/bits/types/struct_statx_timestamp.h: + +/usr/include/x86_64-linux-gnu/bits/types/struct_statx.h: + +/usr/include/x86_64-linux-gnu/bits/types/struct_itimerspec.h: + +/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h: + +/usr/include/x86_64-linux-gnu/bits/types/stack_t.h: + +/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h: + +/usr/include/x86_64-linux-gnu/bits/types/sigevent_t.h: + +/usr/include/x86_64-linux-gnu/bits/types/locale_t.h: + +/usr/include/x86_64-linux-gnu/bits/types/idtype_t.h: + +/usr/include/x86_64-linux-gnu/bits/types/struct___jmp_buf_tag.h: + +/usr/include/x86_64-linux-gnu/bits/types/clockid_t.h: + +/usr/include/x86_64-linux-gnu/bits/types/clock_t.h: + +/usr/include/x86_64-linux-gnu/bits/types/__sigval_t.h: + +/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h: + +/usr/include/x86_64-linux-gnu/bits/types/__fpos_t.h: + +/usr/include/x86_64-linux-gnu/bits/types/__fpos64_t.h: + +/usr/include/x86_64-linux-gnu/bits/types/__FILE.h: + +/usr/include/x86_64-linux-gnu/bits/types/FILE.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/c++/13/ctime: + +/usr/include/c++/13/clocale: + +/usr/include/c++/13/cstdint: + +/usr/include/c++/13/cstdlib: + +/usr/include/c++/13/cctype: + +/usr/include/x86_64-linux-gnu/bits/types/struct_tm.h: + +/usr/include/c++/13/ext/atomicity.h: + +/usr/include/c++/13/variant: + +/usr/include/c++/13/bits/stl_function.h: + +/usr/include/c++/13/bits/uses_allocator_args.h: + +/usr/include/c++/13/bits/atomic_base.h: + +/usr/local/include/gtest/internal/gtest-type-util.h: + +/usr/include/x86_64-linux-gnu/bits/types/mbstate_t.h: + +/usr/include/c++/13/bits/unique_ptr.h: + +/usr/include/c++/13/bits/align.h: + +/usr/include/c++/13/bits/streambuf.tcc: + +/usr/include/c++/13/bits/unordered_map.h: + +/usr/include/c++/13/bits/quoted_string.h: + +/usr/include/c++/13/bits/new_allocator.h: + +/usr/include/c++/13/bits/stl_uninitialized.h: + +/usr/include/x86_64-linux-gnu/bits/types/sigval_t.h: + +/usr/include/c++/13/bits/stl_map.h: + +/usr/include/c++/13/locale: + +/usr/lib/gcc/x86_64-linux-gnu/13/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/siginfo-consts.h: + +/usr/include/c++/13/bits/stl_relops.h: + +/usr/include/c++/13/bits/stream_iterator.h: + +/usr/include/c++/13/bits/enable_special_members.h: + +/usr/include/c++/13/bits/stl_raw_storage_iter.h: + +/usr/include/c++/13/cerrno: + +/usr/include/x86_64-linux-gnu/bits/stdint-least.h: + +/usr/include/c++/13/debug/assertions.h: + +/usr/include/x86_64-linux-gnu/bits/types/struct_sched_param.h: + +/usr/include/asm-generic/errno.h: + +/usr/include/c++/13/bits/functexcept.h: + +/usr/include/x86_64-linux-gnu/bits/libc-header-start.h: + +/usr/include/c++/13/bits/stl_bvector.h: + +/home/sujianrong/PCL_code/modern-cpp-template/include/AStarProject/AStar.hpp: + +/usr/include/c++/13/bits/stl_algobase.h: + +/usr/include/c++/13/bits/stl_algo.h: + +/usr/include/c++/13/cstddef: + +/usr/include/c++/13/bits/uses_allocator.h: + +/usr/include/c++/13/bits/postypes.h: + +/usr/local/include/gtest/gtest_pred_impl.h: + +/usr/include/c++/13/bits/stl_multiset.h: + +/usr/include/c++/13/bits/sstream.tcc: + +/usr/include/c++/13/ratio: + +/usr/include/c++/13/bits/stl_list.h: + +/usr/include/c++/13/bits/erase_if.h: + +/usr/include/c++/13/bits/stringfwd.h: + +/usr/include/c++/13/bits/shared_ptr.h: + +/usr/include/x86_64-linux-gnu/bits/struct_mutex.h: + +/usr/include/c++/13/bits/refwrap.h: + +/usr/include/c++/13/bits/std_mutex.h: + +/usr/include/c++/13/bits/stl_construct.h: + +/usr/include/c++/13/bits/range_access.h: + +/usr/include/c++/13/compare: + +/usr/include/c++/13/system_error: + +/usr/include/x86_64-linux-gnu/bits/sigcontext.h: + +/usr/include/c++/13/bits/string_view.tcc: + +/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h: + +/usr/include/c++/13/bits/std_abs.h: + +/usr/include/c++/13/bits/parse_numbers.h: + +/usr/include/c++/13/bits/stl_set.h: + +/usr/include/c++/13/bits/ostream_insert.h: + +/usr/include/c++/13/bits/ostream.tcc: + +/usr/include/c++/13/bits/move.h: + +/usr/include/c++/13/bits/memoryfwd.h: + +/usr/include/c++/13/bits/invoke.h: + +/usr/lib/gcc/x86_64-linux-gnu/13/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/environments.h: + +/usr/include/c++/13/bits/atomic_lockfree_defines.h: + +/usr/include/x86_64-linux-gnu/asm/errno.h: + +/usr/include/c++/13/bits/basic_string.h: + +/usr/include/libintl.h: + +/usr/include/c++/13/atomic: + +/usr/include/c++/13/bits/locale_facets.h: + +/usr/include/c++/13/backward/binders.h: + +/usr/include/c++/13/bits/basic_ios.tcc: + +/usr/include/c++/13/pstl/execution_defs.h: + +/usr/include/linux/stddef.h: + +/usr/include/c++/13/bits/alloc_traits.h: + +/usr/include/c++/13/bits/concept_check.h: + +/usr/include/x86_64-linux-gnu/bits/long-double.h: + +/usr/include/c++/13/bits/algorithmfwd.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/include/c++/13/bits/node_handle.h: + +/home/sujianrong/PCL_code/modern-cpp-template/include/AStarProject/Map.hpp: + +/usr/include/c++/13/bits/predefined_ops.h: + +/usr/include/asm-generic/posix_types.h: + +/usr/include/stdc-predef.h: + +/usr/include/c++/13/bits/unique_lock.h: + +/usr/include/c++/13/mutex: + +/usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h: + +/usr/include/c++/13/bits/charconv.h: + +/usr/local/include/gtest/internal/gtest-string.h: + +/usr/include/c++/13/cstdio: + +/usr/include/x86_64-linux-gnu/bits/sigevent-consts.h: + +/usr/include/c++/13/bits/allocated_ptr.h: + +/usr/include/c++/13/bit: + +/usr/include/c++/13/bits/basic_string.tcc: + +/usr/include/x86_64-linux-gnu/bits/sigaction.h: + +/usr/include/x86_64-linux-gnu/bits/types/error_t.h: + +/usr/include/c++/13/bits/hashtable.h: + +/usr/include/wchar.h: + +/usr/include/c++/13/bits/shared_ptr_base.h: + +/usr/include/c++/13/bits/basic_ios.h: + +/usr/include/x86_64-linux-gnu/bits/time64.h: + +/usr/include/x86_64-linux-gnu/bits/types/sigset_t.h: + +/usr/include/asm-generic/bitsperlong.h: + +/usr/include/asm-generic/types.h: + +/usr/include/x86_64-linux-gnu/sys/wait.h: + +/usr/include/c++/13/bits/stl_iterator_base_funcs.h: + +/usr/include/asm-generic/errno-base.h: + +/usr/include/c++/13/bits/locale_facets_nonio.tcc: + +/usr/include/c++/13/bits/stl_heap.h: + +/usr/include/c++/13/utility: + +/usr/include/alloca.h: + +/usr/include/c++/13/array: + +/usr/include/c++/13/bits/hash_bytes.h: + +/usr/include/x86_64-linux-gnu/c++/13/bits/ctype_base.h: + +/usr/include/c++/13/any: + +/usr/include/c++/13/backward/auto_ptr.h: + +/usr/include/assert.h: + +/usr/include/c++/13/bits/stl_vector.h: + +/usr/include/c++/13/bits/stl_tempbuf.h: + +/usr/include/c++/13/bits/stl_tree.h: + +/usr/include/c++/13/bits/codecvt.h: + +/usr/include/asm-generic/int-ll64.h: + +/usr/include/c++/13/bits/shared_ptr_atomic.h: + +/usr/include/c++/13/set: + +/usr/include/c++/13/cxxabi.h: + +/usr/include/x86_64-linux-gnu/bits/endianness.h: + +/usr/include/c++/13/bits/chrono.h: + +/home/sujianrong/PCL_code/modern-cpp-template/include/AStarProject/Node.hpp: + +/usr/include/x86_64-linux-gnu/c++/13/bits/ctype_inline.h: + +/usr/include/c++/13/bits/std_function.h: + +/usr/include/x86_64-linux-gnu/bits/signal_ext.h: + +/usr/include/c++/13/bits/char_traits.h: + +/usr/local/include/gtest/gtest-assertion-result.h: + +/usr/include/c++/13/bits/hashtable_policy.h: + +/usr/include/c++/13/bits/locale_conv.h: + +/usr/include/c++/13/bits/istream.tcc: + +/usr/include/c++/13/bits/exception_ptr.h: + +/usr/include/x86_64-linux-gnu/bits/types/struct_sigstack.h: + +/usr/include/x86_64-linux-gnu/bits/types/__locale_t.h: + +/usr/include/c++/13/bits/stl_multimap.h: + +/usr/include/c++/13/bits/vector.tcc: + +/usr/include/c++/13/optional: + +/usr/include/c++/13/bits/streambuf_iterator.h: + +/usr/include/c++/13/ostream: + +/usr/include/x86_64-linux-gnu/bits/siginfo-arch.h: + +/usr/include/c++/13/cassert: + +/usr/include/c++/13/bits/cpp_type_traits.h: + +/usr/include/c++/13/bits/cxxabi_forced.h: + +/usr/include/c++/13/bits/localefwd.h: + +/usr/local/include/gtest/gtest.h: + +/usr/include/c++/13/bits/ptr_traits.h: + +/usr/include/linux/posix_types.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/c++/13/bits/exception_defines.h: + +/usr/include/c++/13/bits/cxxabi_init_exception.h: + +/usr/include/c++/13/typeinfo: + +/usr/include/c++/13/bits/exception.h: + +/usr/include/c++/13/bits/memory_resource.h: + +/usr/include/c++/13/streambuf: + +/usr/include/x86_64-linux-gnu/bits/types/sig_atomic_t.h: + +/usr/include/x86_64-linux-gnu/bits/ss_flags.h: + +/usr/include/c++/13/condition_variable: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/c++/13/bits/functional_hash.h: + +/usr/include/errno.h: + +/home/sujianrong/PCL_code/modern-cpp-template/test/src/tmp_test.cpp: + +/usr/include/x86_64-linux-gnu/bits/timesize.h: + +/usr/include/c++/13/bits/locale_classes.h: + +/usr/include/c++/13/bits/uniform_int_dist.h: + +/usr/include/c++/13/bits/locale_classes.tcc: + +/usr/include/x86_64-linux-gnu/bits/confname.h: + +/usr/include/c++/13/bits/locale_facets_nonio.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/c++/13/cwchar: + +/usr/include/c++/13/ext/aligned_buffer.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/asm/bitsperlong.h: + +/usr/include/c++/13/bits/utility.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h: + +/usr/include/c++/13/new: + +/usr/include/c++/13/ext/concurrence.h: + +/usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h: + +/usr/include/c++/13/bits/stl_iterator.h: + +/usr/include/c++/13/ext/numeric_traits.h: + +/usr/include/c++/13/ext/string_conversions.h: + +/usr/include/c++/13/ext/type_traits.h: + +/usr/include/c++/13/functional: + +/usr/include/c++/13/initializer_list: + +/usr/include/c++/13/ios: + +/usr/include/c++/13/iostream: + +/usr/include/x86_64-linux-gnu/bits/stat.h: + +/usr/include/x86_64-linux-gnu/bits/sigstksz.h: + +/usr/include/c++/13/istream: + +/usr/include/c++/13/bits/ios_base.h: + +/usr/include/c++/13/iterator: + +/usr/include/x86_64-linux-gnu/bits/posix_opt.h: + +/usr/include/x86_64-linux-gnu/bits/types/wint_t.h: + +/usr/include/c++/13/limits: + +/usr/include/c++/13/ext/alloc_traits.h: + +/usr/include/c++/13/list: + +/usr/include/c++/13/memory: + +/usr/include/x86_64-linux-gnu/bits/floatn.h: + +/usr/include/c++/13/exception: + +/usr/include/c++/13/pstl/glue_memory_defs.h: + +/usr/include/x86_64-linux-gnu/bits/struct_rwlock.h: + +/usr/include/c++/13/pstl/pstl_config.h: + +/usr/include/x86_64-linux-gnu/bits/types/cookie_io_functions_t.h: + +/usr/include/c++/13/sstream: + +/usr/include/c++/13/stdexcept: + +/usr/include/c++/13/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/stdint-intn.h: + +/usr/include/c++/13/string: + +/usr/include/c++/13/map: + +/usr/include/c++/13/string_view: + +/usr/include/features-time64.h: + +/usr/include/c++/13/bits/list.tcc: + +/usr/include/c++/13/bits/nested_exception.h: + +/usr/include/c++/13/tuple: + +/usr/include/c++/13/type_traits: + +/usr/include/c++/13/bits/allocator.h: + +/usr/include/c++/13/unordered_map: + +/usr/include/c++/13/vector: + +/usr/lib/gcc/x86_64-linux-gnu/13/include/float.h: + +/usr/include/ctype.h: + +/usr/include/features.h: + +/usr/include/linux/close_range.h: + +/usr/include/c++/13/debug/debug.h: + +/usr/include/linux/errno.h: + +/usr/include/x86_64-linux-gnu/bits/pthread_stack_min-dynamic.h: + +/usr/include/c++/13/bits/locale_facets.tcc: + +/usr/include/linux/stat.h: + +/usr/include/linux/types.h: + +/usr/include/pthread.h: + +/usr/include/regex.h: + +/usr/include/wctype.h: + +/usr/include/sched.h: + +/usr/include/c++/13/iomanip: + +/usr/include/strings.h: + +/usr/include/signal.h: + +/usr/include/x86_64-linux-gnu/bits/timex.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/endian.h: + +/usr/include/stdint.h: + +/usr/include/c++/13/bits/stl_iterator_base_types.h: + +/usr/include/stdio.h: + +/usr/include/stdlib.h: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/statx.h: + +/usr/include/unistd.h: + +/usr/include/x86_64-linux-gnu/c++/13/bits/gthr-default.h: + +/usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h: + +/usr/include/x86_64-linux-gnu/bits/stdint-uintn.h: + +/usr/include/c++/13/cwctype: + +/usr/include/x86_64-linux-gnu/asm/posix_types.h: + +/usr/include/x86_64-linux-gnu/asm/types.h: + +/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/siginfo-consts-arch.h: + +/usr/include/x86_64-linux-gnu/asm/posix_types_64.h: + +/usr/include/x86_64-linux-gnu/bits/cpu-set.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/local/include/gtest/gtest-death-test.h: + +/usr/include/c++/13/bits/requires_hosted.h: + +/usr/include/x86_64-linux-gnu/bits/floatn-common.h: + +/usr/local/include/gtest/internal/gtest-internal.h: + +/usr/include/x86_64-linux-gnu/bits/getopt_core.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/x86_64-linux-gnu/bits/sched.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/struct_stat.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/bits/getopt_posix.h: + +/usr/include/x86_64-linux-gnu/bits/setjmp.h: + +/usr/include/c++/13/bits/stl_pair.h: + +/usr/include/x86_64-linux-gnu/bits/errno.h: + +/usr/include/x86_64-linux-gnu/bits/signum-arch.h: + +/usr/include/c++/13/iosfwd: + +/usr/include/x86_64-linux-gnu/bits/signum-generic.h: + +/usr/include/x86_64-linux-gnu/bits/sigstack.h: + +/usr/include/x86_64-linux-gnu/bits/sigthread.h: + +/usr/include/x86_64-linux-gnu/bits/statx-generic.h: diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/compiler_depend.ts" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/compiler_depend.ts" new file mode 100644 index 0000000000000000000000000000000000000000..ec6dd2c0a474a378c1f78cb0d83270f0749d71d0 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/compiler_depend.ts" @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for tmp_test_Tests. diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/depend.make" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/depend.make" new file mode 100644 index 0000000000000000000000000000000000000000..376042dfcdb37415c02e05024d203e2a2a68f9a5 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/depend.make" @@ -0,0 +1,2 @@ +# Empty dependencies file for tmp_test_Tests. +# This may be replaced when dependencies are built. diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/flags.make" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/flags.make" new file mode 100644 index 0000000000000000000000000000000000000000..1094be293ca8226c53d809a88899493c3f7eae11 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/flags.make" @@ -0,0 +1,10 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.28 + +# compile CXX with /usr/bin/g++ +CXX_DEFINES = + +CXX_INCLUDES = -I/home/sujianrong/PCL_code/modern-cpp-template/include + +CXX_FLAGS = -g -D_DEBUG -Wall -Wextra -Wshadow -Wnon-virtual-dtor -Wold-style-cast -Wcast-align -Wunused -Woverloaded-virtual -Wpedantic -Wconversion -Wsign-conversion -Wnull-dereference -Wdouble-promotion -Wformat=2 -Wmisleading-indentation -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wuseless-cast + diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/link.txt" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/link.txt" new file mode 100644 index 0000000000000000000000000000000000000000..e2688e02d845d5fa5cdab2d48e721d27e0c97def --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/link.txt" @@ -0,0 +1 @@ +/usr/bin/g++ -g CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.o -o tmp_test_Tests ../lib/Debug/libProject.a /usr/local/lib/libgtest_main.a /usr/local/lib/libgtest.a diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/progress.make" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/progress.make" new file mode 100644 index 0000000000000000000000000000000000000000..3a86673aa7c1868ad77aa16c631effd83be0da02 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CMakeFiles/tmp_test_Tests.dir/progress.make" @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 5 +CMAKE_PROGRESS_2 = 6 + diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CTestTestfile.cmake" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CTestTestfile.cmake" new file mode 100644 index 0000000000000000000000000000000000000000..75ccba3d6c5aa4aa85ef2815c5db349c859db51e --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/CTestTestfile.cmake" @@ -0,0 +1,8 @@ +# CMake generated Testfile for +# Source directory: /home/sujianrong/PCL_code/modern-cpp-template/test +# Build directory: /home/sujianrong/PCL_code/modern-cpp-template/build/test +# +# This file includes the relevant testing commands required for +# testing this directory and lists subdirectories to be tested as well. +add_test(tmp_test "/home/sujianrong/PCL_code/modern-cpp-template/build/test/tmp_test_Tests") +set_tests_properties(tmp_test PROPERTIES _BACKTRACE_TRIPLES "/home/sujianrong/PCL_code/modern-cpp-template/test/CMakeLists.txt;76;add_test;/home/sujianrong/PCL_code/modern-cpp-template/test/CMakeLists.txt;0;") diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/Makefile" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/Makefile" new file mode 100644 index 0000000000000000000000000000000000000000..77544c2dc4fa2083a11fb6598d2a8ab342117c6a --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/Makefile" @@ -0,0 +1,242 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.28 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +# Allow only one "make -f Makefile2" at a time, but pass parallelism. +.NOTPARALLEL: + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Disable VCS-based implicit rules. +% : %,v + +# Disable VCS-based implicit rules. +% : RCS/% + +# Disable VCS-based implicit rules. +% : RCS/%,v + +# Disable VCS-based implicit rules. +% : SCCS/s.% + +# Disable VCS-based implicit rules. +% : s.% + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Command-line flag to silence nested $(MAKE). +$(VERBOSE)MAKESILENT = -s + +#Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E rm -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /home/sujianrong/PCL_code/modern-cpp-template + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /home/sujianrong/PCL_code/modern-cpp-template/build + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target test +test: + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running tests..." + /usr/bin/ctest --force-new-ctest-process $(ARGS) +.PHONY : test + +# Special rule for the target test +test/fast: test +.PHONY : test/fast + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "No interactive CMake dialog available..." + /usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available. +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake to regenerate build system..." + /usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Install the project..." + /usr/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Install the project..." + /usr/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing only the local directory..." + /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing only the local directory..." + /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing the project stripped..." + /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing the project stripped..." + /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip/fast + +# The main all target +all: cmake_check_build_system + cd /home/sujianrong/PCL_code/modern-cpp-template/build && $(CMAKE_COMMAND) -E cmake_progress_start /home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles /home/sujianrong/PCL_code/modern-cpp-template/build/test//CMakeFiles/progress.marks + cd /home/sujianrong/PCL_code/modern-cpp-template/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 test/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/sujianrong/PCL_code/modern-cpp-template/build/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /home/sujianrong/PCL_code/modern-cpp-template/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 test/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /home/sujianrong/PCL_code/modern-cpp-template/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 test/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /home/sujianrong/PCL_code/modern-cpp-template/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 test/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /home/sujianrong/PCL_code/modern-cpp-template/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +test/CMakeFiles/tmp_test_Tests.dir/rule: + cd /home/sujianrong/PCL_code/modern-cpp-template/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 test/CMakeFiles/tmp_test_Tests.dir/rule +.PHONY : test/CMakeFiles/tmp_test_Tests.dir/rule + +# Convenience name for target. +tmp_test_Tests: test/CMakeFiles/tmp_test_Tests.dir/rule +.PHONY : tmp_test_Tests + +# fast build rule for target. +tmp_test_Tests/fast: + cd /home/sujianrong/PCL_code/modern-cpp-template/build && $(MAKE) $(MAKESILENT) -f test/CMakeFiles/tmp_test_Tests.dir/build.make test/CMakeFiles/tmp_test_Tests.dir/build +.PHONY : tmp_test_Tests/fast + +src/tmp_test.o: src/tmp_test.cpp.o +.PHONY : src/tmp_test.o + +# target to build an object file +src/tmp_test.cpp.o: + cd /home/sujianrong/PCL_code/modern-cpp-template/build && $(MAKE) $(MAKESILENT) -f test/CMakeFiles/tmp_test_Tests.dir/build.make test/CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.o +.PHONY : src/tmp_test.cpp.o + +src/tmp_test.i: src/tmp_test.cpp.i +.PHONY : src/tmp_test.i + +# target to preprocess a source file +src/tmp_test.cpp.i: + cd /home/sujianrong/PCL_code/modern-cpp-template/build && $(MAKE) $(MAKESILENT) -f test/CMakeFiles/tmp_test_Tests.dir/build.make test/CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.i +.PHONY : src/tmp_test.cpp.i + +src/tmp_test.s: src/tmp_test.cpp.s +.PHONY : src/tmp_test.s + +# target to generate assembly for a file +src/tmp_test.cpp.s: + cd /home/sujianrong/PCL_code/modern-cpp-template/build && $(MAKE) $(MAKESILENT) -f test/CMakeFiles/tmp_test_Tests.dir/build.make test/CMakeFiles/tmp_test_Tests.dir/src/tmp_test.cpp.s +.PHONY : src/tmp_test.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... test" + @echo "... tmp_test_Tests" + @echo "... src/tmp_test.o" + @echo "... src/tmp_test.i" + @echo "... src/tmp_test.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /home/sujianrong/PCL_code/modern-cpp-template/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/cmake_install.cmake" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/cmake_install.cmake" new file mode 100644 index 0000000000000000000000000000000000000000..032ad2af0c6440e2a58cb71b856ed6046faa586d --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/cmake_install.cmake" @@ -0,0 +1,44 @@ +# Install script for directory: /home/sujianrong/PCL_code/modern-cpp-template/test + +# Set the install prefix +if(NOT DEFINED CMAKE_INSTALL_PREFIX) + set(CMAKE_INSTALL_PREFIX "/usr/local") +endif() +string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") + +# Set the install configuration name. +if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) + if(BUILD_TYPE) + string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" + CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") + else() + set(CMAKE_INSTALL_CONFIG_NAME "Debug") + endif() + message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") +endif() + +# Set the component getting installed. +if(NOT CMAKE_INSTALL_COMPONENT) + if(COMPONENT) + message(STATUS "Install component: \"${COMPONENT}\"") + set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") + else() + set(CMAKE_INSTALL_COMPONENT) + endif() +endif() + +# Install shared libraries without execute permission? +if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) + set(CMAKE_INSTALL_SO_NO_EXE "1") +endif() + +# Is this installation the result of a crosscompile? +if(NOT DEFINED CMAKE_CROSSCOMPILING) + set(CMAKE_CROSSCOMPILING "FALSE") +endif() + +# Set default install directory permissions. +if(NOT DEFINED CMAKE_OBJDUMP) + set(CMAKE_OBJDUMP "/usr/bin/objdump") +endif() + diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/tmp_test_Tests" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/tmp_test_Tests" new file mode 100644 index 0000000000000000000000000000000000000000..d58438421a101cf1810f3046fd764dfafe3ea498 Binary files /dev/null and "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/build/test/tmp_test_Tests" differ diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/CompilerWarnings.cmake" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/CompilerWarnings.cmake" new file mode 100644 index 0000000000000000000000000000000000000000..2b5d58eff36aff6b9e120fc084fa413ce2ff1736 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/CompilerWarnings.cmake" @@ -0,0 +1,99 @@ +# from here: +# +# https://github.com/lefticus/cppbestpractices/blob/master/02-Use_the_Tools_Avai +# lable.md +# Courtesy of Jason Turner + +function(set_project_warnings project_name) + set(MSVC_WARNINGS + /W4 # Baseline reasonable warnings + /w14242 # 'identifier': conversion from 'type1' to 'type1', possible loss + # of data + /w14254 # 'operator': conversion from 'type1:field_bits' to + # 'type2:field_bits', possible loss of data + /w14263 # 'function': member function does not override any base class + # virtual member function + /w14265 # 'classname': class has virtual functions, but destructor is not + # virtual instances of this class may not be destructed correctly + /w14287 # 'operator': unsigned/negative constant mismatch + /we4289 # nonstandard extension used: 'variable': loop control variable + # declared in the for-loop is used outside the for-loop scope + /w14296 # 'operator': expression is always 'boolean_value' + /w14311 # 'variable': pointer truncation from 'type1' to 'type2' + /w14545 # expression before comma evaluates to a function which is missing + # an argument list + /w14546 # function call before comma missing argument list + /w14547 # 'operator': operator before comma has no effect; expected + # operator with side-effect + /w14549 # 'operator': operator before comma has no effect; did you intend + # 'operator'? + /w14555 # expression has no effect; expected expression with side- effect + /w14619 # pragma warning: there is no warning number 'number' + /w14640 # Enable warning on thread un-safe static member initialization + /w14826 # Conversion from 'type1' to 'type_2' is sign-extended. This may + # cause unexpected runtime behavior. + /w14905 # wide string literal cast to 'LPSTR' + /w14906 # string literal cast to 'LPWSTR' + /w14928 # illegal copy-initialization; more than one user-defined + # conversion has been implicitly applied + /permissive- # standards conformance mode for MSVC compiler. + ) + + set(CLANG_WARNINGS + -Wall + -Wextra # reasonable and standard + -Wshadow # warn the user if a variable declaration shadows one from a + # parent context + -Wnon-virtual-dtor # warn the user if a class with virtual functions has a + # non-virtual destructor. This helps catch hard to + # track down memory errors + -Wold-style-cast # warn for c-style casts + -Wcast-align # warn for potential performance problem casts + -Wunused # warn on anything being unused + -Woverloaded-virtual # warn if you overload (not override) a virtual + # function + -Wpedantic # warn if non-standard C++ is used + -Wconversion # warn on type conversions that may lose data + -Wsign-conversion # warn on sign conversions + -Wnull-dereference # warn if a null dereference is detected + -Wdouble-promotion # warn if float is implicit promoted to double + -Wformat=2 # warn on security issues around functions that format output + # (ie printf) + ) + + if (${PROJECT_NAME}_WARNINGS_AS_ERRORS) + set(CLANG_WARNINGS ${CLANG_WARNINGS} -Werror) + set(MSVC_WARNINGS ${MSVC_WARNINGS} /WX) + endif() + + set(GCC_WARNINGS + ${CLANG_WARNINGS} + -Wmisleading-indentation # warn if indentation implies blocks where blocks + # do not exist + -Wduplicated-cond # warn if if / else chain has duplicated conditions + -Wduplicated-branches # warn if if / else branches have duplicated code + -Wlogical-op # warn about logical operations being used where bitwise were + # probably wanted + -Wuseless-cast # warn if you perform a cast to the same type + ) + + if(MSVC) + set(PROJECT_WARNINGS ${MSVC_WARNINGS}) + elseif(CMAKE_CXX_COMPILER_ID MATCHES ".*Clang") + set(PROJECT_WARNINGS ${CLANG_WARNINGS}) + elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") + set(PROJECT_WARNINGS ${GCC_WARNINGS}) + else() + message(AUTHOR_WARNING "No compiler warnings set for '${CMAKE_CXX_COMPILER_ID}' compiler.") + endif() + + if(${PROJECT_NAME}_BUILD_HEADERS_ONLY) + target_compile_options(${project_name} INTERFACE ${PROJECT_WARNINGS}) + else() + target_compile_options(${project_name} PUBLIC ${PROJECT_WARNINGS}) + endif() + + if(NOT TARGET ${project_name}) + message(AUTHOR_WARNING "${project_name} is not a target, thus no compiler warning were added.") + endif() +endfunction() diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/Conan.cmake" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/Conan.cmake" new file mode 100644 index 0000000000000000000000000000000000000000..b844e2a5758b013389a709f3cfb9be1dbf05426f --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/Conan.cmake" @@ -0,0 +1,46 @@ +if(${PROJECT_NAME}_ENABLE_CONAN) + # + # Setup Conan requires and options here: + # + + set(${PROJECT_NAME}_CONAN_REQUIRES "") + set(${PROJECT_NAME}_CONAN_OPTIONS "") + + # + # If `conan.cmake` (from https://github.com/conan-io/cmake-conan) does not exist, download it. + # + if(NOT EXISTS "${CMAKE_BINARY_DIR}/conan.cmake") + message( + STATUS + "Downloading conan.cmake from https://github.com/conan-io/cmake-conan..." + ) + file( + DOWNLOAD "https://github.com/conan-io/cmake-conan/raw/v0.15/conan.cmake" + "${CMAKE_BINARY_DIR}/conan.cmake" + ) + message(STATUS "Cmake-Conan downloaded succesfully.") + endif() + + include(${CMAKE_BINARY_DIR}/conan.cmake) + + conan_add_remote( + NAME bincrafters + URL + https://api.bintray.com/conan/bincrafters/public-conan + ) + + conan_cmake_run( + REQUIRES + ${${PROJECT_NAME}_CONAN_REQUIRES} + OPTIONS + ${${PROJECT_NAME}_CONAN_OPTIONS} + BASIC_SETUP + CMAKE_TARGETS # Individual targets to link to + BUILD + missing + ) + + conan_basic_setup() + + verbose_message("Conan is setup and all requires have been installed.") +endif() diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/Doxygen.cmake" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/Doxygen.cmake" new file mode 100644 index 0000000000000000000000000000000000000000..bd6fe45ba73aec15141dda4a6c6a906adc3e1d40 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/Doxygen.cmake" @@ -0,0 +1,11 @@ +if(${PROJECT_NAME}_ENABLE_DOXYGEN) + set(DOXYGEN_CALLER_GRAPH YES) + set(DOXYGEN_CALL_GRAPH YES) + set(DOXYGEN_EXTRACT_ALL YES) + set(DOXYGEN_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/docs) + + find_package(Doxygen REQUIRED dot) + doxygen_add_docs(doxygen-docs ${PROJECT_SOURCE_DIR}) + + verbose_message("Doxygen has been setup and documentation is now available.") +endif() diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/ProjectConfig.cmake.in" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/ProjectConfig.cmake.in" new file mode 100644 index 0000000000000000000000000000000000000000..2ac739c90b98ca8689ad4610652a9b10373675f7 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/ProjectConfig.cmake.in" @@ -0,0 +1,9 @@ +set(@PROJECT_NAME@_VERSION @PROJECT_VERSION@) + +@PACKAGE_INIT@ + +set_and_check(@PROJECT_NAME@_INCLUDE_DIR "@CMAKE_INSTALL_FULL_INCLUDEDIR@") + +include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake") + +check_required_components(@PROJECT_NAME@) diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/SourcesAndHeaders.cmake" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/SourcesAndHeaders.cmake" new file mode 100644 index 0000000000000000000000000000000000000000..14e0fe52ef32824d9c705b9761090957d5024a63 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/SourcesAndHeaders.cmake" @@ -0,0 +1,20 @@ +set(sources + src/AStar.cpp + src/Map.cpp + src/Node.cpp +) + +set(exe_sources + src/main.cpp + ${sources} +) + +set(headers + include/AStarProject/AStar.hpp + include/AStarProject/Node.hpp + include/AStarProject/Map.hpp +) + +set(test_sources + src/tmp_test.cpp +) diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/StandardSettings.cmake" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/StandardSettings.cmake" new file mode 100644 index 0000000000000000000000000000000000000000..fd77929987949942b3470fd44b401660baba4e4d --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/StandardSettings.cmake" @@ -0,0 +1,95 @@ +# +# Project settings +# + +option(${PROJECT_NAME}_BUILD_EXECUTABLE "Build the project as an executable, rather than a library." OFF) +option(${PROJECT_NAME}_BUILD_HEADERS_ONLY "Build the project as a header-only library." OFF) +option(${PROJECT_NAME}_USE_ALT_NAMES "Use alternative names for the project, such as naming the include directory all lowercase." ON) + +# +# Compiler options +# + +option(${PROJECT_NAME}_WARNINGS_AS_ERRORS "Treat compiler warnings as errors." OFF) + +# +# Package managers +# +# Currently supporting: Conan, Vcpkg. + +option(${PROJECT_NAME}_ENABLE_CONAN "Enable the Conan package manager for this project." OFF) +option(${PROJECT_NAME}_ENABLE_VCPKG "Enable the Vcpkg package manager for this project." OFF) + +# +# Unit testing +# +# Currently supporting: GoogleTest, Catch2. + +option(${PROJECT_NAME}_ENABLE_UNIT_TESTING "Enable unit tests for the projects (from the `test` subfolder)." ON) + +option(${PROJECT_NAME}_USE_GTEST "Use the GoogleTest project for creating unit tests." ON) +option(${PROJECT_NAME}_USE_GOOGLE_MOCK "Use the GoogleMock project for extending the unit tests." OFF) + +option(${PROJECT_NAME}_USE_CATCH2 "Use the Catch2 project for creating unit tests." OFF) + +# +# Static analyzers +# +# Currently supporting: Clang-Tidy, Cppcheck. + +option(${PROJECT_NAME}_ENABLE_CLANG_TIDY "Enable static analysis with Clang-Tidy." OFF) +option(${PROJECT_NAME}_ENABLE_CPPCHECK "Enable static analysis with Cppcheck." OFF) + +# +# Code coverage +# + +option(${PROJECT_NAME}_ENABLE_CODE_COVERAGE "Enable code coverage through GCC." OFF) + +# +# Doxygen +# + +option(${PROJECT_NAME}_ENABLE_DOXYGEN "Enable Doxygen documentation builds of source." OFF) + +# +# Miscelanious options +# + +# Generate compile_commands.json for clang based tools +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) + +option(${PROJECT_NAME}_VERBOSE_OUTPUT "Enable verbose output, allowing for a better understanding of each step taken." ON) +option(${PROJECT_NAME}_GENERATE_EXPORT_HEADER "Create a `project_export.h` file containing all exported symbols." OFF) + +# Export all symbols when building a shared library +if(BUILD_SHARED_LIBS) + set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS OFF) + set(CMAKE_CXX_VISIBILITY_PRESET hidden) + set(CMAKE_VISIBILITY_INLINES_HIDDEN 1) +endif() + +option(${PROJECT_NAME}_ENABLE_LTO "Enable Interprocedural Optimization, aka Link Time Optimization (LTO)." OFF) +if(${PROJECT_NAME}_ENABLE_LTO) + include(CheckIPOSupported) + check_ipo_supported(RESULT result OUTPUT output) + if(result) + set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE) + else() + message(SEND_ERROR "IPO is not supported: ${output}.") + endif() +endif() + + +option(${PROJECT_NAME}_ENABLE_CCACHE "Enable the usage of Ccache, in order to speed up rebuild times." ON) +find_program(CCACHE_FOUND ccache) +if(CCACHE_FOUND) + set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache) + set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache) +endif() + +option(${PROJECT_NAME}_ENABLE_ASAN "Enable Address Sanitize to detect memory error." OFF) +if(${PROJECT_NAME}_ENABLE_ASAN) + add_compile_options(-fsanitize=address) + add_link_options(-fsanitize=address) +endif() diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/StaticAnalyzers.cmake" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/StaticAnalyzers.cmake" new file mode 100644 index 0000000000000000000000000000000000000000..10e4da4947ec036b1309d29681d1cb28811484d7 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/StaticAnalyzers.cmake" @@ -0,0 +1,20 @@ +if(${PROJECT_NAME}_ENABLE_CLANG_TIDY) + find_program(CLANGTIDY clang-tidy) + if(CLANGTIDY) + set(CMAKE_CXX_CLANG_TIDY ${CLANGTIDY} -extra-arg=-Wno-unknown-warning-option) + message("Clang-Tidy finished setting up.") + else() + message(SEND_ERROR "Clang-Tidy requested but executable not found.") + endif() +endif() + +if(${PROJECT_NAME}_ENABLE_CPPCHECK) + find_program(CPPCHECK cppcheck) + if(CPPCHECK) + set(CMAKE_CXX_CPPCHECK ${CPPCHECK} --suppress=missingInclude --enable=all + --inline-suppr --inconclusive -i ${CMAKE_SOURCE_DIR}/imgui/lib) + message("Cppcheck finished setting up.") + else() + message(SEND_ERROR "Cppcheck requested but executable not found.") + endif() +endif() diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/Utils.cmake" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/Utils.cmake" new file mode 100644 index 0000000000000000000000000000000000000000..754c7cdf63d19ca710d28994ac7ded233fdc6885 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/Utils.cmake" @@ -0,0 +1,40 @@ +# +# Print a message only if the `VERBOSE_OUTPUT` option is on +# + +function(verbose_message content) + if(${PROJECT_NAME}_VERBOSE_OUTPUT) + message(STATUS ${content}) + endif() +endfunction() + +# +# Add a target for formating the project using `clang-format` (i.e: cmake --build build --target clang-format) +# + +function(add_clang_format_target) + if(NOT ${PROJECT_NAME}_CLANG_FORMAT_BINARY) + find_program(${PROJECT_NAME}_CLANG_FORMAT_BINARY clang-format) + endif() + + if(${PROJECT_NAME}_CLANG_FORMAT_BINARY) + if(${PROJECT_NAME}_BUILD_EXECUTABLE) + add_custom_target(clang-format + COMMAND ${${PROJECT_NAME}_CLANG_FORMAT_BINARY} + -i ${exe_sources} ${headers} + WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}) + elseif(${PROJECT_NAME}_BUILD_HEADERS_ONLY) + add_custom_target(clang-format + COMMAND ${${PROJECT_NAME}_CLANG_FORMAT_BINARY} + -i ${headers} + WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}) + else() + add_custom_target(clang-format + COMMAND ${${PROJECT_NAME}_CLANG_FORMAT_BINARY} + -i ${sources} ${headers} + WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}) + endif() + + message(STATUS "Format the project using the `clang-format` target (i.e: cmake --build build --target clang-format).\n") + endif() +endfunction() diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/Vcpkg.cmake" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/Vcpkg.cmake" new file mode 100644 index 0000000000000000000000000000000000000000..1c13e386a405d05f852ff69ace9abfffaaa30384 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/Vcpkg.cmake" @@ -0,0 +1,20 @@ +if(${PROJECT_NAME}_ENABLE_VCPKG) + # + # If `vcpkg.cmake` (from https://github.com/microsoft/vcpkg) does not exist, download it. + # + if(NOT EXISTS "${CMAKE_BINARY_DIR}/vcpkg.cmake") + message( + STATUS + "Downloading `vcpkg.cmake` from https://github.com/microsoft/vcpkg..." + ) + file(DOWNLOAD "https://github.com/microsoft/vcpkg/raw/master/scripts/buildsystems/vcpkg.cmake" + "${CMAKE_BINARY_DIR}/vcpkg.cmake" + ) + message(STATUS "Vcpkg config downloaded succesfully.") + endif() + + if(${PROJECT_NAME}_VERBOSE_OUTPUT) + set(VCPKG_VERBOSE ON) + endif() + set(CMAKE_TOOLCHAIN_FILE "${CMAKE_TOOLCHAIN_FILE}" "${CMAKE_BINARY_DIR}/vcpkg.cmake") +endif() diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/version.hpp.in" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/version.hpp.in" new file mode 100644 index 0000000000000000000000000000000000000000..985bad67f624c392b8e6f40e594948b12a9b7eb8 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/cmake/version.hpp.in" @@ -0,0 +1,11 @@ +#ifndef @PROJECT_NAME_UPPERCASE@_VERSION_H_ +#define @PROJECT_NAME_UPPERCASE@_VERSION_H_ + +#define @PROJECT_NAME_UPPERCASE@_VERSION "@PROJECT_VERSION@" + +#define @PROJECT_NAME_UPPERCASE@_MAJOR_VERSION @PROJECT_VERSION_MAJOR@ +#define @PROJECT_NAME_UPPERCASE@_MINOR_VERSION @PROJECT_VERSION_MINOR@ +#define @PROJECT_NAME_UPPERCASE@_PATCH_VERSION @PROJECT_VERSION_PATCH@ + +#endif // @PROJECT_NAME_UPPERCASE@_VERSION_H_ + diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/codecov.yaml" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/codecov.yaml" new file mode 100644 index 0000000000000000000000000000000000000000..b2c991fbb617bd03755cd2f09bc18c66efdafca1 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/codecov.yaml" @@ -0,0 +1,5 @@ +ignore: + - "test" + +comment: + require_changes: true diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/include/AStarProject/AStar.hpp" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/include/AStarProject/AStar.hpp" new file mode 100644 index 0000000000000000000000000000000000000000..79fdde7bc974a5937c2a71d60efe36ed8c846da9 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/include/AStarProject/AStar.hpp" @@ -0,0 +1,44 @@ +/** + * @file AStar.hpp + * @author SuJianrong (1014150286@qq.com) + * @brief + * @version 0.1 + * @date 2024-07-24 + * + * @copyright Copyright (c) 2024 + * + */ + +#pragma once +#include"AStarProject/Node.hpp" +#include"AStarProject/Map.hpp" +#include +#include + + +const int MoveCost1 = 10; //横向或纵向移动一格的距离 +const int MoveCost2 = 14; //斜着移动一格的距离 + + +class AStar { + +private: + std::list openList; + std::list closeList; + + Node* findPath(Node& startNode, Node& endNode, bool isIgnoreCorner, Map& a_map); + Node* getLeastFnode(); + std::vector getSurroundNodes(const Node* node, bool isIgnoreCorner, Map& a_map) const; + bool isCanReach(const Node* node, const Node* target, bool isIgnoreCorner, Map& a_map) const; + Node* isInList(const Node* node, const std::list List) const; + int calculate_G_val(Node* preNode, Node* node); + int calculate_H_val(Node* node, Node* endNode); + int calculate_F_val(Node* node); + +public: + AStar() : openList({}), closeList({}) {} + std::list getPath(Node& startNode, Node& endNode, bool isIgnoreCorner, Map& a_map); + +}; + + diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/include/AStarProject/Map.hpp" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/include/AStarProject/Map.hpp" new file mode 100644 index 0000000000000000000000000000000000000000..1343919dd3db5d9be568656640bf7e0138523a16 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/include/AStarProject/Map.hpp" @@ -0,0 +1,38 @@ +/** + * @file Map.hpp + * @author SuJianrong (1014150286@qq.com) + * @brief + * @version 0.1 + * @date 2024-07-24 + * + * @copyright Copyright (c) 2024 + * + */ +#pragma once +#include +#include +#include "AStarProject/Node.hpp" + + +class Map { + +public: + void showMap() const; + void showPath(std::list& path); + void initMap(std::vector>& M_map); + void initRandonMap(int rows, int cols, double obstacleRatio); + std::vector> getMap() const { return m_map; } + int getLength() const { return m_map.size(); } + int getWidth() const { return m_map[0].size(); } + std::vector& operator[](int index) { + return m_map[index]; + } + const std::vector& operator[](int index) const { + return m_map[index]; + } + +private: + std::vector> m_map; + int length; + int width; +}; \ No newline at end of file diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/include/AStarProject/Node.hpp" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/include/AStarProject/Node.hpp" new file mode 100644 index 0000000000000000000000000000000000000000..02fd88866a891c844009fdc8fdce8f8d182786de --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/include/AStarProject/Node.hpp" @@ -0,0 +1,39 @@ +/** + * @file Node.hpp + * @author SuJianrong (1014150286@qq.com) + * @brief + * @version 0.1 + * @date 2024-07-24 + * + * @copyright Copyright (c) 2024 + * + */ + +#pragma once + +class Node { + +private: + int n_x, n_y; + int n_F, n_G, n_H; + Node* n_parent; + +public: + Node(); + Node(int x, int y); + ~Node() {} + + int get_X_value() const { return n_x; } + void set_X_value(const int x) { n_x = x; } + int get_Y_value() const { return n_y; } + void set_Y_value(const int y) { n_y = y; } + int get_F_value() const { return n_F; } + void set_F_value(const int F) { n_F = F; } + int get_G_value() const { return n_G; } + void set_G_value(const int G) { n_G = G; } + int get_H_value() const { return n_H; } + void set_H_value(const int H) { n_H = H; } + Node* get_parent() const { return n_parent; } + void set_parent(Node* parent) { n_parent = parent; } + +}; \ No newline at end of file diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/src/AStar.cpp" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/src/AStar.cpp" new file mode 100644 index 0000000000000000000000000000000000000000..163b437c9d41f1974e49a123cc6492128755eaf7 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/src/AStar.cpp" @@ -0,0 +1,228 @@ +/** + * @file AStar.cpp + * @author SuJianrong (1014150286@qq.com) + * @brief + * @version 0.1 + * @date 2024-07-24 + * + * @copyright Copyright (c) 2024 + * + */ + +#include"AStarProject/AStar.hpp" +#include"AStarProject/Node.hpp" +#include"AStarProject/Map.hpp" +#include +#include +#include + +/** + * @brief This is a public method which can get the shortest path. + * + * @param startNode + * @param endNode + * @param isIgnoreCorner + * @param a_map + * @return std::list + */ +std::list AStar::getPath(Node& startNode, Node& endNode, bool isIgnoreCorner, Map& a_map) +{ + Node* resultNode = findPath(startNode, endNode, isIgnoreCorner, a_map); + std::list path; + + while (resultNode) { + path.push_front(resultNode); + resultNode = resultNode->get_parent(); + } + + openList.clear(); + closeList.clear(); + + return path; +} + +/** + * @brief The main method of A* Algorithm + * + * @param startNode + * @param endNode + * @param isIgnoreCorner + * @param a_map + * @return Node* + */ +Node* AStar::findPath(Node& startNode, Node& endNode, bool isIgnoreCorner, Map& a_map) +{ + openList.push_back(new Node(startNode.get_X_value(), startNode.get_Y_value())); + while (!openList.empty()) { + auto currentNode = getLeastFnode(); //在openList中找到F值最小的点 + openList.remove(currentNode); //从openList中删除这个点 + closeList.push_back(currentNode); //将这个点放入关闭列表中 + + //找到当前周围8个格中可以通过的格子 + auto surroundNodes = getSurroundNodes(currentNode, isIgnoreCorner, a_map); + //找到后分别处理这些格子 + for (auto& target : surroundNodes) { + //如果当前点不在openList中,将其加入进去,并设置这个点的父节点为当前格,设置F,G,H + if (!isInList(target, openList)) { + target->set_parent(currentNode); + + target->set_G_value(calculate_G_val(currentNode, target)); + target->set_H_value(calculate_H_val(target, &endNode)); + target->set_F_value(calculate_F_val(target)); + + openList.push_back(target); + } + //如果当前点已经在openList中,计算G值,如果比原来的大,就什么都不做,否则设置他的父节点为当前点,并更新G和F + else { + int tempG = calculate_G_val(currentNode, target); + if (tempG < target->get_G_value()) { + target->set_parent(currentNode); + + target->set_G_value(tempG); + target->set_F_value(calculate_F_val(target)); + } + } + Node* resultNode = isInList(&endNode, openList); + if (resultNode) { + return resultNode; + } + } + } + return nullptr; +} + +/** + * @brief Get the Node which has the minimum F value + * + * @return Node* + */ +Node* AStar::getLeastFnode() +{ + if (!openList.empty()) { + auto resultNode = openList.front(); + for (auto& node : openList) { + if (node->get_F_value() < resultNode->get_F_value()) { + resultNode = node; + } + } + return resultNode; + } + return nullptr; +} + +/** + * @brief Get the surrounding nodes + * + * @param node + * @param isIgnoreCorner + * @param a_map + * @return std::vector + */ +std::vector AStar::getSurroundNodes(const Node* node, bool isIgnoreCorner, Map& a_map) const +{ + std::vector surroundNodes; + for (int i = node->get_X_value() - 1; i <= node->get_X_value() + 1; i++) { + for (int j = node->get_Y_value() - 1; j <= node->get_Y_value() + 1; j++) { + if (isCanReach(node, new Node(i, j), isIgnoreCorner, a_map)) { + surroundNodes.push_back(new Node(i, j)); + } + } + } + + return surroundNodes; +} + +/** + * @brief Judege a node which can be reached or not + * + * @param node + * @param target + * @param isIgnoreCorner + * @param a_map + * @return true + * @return false + */ +bool AStar::isCanReach(const Node* node, const Node* target, bool isIgnoreCorner, Map& a_map) const +{ + int x = target->get_X_value(); + int y = target->get_Y_value(); + if (x < 0 || x > a_map.getLength() - 1 || y<0 || y > a_map.getWidth() - 1 + || a_map[x][y] == 1 + || (x == node->get_X_value() && y == node->get_Y_value()) + || isInList(target, closeList)) { + return false; //如果周围的点超出地图范围、是障碍物、与当前点重合、在关闭列表中,均为不可达 + } + else { + if (abs(node->get_X_value() - x) + abs(node->get_Y_value() - y) == 1) { + return true; //上下左右可以 + } + else { + if (a_map[node->get_X_value()][y] == 0 && a_map[x][node->get_Y_value()] == 0) { + return true; //斜对角没有障碍物 + } + else { + return isIgnoreCorner; + } + } + } + return false; +} + +/** + * @brief Judge a node which is in the list or not + * + * @param node + * @param List + * @return Node* + */ +Node* AStar::isInList(const Node* node, const std::list List) const +{ + for (auto p : List) { + if (p->get_X_value() == node->get_X_value() && p->get_Y_value() == node->get_Y_value()) { + return p; + } + } + return nullptr; +} + +/** + * @brief Get G value + * + * @param preNode + * @param node + * @return int + */ +int AStar::calculate_G_val(Node* preNode, Node* node) +{ + int extraG = (abs(preNode->get_X_value() - node->get_X_value()) + abs(preNode->get_Y_value() - node->get_Y_value())) == 1 ? MoveCost1 : MoveCost2; + int parentG = node->get_parent() == nullptr ? 0 : node->get_parent()->get_G_value(); //如果是初始节点,则父节点为空 + return extraG + parentG; +} + +/** + * @brief Get H val + * + * @param node + * @param endNode + * @return int + */ +int AStar::calculate_H_val(Node* node, Node* endNode) +{ + //return (abs(endNode->get_X_value() - node->get_X_value()) + abs(endNode->get_Y_value() - node->get_Y_value())) * MoveCost1; + return sqrt((double)(endNode->get_X_value() - node->get_X_value()) * (double)(endNode->get_X_value() - node->get_X_value()) + + (double)(endNode->get_Y_value() - node->get_Y_value()) * (double)(endNode->get_Y_value() - node->get_Y_value())) * MoveCost1; + +} + +/** + * @brief Get F value + * + * @param node + * @return int + */ +int AStar::calculate_F_val(Node* node) +{ + return node->get_G_value() + node->get_H_value(); +} + + diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/src/Map.cpp" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/src/Map.cpp" new file mode 100644 index 0000000000000000000000000000000000000000..d89961459a8ef0f234a02ddce3239bf73d44fcbf --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/src/Map.cpp" @@ -0,0 +1,103 @@ + +/** + * @file Map.cpp + * @author SuJianrong (1014150286@qq.com) + * @brief + * @version 0.1 + * @date 2024-07-24 + * + * @copyright Copyright (c) 2024 + * + */ + +#include "AStarProject/Map.hpp" +#include +#include // for rand() and srand() +#include // for time() + +/** + * @brief Print the map + * + */ +void Map::showMap() const +{ + std::cout << "The map is:" << std::endl; + for (const auto& row : m_map) { + for (const auto& elem : row) { + if (elem == 0) { + std::cout << "o "; + } + else { + std::cout << "x "; + } + + } + std::cout << std::endl; + } + std::cout << std::endl; +} + +/** + * @brief Print the path + * + * @param path + */ +void Map::showPath(std::list& path) +{ + std::vector> c_map(getLength(), std::vector(getWidth(), '0')); + for (int i = 0; i < getLength(); i++) { + for (int j = 0; j < getWidth(); j++) { + if (m_map[i][j] == 0) { + c_map[i][j] = 'o'; + } + else { + c_map[i][j] = 'x'; + } + } + } + for (auto& p : path) { + c_map[p->get_X_value()][p->get_Y_value()] = '#'; + } + for (int i = 0; i < getLength(); i++) { + for (int j = 0; j < getWidth(); j++) { + std::cout << c_map[i][j] << " "; + } + std::cout << std::endl; + } +} + +/** + * @brief Initiate the map + * + * @param M_map + */ +void Map::initMap(std::vector>& M_map) +{ + m_map = M_map; +} + +/** + * @brief Using randon method to initiate the map + * + * @param rows + * @param cols + * @param obstacleRatio + */ +void Map::initRandonMap(int rows, int cols, double obstacleRatio) +{ + // 初始化随机数生成器 + std::srand(static_cast(std::time(nullptr))); + // 创建二维数组并填充0 + std::vector> M_map(rows, std::vector(cols, 0)); + + // 根据障碍比例随机生成0或1 + for (int i = 0; i < rows; ++i) { + for (int j = 0; j < cols; ++j) { + if (static_cast(std::rand()) / RAND_MAX < obstacleRatio) { + M_map[i][j] = 1; // 设置障碍 + } + } + } + m_map = M_map; +} + diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/src/Node.cpp" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/src/Node.cpp" new file mode 100644 index 0000000000000000000000000000000000000000..d486fc2e094f094987d20f1934a83375a0048808 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/src/Node.cpp" @@ -0,0 +1,21 @@ +#include"AStarProject/Node.hpp" + +Node::Node() +{ + n_x = 0; + n_y = 0; + n_F = 0; + n_G = 0; + n_H = 0; + n_parent = nullptr; +} + +Node::Node(int x, int y) +{ + n_x = x; + n_y = y; + n_F = 0; + n_G = 0; + n_H = 0; + n_parent = nullptr; +} diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/test/CMakeLists.txt" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/test/CMakeLists.txt" new file mode 100644 index 0000000000000000000000000000000000000000..71f07af2a353861b4faab9979b35de8918a70c22 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/test/CMakeLists.txt" @@ -0,0 +1,84 @@ +cmake_minimum_required(VERSION 3.15) + +# +# Project details +# + +project( + ${CMAKE_PROJECT_NAME}Tests + LANGUAGES CXX +) + +verbose_message("Adding tests under ${CMAKE_PROJECT_NAME}Tests...") + +foreach(file ${test_sources}) + string(REGEX REPLACE "(.*/)([a-zA-Z0-9_ ]+)(\.cpp)" "\\2" test_name ${file}) + add_executable(${test_name}_Tests ${file}) + + # + # Set the compiler standard + # + + target_compile_features(${test_name}_Tests PUBLIC cxx_std_17) + + # + # Setup code coverage if enabled + # + + if (${CMAKE_PROJECT_NAME}_ENABLE_CODE_COVERAGE) + target_compile_options(${CMAKE_PROJECT_NAME} PUBLIC -O0 -g -fprofile-arcs -ftest-coverage) + target_link_options(${CMAKE_PROJECT_NAME} PUBLIC -fprofile-arcs -ftest-coverage) + verbose_message("Code coverage is enabled and provided with GCC.") + endif() + + # + # Load the desired unit testing framework + # + # Currently supported: GoogleTest (and GoogleMock), Catch2. + + if(${CMAKE_PROJECT_NAME}_BUILD_EXECUTABLE) + set(${CMAKE_PROJECT_NAME}_TEST_LIB ${CMAKE_PROJECT_NAME}_LIB) + else() + set(${CMAKE_PROJECT_NAME}_TEST_LIB ${CMAKE_PROJECT_NAME}) + endif() + + if(${CMAKE_PROJECT_NAME}_USE_GTEST) + find_package(GTest REQUIRED) + + if(${CMAKE_PROJECT_NAME}_USE_GOOGLE_MOCK) + set(GOOGLE_MOCK_LIBRARIES GTest::gmock GTest::gmock_main) + endif() + + target_link_libraries( + ${test_name}_Tests + PUBLIC + GTest::GTest + GTest::Main + ${GOOGLE_MOCK_LIBRARIES} + ${${CMAKE_PROJECT_NAME}_TEST_LIB} + ) + elseif(${CMAKE_PROJECT_NAME}_USE_CATCH2) + find_package(Catch2 REQUIRED) + target_link_libraries( + ${test_name}_Tests + PUBLIC + Catch2::Catch2 + ${${CMAKE_PROJECT_NAME}_TEST_LIB} + ) + else() + message(FATAL_ERROR "Unknown testing library. Please setup your desired unit testing library by using `target_link_libraries`.") + endif() + + # + # Add the unit tests + # + + add_test( + NAME + ${test_name} + COMMAND + ${test_name}_Tests + ) +endforeach() + +verbose_message("Finished adding unit tests for ${CMAKE_PROJECT_NAME}.") diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/test/src/tmp_test.cpp" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/test/src/tmp_test.cpp" new file mode 100644 index 0000000000000000000000000000000000000000..a6992d07beb58961df40269e7ae91a9c8366209a --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/AStarProject/test/src/tmp_test.cpp" @@ -0,0 +1,148 @@ +/** + * @file tmp_test.cpp + * @author SuJianrong (1014150286@qq.com) + * @brief + * @version 0.1 + * @date 2024-07-24 + * + * @copyright Copyright (c) 2024 + * + */ + +#include +#include +#include"AStarProject/AStar.hpp" +#include"AStarProject/Map.hpp" +#include"AStarProject/Node.hpp" + +/** + * @brief Construct a new TEST object to check the path + * + */ +TEST(MyAstar,CheckPath){ + std::vector> mp = { + {0,0,0,0,1,1,1,1}, + {0,0,0,0,0,1,1,1}, + {1,1,0,1,1,0,0,0}, + {1,0,0,0,0,0,0,0} + }; + AStar astar; + Map mmap; + Node startNode = Node(0, 0); + Node endNode = Node(3, 7); + mmap.initMap(mp); + std::list path = astar.getPath(startNode, endNode, true, mmap); + + std::list result; + result.push_back(new Node(0, 0)); + result.push_back(new Node(0, 1)); + result.push_back(new Node(1, 2)); + result.push_back(new Node(1, 3)); + result.push_back(new Node(1, 4)); + result.push_back(new Node(2, 5)); + result.push_back(new Node(2, 6)); + result.push_back(new Node(3, 7)); + + int flag = true; + std::list::iterator it1 = path.begin(); + std::list::iterator it2 = result.begin(); + for (; it1 != path.end() && it2 != result.end(); it1++, it2++) { + if ((*it1)->get_X_value() != (*it2)->get_X_value() || (*it1)->get_Y_value() != (*it2)->get_Y_value()) { + flag = false; + } + } + EXPECT_EQ(true,flag); +} + +/** + * @brief Construct a new TEST object to check the value of F,G,H + * + */ +TEST(MyAstar, checkValue){ + std::vector> mp = { + {0,0,0,0,1,1,1,1}, + {0,0,0,0,0,1,1,1}, + {1,1,0,1,1,0,0,0}, + {1,0,0,0,0,0,0,0} + }; + AStar astar; + Map mmap; + Node startNode = Node(0, 0); + Node endNode = Node(3, 7); + mmap.initMap(mp); + std::list path = astar.getPath(startNode, endNode, true, mmap); + + int position = 4; + std::list::iterator it = path.begin(); + std::advance(it, position); + EXPECT_EQ((*it)->get_F_value(), 80); + EXPECT_EQ((*it)->get_G_value(), 44); + EXPECT_EQ((*it)->get_H_value(), 36); + EXPECT_NE((*it)->get_F_value(), 200); +} + +int main(int argc, char **argv) { + std::vector> mp = { + {0,0,0,0,1,1,1,1}, + {0,0,0,0,0,1,1,1}, + {1,1,0,1,1,0,0,0}, + {1,0,0,0,0,0,0,0} + }; + AStar astar; + Map mmap; + + while (true) { + std::cout << "输入 '1' 使用原始地图, 输入 '2' 使用随机地图, 输入 '3' 打印地图, 输入 '4' 打印路径, 输入 'q' 退出: "; + char input; + std::cin >> input; + std::cout << std::endl; + + if (input == 'q') { + break; + } + else if (input == '1') { + mmap.initMap(mp); + std::cout << "初始化地图成功!" << std::endl << std::endl; + } + else if (input == '2') { + std::cout << "请输入地图的行数和列数: "; + int rows, cols; + double obstacleRatio = 0.3; // 随机障碍的比例 + std::cin >> rows >> cols; + mmap.initRandonMap(rows, cols, obstacleRatio); + std::cout << "随机地图生成成功!" << std::endl << std::endl; + } + else if (input == '3') { + std::cout << "当前地图为: " << std::endl; + mmap.showMap(); + } + else if (input == '4') { + int x1, x2, y1, y2; + std::cout << "请输入起点和终点的坐标: "; + std::cin >> x1 >> y1 >> x2 >> y2; + Node startNode = Node(x1, y1); + Node endNode = Node(x2, y2); + + std::list path = astar.getPath(startNode, endNode, true, mmap); + + if (!path.empty()) { + std::cout << "The shortest path is: "; + for (auto& p : path) { + std::cout << "(" << p->get_X_value() << "," << p->get_Y_value() << ") "; + } + std::cout << std::endl; + mmap.showPath(path); + } + else { + std::cout << "No path is found!" << std::endl; + } + std::cout << std::endl; + } + else { + std::cout << "无效的输入,请重新输入。" << std::endl; + } + } + + testing::InitGoogleTest(&argc,argv); + return RUN_ALL_TESTS(); +} \ No newline at end of file diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/README.md" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/README.md" new file mode 100644 index 0000000000000000000000000000000000000000..10cb6fdf27eaa9ca74d9cb7732fffe0c88df45e4 --- /dev/null +++ "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/README.md" @@ -0,0 +1,165 @@ +## 1. 问题描述 +已知如下图地图,黑色表示障碍物无法通行,要求实现避障算法寻找从红色起点出发到达绿色终点的最优路径。 +![地图](image/1.png) +要求: +(1)对图中的地图进行建模,抽象成类,对数据进行封装; +(2)思考寻路算法的实现,对问题进行拆解,对算法实现也要求抽象接口类; +(3)使用给定的C++工程[模板](https://github.com/filipdutescu/modern-cpp-template),按照模板编写CMakeLists.txt,以及Google Test单元测试,DoxyGen注释的使用。 + +## 2. 算法原理 +A*算法是一种启发式搜索算法,用于在图中找到从起点到终点的最短路径。它结合了Dijkstra算法和贪心最佳优先搜索算法的优点,通过以下步骤实现路径搜索: +#### 2.1 定义启发函数和代价函数 +A*算法使用两个函数来评估每个节点: +- 代价函数g(n):从起点到当前节点n的实际代价。 +- 启发函数h(n):从当前节点n到目标节点的估计代价,通常使用欧几里得距离或曼哈顿距离。 +#### 2.2 优先队列(开列表) +维护一个待处理节点的优先队列,该队列按照节点的总估计代价f(n)排序,其中f(n)=g(n)+h(n)。起点节点首先被加入开列表,其g值为0,f值为h值。 +#### 2.3 闭列表 +维护一个已处理节点的列表,确保每个节点不会被重复处理。 +#### 2.4 搜索过程 +(1)从开列表中取出f值最小的节点n +(2)如果n是目标节点,搜索结束,路径找到 +(3)否则,将n从开列表移到闭列表中 +(4)对于n的每个相邻节点m,计算从起点到m的新代价g(m)。 +- 如果m在闭列表中且新g(m)不小于旧g(m),跳过; +- 如果m不在开列表中或新g(m)小于旧g(m),更新g(m)和f(m),并将m加入或更新在开列表中。 +#### 2.5 重复搜索过程 +直到找到目标节点或开列表为空(此时表示无路径)。 + +## 3. 算法流程图 +![流程图](image/2.png) + +## 4. 算法实现 +#### 4.1 数据结构 +- 全局常量 + - MoveCost1 = 10 :上下左右横移的代价 + - MoveCost2 = 14 :对角走的代价 +- Node类 + - int n_x, n_y : 结点坐标 (x,y) + - int n_G :起点到该结点的代价 + - int n_H :该结点到终点的代价 + - int n_F :总代价 + - Node* parent :父结点 +- AStar类 + - std::list openList :开启列表 + - std::list closeList :关闭列表 +- Map类 + - std::vector> m_map :地图 + - int length :行数 + - int width :列数 +#### 4.2 核心函数代码 +``` +Node* AStar::findPath(Node& startNode, Node& endNode, bool isIgnoreCorner, Map& a_map) +{ + openList.push_back(new Node(startNode.get_X_value(), startNode.get_Y_value())); + while (!openList.empty()) { + auto currentNode = getLeastFnode(); //在openList中找到F值最小的点 + openList.remove(currentNode); //从openList中删除这个点 + closeList.push_back(currentNode); //将这个点放入关闭列表中 + + //找到当前周围8个格中可以通过的格子 + auto surroundNodes = getSurroundNodes(currentNode, isIgnoreCorner, a_map); + //找到后分别处理这些格子 + for (auto& target : surroundNodes) { + //如果当前点不在openList中,将其加入进去,并设置这个点的父节点为当前格,设置F,G,H + if (!isInList(target, openList)) { + target->set_parent(currentNode); + + target->set_G_value(calculate_G_val(currentNode, target)); + target->set_H_value(calculate_H_val(target, &endNode)); + target->set_F_value(calculate_F_val(target)); + + openList.push_back(target); + } + //如果当前点已经在openList中,计算G值,如果比原来的大,就什么都不做,否则设置他的父节点为当前点,并更新G和F + else { + int tempG = calculate_G_val(currentNode, target); + if (tempG < target->get_G_value()) { + target->set_parent(currentNode); + + target->set_G_value(tempG); + target->set_F_value(calculate_F_val(target)); + } + } + Node* resultNode = isInList(&endNode, openList); + if (resultNode) { + return resultNode; + } + } + } + return NULL; +} +``` +## 5. 实验 +#### 5.1 GoogleTest测试用例 +TEST1:检验路径是否正确 +``` +TEST(MyAstar,CheckPath){ + std::vector> mp = { + {0,0,0,0,1,1,1,1}, + {0,0,0,0,0,1,1,1}, + {1,1,0,1,1,0,0,0}, + {1,0,0,0,0,0,0,0} + }; + AStar astar; + Map mmap; + Node startNode = Node(0, 0); + Node endNode = Node(3, 7); + mmap.initMap(mp); + std::list path = astar.getPath(startNode, endNode, true, mmap); + + std::list result; + result.push_back(new Node(0, 0)); + result.push_back(new Node(0, 1)); + result.push_back(new Node(1, 2)); + result.push_back(new Node(1, 3)); + result.push_back(new Node(1, 4)); + result.push_back(new Node(2, 5)); + result.push_back(new Node(2, 6)); + result.push_back(new Node(3, 7)); + + int flag = true; + std::list::iterator it1 = path.begin(); + std::list::iterator it2 = result.begin(); + for (; it1 != path.end() && it2 != result.end(); it1++, it2++) { + if ((*it1)->get_X_value() != (*it2)->get_X_value() || (*it1)->get_Y_value() != (*it2)->get_Y_value()) { + flag = false; + } + } + EXPECT_EQ(true,flag); +} +``` +TEST2:检验特定点的F、G、H值是否正确 +``` +TEST(MyAstar, checkValue){ + std::vector> mp = { + {0,0,0,0,1,1,1,1}, + {0,0,0,0,0,1,1,1}, + {1,1,0,1,1,0,0,0}, + {1,0,0,0,0,0,0,0} + }; + AStar astar; + Map mmap; + Node startNode = Node(0, 0); + Node endNode = Node(3, 7); + mmap.initMap(mp); + std::list path = astar.getPath(startNode, endNode, true, mmap); + + int position = 4; + std::list::iterator it = path.begin(); + std::advance(it, position); + EXPECT_EQ((*it)->get_F_value(), 80); + EXPECT_EQ((*it)->get_G_value(), 44); + EXPECT_EQ((*it)->get_H_value(), 36); + EXPECT_NE((*it)->get_F_value(), 200); +} +``` +![测试](image/4.png) + +#### 5.2 原始地图测试结果 +![测试](image/3.png) + +#### 5.3 随机地图测试结果 +根据输入的行数、列数、障碍物的比例,生成随机地图,测试A*算法是否可行 +![测试](image/5.png) +![测试](image/6.png) \ No newline at end of file diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/image/1.png" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/image/1.png" new file mode 100644 index 0000000000000000000000000000000000000000..1cbd66063fcf46a5fba43296ab0592adeccf188c Binary files /dev/null and "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/image/1.png" differ diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/image/2.png" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/image/2.png" new file mode 100644 index 0000000000000000000000000000000000000000..2abd554b5d46dd834be327bbb06430572b2e8589 Binary files /dev/null and "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/image/2.png" differ diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/image/3.png" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/image/3.png" new file mode 100644 index 0000000000000000000000000000000000000000..2cf40a314aaac9ae0d707193f18d6e56c1fb93ad Binary files /dev/null and "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/image/3.png" differ diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/image/4.png" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/image/4.png" new file mode 100644 index 0000000000000000000000000000000000000000..d4d68663022aeeac97f4250a65308e031551c23a Binary files /dev/null and "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/image/4.png" differ diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/image/5.png" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/image/5.png" new file mode 100644 index 0000000000000000000000000000000000000000..c08cda6b96ff4560784cdec0f89088328e228f36 Binary files /dev/null and "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/image/5.png" differ diff --git "a/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/image/6.png" "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/image/6.png" new file mode 100644 index 0000000000000000000000000000000000000000..11c71fc39ac4963d15dd25d09ba4fac5b07068b0 Binary files /dev/null and "b/C++/codes/2024-07/\350\213\217\345\235\232\350\215\243/C++Assignment/image/6.png" differ