Skip to content

Commit

Permalink
211
Browse files Browse the repository at this point in the history
  • Loading branch information
sjnaj committed Feb 11, 2022
1 parent 4757585 commit e4dae00
Show file tree
Hide file tree
Showing 412 changed files with 447,239 additions and 280,944 deletions.
Empty file modified .vscode/launch.json
100644 → 100755
Empty file.
Empty file modified .vscode/settings.json
100644 → 100755
Empty file.
Empty file modified .vscode/tasks.json
100644 → 100755
Empty file.
Empty file modified CppTest/class/.vscode/c_cpp_properties.json
100644 → 100755
Empty file.
Empty file modified CppTest/class/.vscode/launch.json
100644 → 100755
Empty file.
Empty file modified CppTest/class/.vscode/settings.json
100644 → 100755
Empty file.
Empty file modified CppTest/class/.vscode/tasks.json
100644 → 100755
Empty file.
8 changes: 7 additions & 1 deletion CppTest/class/CMakeLists.txt
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,11 @@ add_subdirectory(src) # 添加src子目录
#add_executable( ${PROJECT_NAME} ${ALL_SRCS})//默认projectname就是main
#target_link_libraries( ${PROJECT_NAME} LINK) # 添加链接库,LINK是在src目录的CMakeLists中定义的


if (CMAKE_BUILD_TYPE STREQUAL Debug)##debug模式下
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address -fsanitize=leak")
add_definitions(
-D_DEBUG
)##添加_DEBUG宏

