Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
educg-net-12619-928705
helesta
Commits
e4377ed6
Unverified
Commit
e4377ed6
authored
2 years ago
by
王建楠
Committed by
GitHub
2 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #2 from helesta-compiler/cmake
upd CMake
parents
fbe8b970
7910a09f
master
config-func-inline-sub
func-inline-2
func-inline-2-sub
inline
inline-sub
lxl_submit
revert-sub
simplify-frontend
sub
submit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+13
-0
.gitignore
CMakeLists.txt
+7
-0
CMakeLists.txt
with
20 additions
and
0 deletions
+20
-0
.gitignore
+
13
−
0
View file @
e4377ed6
...
...
@@ -2,3 +2,16 @@
.DS_Store
build
cache
# CMake
CMakeLists.txt.user
CMakeCache.txt
CMakeFiles
CMakeScripts
Testing
Makefile
cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
_deps
This diff is collapsed.
Click to expand it.
CMakeLists.txt
+
7
−
0
View file @
e4377ed6
project
(
helesta CXX
)
cmake_minimum_required
(
VERSION 3.16
)
if
(
"
${
CMAKE_SOURCE_DIR
}
"
STREQUAL
"
${
CMAKE_BINARY_DIR
}
"
)
message
(
FATAL_ERROR
"
FATAL: In-source builds are not allowed.
You should create a separete directory for build files.
"
)
endif
()
set
(
CMAKE_EXPORT_COMPILE_COMMANDS ON
)
#aux_source_directory(. DIR_SRC)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets