Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
2
2024ustc-jianmu-compiler
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
compiler_staff
2024ustc-jianmu-compiler
Commits
68c13168
Commit
68c13168
authored
Sep 08, 2024
by
刘睿博
🎯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
fdd10b2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
CMakeLists.txt
CMakeLists.txt
+9
-2
No files found.
CMakeLists.txt
View file @
68c13168
cmake_minimum_required
(
VERSION 3.
5
.0
)
cmake_minimum_required
(
VERSION 3.
8
.0
)
project
(
stl_debug VERSION 0.1.0 LANGUAGES C CXX
)
project
(
stl_debug VERSION 0.1.0 LANGUAGES C CXX
)
set
(
CMAKE_CXX_STANDARD 17
)
set
(
CMAKE_CXX_STANDARD 17
)
set
(
CMAKE_BUILD_TYPE
"Debug"
)
SET
(
CMAKE_CXX_FLAGS_ASAN
"
${
CMAKE_CXX_FLAGS_DEBUG
}
-fsanitize=undefined -fsanitize=address"
)
if
(
CMAKE_BUILD_TYPE STREQUAL
""
)
set
(
CMAKE_BUILD_TYPE
"Debug"
)
endif
()
set
(
CMAKE_EXPORT_COMPILE_COMMANDS ON
)
set
(
CMAKE_EXPORT_COMPILE_COMMANDS ON
)
message
(
STATUS
"BUILD TYPE :
${
CMAKE_BUILD_TYPE
}
"
)
INCLUDE_DIRECTORIES
(
INCLUDE_DIRECTORIES
(
include
include
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment