Set outputs to use bin dir
This commit is contained in:
7
.gitignore
vendored
7
.gitignore
vendored
@@ -78,4 +78,9 @@ CTestTestfile.cmake
|
||||
build
|
||||
|
||||
|
||||
# End of https://www.gitignore.io/api/cmake,clion
|
||||
# End of https://www.gitignore.io/api/cmake,clion
|
||||
|
||||
# binary files
|
||||
/bin/
|
||||
# Codeblocks project
|
||||
/SDB.cbp
|
||||
|
||||
@@ -18,11 +18,11 @@ job_build:
|
||||
name: SDB Linux
|
||||
expire_in: 1 week
|
||||
paths:
|
||||
- src/SDB
|
||||
- bin/SDB
|
||||
|
||||
job_test:
|
||||
stage: test
|
||||
script:
|
||||
- cmake .
|
||||
- make check_SDB
|
||||
- ./tests/check_SDB
|
||||
- ./bin/check_SDB
|
||||
14
.idea/deployment.xml
generated
Normal file
14
.idea/deployment.xml
generated
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="PublishConfigData">
|
||||
<serverData>
|
||||
<paths name="WSL (4b885b4f-b461-4c1d-9382-1e3670cc9635)">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping local="$PROJECT_DIR$" web="/" />
|
||||
</mappings>
|
||||
</serverdata>
|
||||
</paths>
|
||||
</serverData>
|
||||
</component>
|
||||
</project>
|
||||
@@ -1,6 +1,9 @@
|
||||
cmake_minimum_required(VERSION 3.9)
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||
|
||||
set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_SOURCE_DIR}/bin")
|
||||
set(LIBRARY_OUTPUT_PATH "${CMAKE_CURRENT_SOURCE_DIR}/bin")
|
||||
|
||||
project(SDB C)
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user