Unverified Commit e4377ed6 authored by 王建楠's avatar 王建楠 Committed by GitHub
Browse files

Merge pull request #2 from helesta-compiler/cmake

upd CMake
Showing with 20 additions and 0 deletions
+20 -0
......@@ -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
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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment