Set outputs to use bin dir
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -79,3 +79,8 @@ 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
|
name: SDB Linux
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
paths:
|
paths:
|
||||||
- src/SDB
|
- bin/SDB
|
||||||
|
|
||||||
job_test:
|
job_test:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- cmake .
|
- cmake .
|
||||||
- make check_SDB
|
- 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)
|
cmake_minimum_required(VERSION 3.9)
|
||||||
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
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)
|
project(SDB C)
|
||||||
set(CMAKE_C_STANDARD 11)
|
set(CMAKE_C_STANDARD 11)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user