endif ()
include(CPack)
Empty file.
Empty file.
Empty file.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@
[
{
"name" : "HELPSTRING",
"value" : "No help, variable specified on the command line."
"value" : "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel ..."
}
],
"type" : "STRING",
"value" : "Debug"
"value" : "Release"
},
{
"name" : "CMAKE_CACHEFILE_DIR",
Expand Down Expand Up @@ -551,11 +551,11 @@
},
{
"name" : "HELPSTRING",
"value" : "No help, variable specified on the command line."
"value" : "Enable/Disable output of compile commands during generation."
}
],
"type" : "BOOL",
"value" : "TRUE"
"value" : "ON"
},
{
"name" : "CMAKE_EXTRA_GENERATOR",
Expand Down
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
]
}
],
"name" : "Debug",
"name" : "Release",
"projects" :
[
{
Expand Down Expand Up @@ -124,245 +124,245 @@
{
"directoryIndex" : 0,
"id" : "Continuous::@6890427a1f51a3e7e1df",
"jsonFile" : "target-Continuous-Debug-ccb7ffa9978a17909427.json",
"jsonFile" : "target-Continuous-Release-ccb7ffa9978a17909427.json",
"name" : "Continuous",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "ContinuousBuild::@6890427a1f51a3e7e1df",
"jsonFile" : "target-ContinuousBuild-Debug-fbe5c6f13f9d0b0fda7f.json",
"jsonFile" : "target-ContinuousBuild-Release-fbe5c6f13f9d0b0fda7f.json",
"name" : "ContinuousBuild",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "ContinuousConfigure::@6890427a1f51a3e7e1df",
"jsonFile" : "target-ContinuousConfigure-Debug-e50d85f92dff45137d08.json",
"jsonFile" : "target-ContinuousConfigure-Release-e50d85f92dff45137d08.json",
"name" : "ContinuousConfigure",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "ContinuousCoverage::@6890427a1f51a3e7e1df",
"jsonFile" : "target-ContinuousCoverage-Debug-8e77c9844717b5d78f1d.json",
"jsonFile" : "target-ContinuousCoverage-Release-8e77c9844717b5d78f1d.json",
"name" : "ContinuousCoverage",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "ContinuousMemCheck::@6890427a1f51a3e7e1df",
"jsonFile" : "target-ContinuousMemCheck-Debug-6dc397776ac62b583443.json",
"jsonFile" : "target-ContinuousMemCheck-Release-6dc397776ac62b583443.json",
"name" : "ContinuousMemCheck",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "ContinuousStart::@6890427a1f51a3e7e1df",
"jsonFile" : "target-ContinuousStart-Debug-e5333a93d322bdca7e2c.json",
"jsonFile" : "target-ContinuousStart-Release-e5333a93d322bdca7e2c.json",
"name" : "ContinuousStart",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "ContinuousSubmit::@6890427a1f51a3e7e1df",
"jsonFile" : "target-ContinuousSubmit-Debug-4fa6b21fb7b292361882.json",
"jsonFile" : "target-ContinuousSubmit-Release-4fa6b21fb7b292361882.json",
"name" : "ContinuousSubmit",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "ContinuousTest::@6890427a1f51a3e7e1df",
"jsonFile" : "target-ContinuousTest-Debug-568a9c9a705921553383.json",
"jsonFile" : "target-ContinuousTest-Release-568a9c9a705921553383.json",
"name" : "ContinuousTest",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "ContinuousUpdate::@6890427a1f51a3e7e1df",
"jsonFile" : "target-ContinuousUpdate-Debug-64371bec26c652a83b2a.json",
"jsonFile" : "target-ContinuousUpdate-Release-64371bec26c652a83b2a.json",
"name" : "ContinuousUpdate",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "Experimental::@6890427a1f51a3e7e1df",
"jsonFile" : "target-Experimental-Debug-9dd5df03d773a90f3c92.json",
"jsonFile" : "target-Experimental-Release-9dd5df03d773a90f3c92.json",
"name" : "Experimental",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "ExperimentalBuild::@6890427a1f51a3e7e1df",
"jsonFile" : "target-ExperimentalBuild-Debug-73bb360ec85e77324b07.json",
"jsonFile" : "target-ExperimentalBuild-Release-73bb360ec85e77324b07.json",
"name" : "ExperimentalBuild",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "ExperimentalConfigure::@6890427a1f51a3e7e1df",
"jsonFile" : "target-ExperimentalConfigure-Debug-16d715fabac2df4f738b.json",
"jsonFile" : "target-ExperimentalConfigure-Release-16d715fabac2df4f738b.json",
"name" : "ExperimentalConfigure",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "ExperimentalCoverage::@6890427a1f51a3e7e1df",
"jsonFile" : "target-ExperimentalCoverage-Debug-84b4a72b86a74a7b0c74.json",
"jsonFile" : "target-ExperimentalCoverage-Release-84b4a72b86a74a7b0c74.json",
"name" : "ExperimentalCoverage",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "ExperimentalMemCheck::@6890427a1f51a3e7e1df",
"jsonFile" : "target-ExperimentalMemCheck-Debug-e2a5c5b061800616824e.json",
"jsonFile" : "target-ExperimentalMemCheck-Release-e2a5c5b061800616824e.json",
"name" : "ExperimentalMemCheck",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "ExperimentalStart::@6890427a1f51a3e7e1df",
"jsonFile" : "target-ExperimentalStart-Debug-7113052b00f034005848.json",
"jsonFile" : "target-ExperimentalStart-Release-7113052b00f034005848.json",
"name" : "ExperimentalStart",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "ExperimentalSubmit::@6890427a1f51a3e7e1df",
"jsonFile" : "target-ExperimentalSubmit-Debug-5845b4f637743a5446be.json",
"jsonFile" : "target-ExperimentalSubmit-Release-5845b4f637743a5446be.json",
"name" : "ExperimentalSubmit",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "ExperimentalTest::@6890427a1f51a3e7e1df",
"jsonFile" : "target-ExperimentalTest-Debug-46e37abeefe8d5146a50.json",
"jsonFile" : "target-ExperimentalTest-Release-46e37abeefe8d5146a50.json",
"name" : "ExperimentalTest",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "ExperimentalUpdate::@6890427a1f51a3e7e1df",
"jsonFile" : "target-ExperimentalUpdate-Debug-88df2b117e6a7cd48b33.json",
"jsonFile" : "target-ExperimentalUpdate-Release-88df2b117e6a7cd48b33.json",
"name" : "ExperimentalUpdate",
"projectIndex" : 0
},
{
"directoryIndex" : 1,
"id" : "LINK::@145eef247bfb46b6828c",
"jsonFile" : "target-LINK-Debug-241e71e1b84284025037.json",
"jsonFile" : "target-LINK-Release-24b09257647f77353311.json",
"name" : "LINK",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "Nightly::@6890427a1f51a3e7e1df",
"jsonFile" : "target-Nightly-Debug-cea50abb2f464ca0229a.json",
"jsonFile" : "target-Nightly-Release-cea50abb2f464ca0229a.json",
"name" : "Nightly",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "NightlyBuild::@6890427a1f51a3e7e1df",
"jsonFile" : "target-NightlyBuild-Debug-afccd0465e4b8c1e2d87.json",
"jsonFile" : "target-NightlyBuild-Release-afccd0465e4b8c1e2d87.json",
"name" : "NightlyBuild",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "NightlyConfigure::@6890427a1f51a3e7e1df",
"jsonFile" : "target-NightlyConfigure-Debug-7ec533b122c4c2965696.json",
"jsonFile" : "target-NightlyConfigure-Release-7ec533b122c4c2965696.json",
"name" : "NightlyConfigure",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "NightlyCoverage::@6890427a1f51a3e7e1df",
"jsonFile" : "target-NightlyCoverage-Debug-e2b20065ab4aa5f75d86.json",
"jsonFile" : "target-NightlyCoverage-Release-e2b20065ab4aa5f75d86.json",
"name" : "NightlyCoverage",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "NightlyMemCheck::@6890427a1f51a3e7e1df",
"jsonFile" : "target-NightlyMemCheck-Debug-8eda9eba68978ec4ed5b.json",
"jsonFile" : "target-NightlyMemCheck-Release-8eda9eba68978ec4ed5b.json",
"name" : "NightlyMemCheck",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "NightlyMemoryCheck::@6890427a1f51a3e7e1df",
"jsonFile" : "target-NightlyMemoryCheck-Debug-784f4a2876bbb9b4bcea.json",
"jsonFile" : "target-NightlyMemoryCheck-Release-784f4a2876bbb9b4bcea.json",
"name" : "NightlyMemoryCheck",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "NightlyStart::@6890427a1f51a3e7e1df",
"jsonFile" : "target-NightlyStart-Debug-87062bf9eaacc239a2bf.json",
"jsonFile" : "target-NightlyStart-Release-87062bf9eaacc239a2bf.json",
"name" : "NightlyStart",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "NightlySubmit::@6890427a1f51a3e7e1df",
"jsonFile" : "target-NightlySubmit-Debug-00614dd8d283eaa542b9.json",
"jsonFile" : "target-NightlySubmit-Release-00614dd8d283eaa542b9.json",
"name" : "NightlySubmit",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "NightlyTest::@6890427a1f51a3e7e1df",
"jsonFile" : "target-NightlyTest-Debug-b8d330abdb63439bfe9e.json",
"jsonFile" : "target-NightlyTest-Release-b8d330abdb63439bfe9e.json",
"name" : "NightlyTest",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "NightlyUpdate::@6890427a1f51a3e7e1df",
"jsonFile" : "target-NightlyUpdate-Debug-b681408b94dc782d2255.json",
"jsonFile" : "target-NightlyUpdate-Release-b681408b94dc782d2255.json",
"name" : "NightlyUpdate",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "main::@6890427a1f51a3e7e1df",
"jsonFile" : "target-main-Debug-08b1d7cdaa4e8276aff4.json",
"jsonFile" : "target-main-Release-6fec039c6a4140b383fa.json",
"name" : "main",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "main2::@6890427a1f51a3e7e1df",
"jsonFile" : "target-main2-Debug-2633e27d385823c974e8.json",
"jsonFile" : "target-main2-Release-714bae9e92b9f490ad0e.json",
"name" : "main2",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "main3::@6890427a1f51a3e7e1df",
"jsonFile" : "target-main3-Debug-bae19100faeed6b4c1a1.json",
"jsonFile" : "target-main3-Release-a1d6bca1a4740dfe33b1.json",
"name" : "main3",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "mainptrtest::@6890427a1f51a3e7e1df",
"jsonFile" : "target-mainptrtest-Debug-71da133c3cce03454df4.json",
"jsonFile" : "target-mainptrtest-Release-a41a6263fc14c6d5c7f9.json",
"name" : "mainptrtest",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "maintest::@6890427a1f51a3e7e1df",
"jsonFile" : "target-maintest-Debug-ea66b84c0e36c5b8a78f.json",
"jsonFile" : "target-maintest-Release-f724cc7babeaf5a8d9ad.json",
"name" : "maintest",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "maintest1::@6890427a1f51a3e7e1df",
"jsonFile" : "target-maintest1-Debug-5ce15e70b12873d11b57.json",
"jsonFile" : "target-maintest1-Release-c2807de68d156d21fb49.json",
"name" : "maintest1",
"projectIndex" : 0
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"objects" :
[
{
"jsonFile" : "codemodel-v2-a23ca2556580e5a13852.json",
"jsonFile" : "codemodel-v2-f8a32ae11789c5941e72.json",
"kind" : "codemodel",
"version" :
{
Expand All @@ -34,7 +34,7 @@
}
},
{
"jsonFile" : "cache-v2-a2abbb6f9750df8be968.json",
"jsonFile" : "cache-v2-dd2addf33b7de1ab7907.json",
"kind" : "cache",
"version" :
{
Expand All @@ -58,7 +58,7 @@
{
"cache-v2" :
{
"jsonFile" : "cache-v2-a2abbb6f9750df8be968.json",
"jsonFile" : "cache-v2-dd2addf33b7de1ab7907.json",
"kind" : "cache",
"version" :
{
Expand All @@ -78,7 +78,7 @@
},
"codemodel-v2" :
{
"jsonFile" : "codemodel-v2-a23ca2556580e5a13852.json",
"jsonFile" : "codemodel-v2-f8a32ae11789c5941e72.json",
"kind" : "codemodel",
"version" :
{
Expand Down Expand Up @@ -109,7 +109,7 @@
"responses" :
[
{
"jsonFile" : "cache-v2-a2abbb6f9750df8be968.json",
"jsonFile" : "cache-v2-dd2addf33b7de1ab7907.json",
"kind" : "cache",
"version" :
{
Expand All @@ -118,7 +118,7 @@
}
},
{
"jsonFile" : "codemodel-v2-a23ca2556580e5a13852.json",
"jsonFile" : "codemodel-v2-f8a32ae11789c5941e72.json",
"kind" : "codemodel",
"version" :
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"compileCommandFragments" :
[
{
"fragment" : " -save-temps=obj -std=c++17 -g "
"fragment" : " -save-temps=obj -std=c++17 -O3 -DNDEBUG "
}
],
"includes" :
Expand Down
Loading

0 comments on commit e4dae00

Please sign in to comment.