Set outputs to use bin dir

This commit is contained in:
2019-12-04 21:51:20 +00:00
parent 892994331a
commit 5430222e26
4 changed files with 25 additions and 3 deletions

7
.gitignore vendored
View File

@@ -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

View File

@@ -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
View 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>

View File

@@ -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)