Move build to the separate directory
This commit is contained in:
parent
faede833bc
commit
7942ac6a63
3 changed files with 4 additions and 3 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -4,8 +4,7 @@ Makefile
|
||||||
cmake_install.cmake
|
cmake_install.cmake
|
||||||
install_manifest.txt
|
install_manifest.txt
|
||||||
|
|
||||||
matabstrix.html
|
/build/**/*
|
||||||
matabstrix.js
|
!/build/.keep
|
||||||
matabstrix.data
|
|
||||||
|
|
||||||
*.blend1
|
*.blend1
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
cmake_minimum_required (VERSION 3.0)
|
cmake_minimum_required (VERSION 3.0)
|
||||||
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
|
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
|
||||||
|
|
||||||
|
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY "build")
|
||||||
|
|
||||||
project (Matabstrix)
|
project (Matabstrix)
|
||||||
add_definitions ("-std=c++14 -Wall -Wextra")
|
add_definitions ("-std=c++14 -Wall -Wextra")
|
||||||
set (CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "--use-preload-plugins --preload-file data")
|
set (CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "--use-preload-plugins --preload-file data")
|
||||||
|
|
0
build/.keep
Normal file
0
build/.keep
Normal file
Reference in a new issue