-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from Electrostat-Lab/unifying-building-abstrac…
…tion Unifying building abstraction
- Loading branch information
Showing
21 changed files
with
170 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...-run-configs/generate-doxy-config.run.xml → .studio-run-configs/generate-docs.run.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 0 additions & 55 deletions
55
electrostatic-sandbox-framework/electrostatic-examples/CMakeLists.txt
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,42 @@ | ||
#!/bin/bash | ||
|
||
function compile() { | ||
local COMMISSION_LIB=${1} | ||
local COMMISSION_OUTPUT=${1} | ||
local GCC_BIN=${2} | ||
local GPP_BIN=${3} | ||
local BUILD_SHARED=${4} | ||
local INPUT_COMPILER_OPTIONS=${5} | ||
local TARGET=${6} | ||
local TOOLCHAIN_HEADERS=${7} | ||
local BUILD_DIR=${8} | ||
local CMAKE_DIR=${9} | ||
local BUILD_STATIC=${4} | ||
local BUILD_SHARED=${5} | ||
local BUILD_EXE=${6} | ||
local INPUT_COMPILER_OPTIONS=${7} | ||
local TARGET=${8} | ||
local HEADERS=${9} | ||
local SOURCES_DIR=${10} | ||
local PROJECT_SOURCES=${11} | ||
local DEPENDENCIES=${12} | ||
|
||
local BUILD_DIR=${13} | ||
local CMAKE_DIR=${14} | ||
|
||
local TEMP=$(pwd) | ||
|
||
cd ${CMAKE_DIR} | ||
cd "${CMAKE_DIR}" || exit $? | ||
|
||
cmake-3.19 "-DCOMMISSION_LIB=${COMMISSION_LIB}" \ | ||
cmake-3.19 "-DCOMMISSION_OUTPUT=${COMMISSION_OUTPUT}" \ | ||
"-DGCC_BIN=${GCC_BIN}" \ | ||
"-DGPP_BIN=${GPP_BIN}" \ | ||
"-DBUILD_STATIC=${BUILD_STATIC}" \ | ||
"-DBUILD_SHARED=${BUILD_SHARED}" \ | ||
"-DBUILD_EXE=${BUILD_EXE}" \ | ||
"-DINPUT_COMPILER_OPTIONS=${INPUT_COMPILER_OPTIONS}" \ | ||
"-DTARGET=${TARGET}" \ | ||
"-DTOOLCHAIN_HEADERS=${TOOLCHAIN_HEADERS}" \ | ||
"-DBUILD_DIR=${BUILD_DIR}" \ | ||
"-DHEADERS=${HEADERS}" \ | ||
"-DSOURCES_DIR=${SOURCES_DIR}" \ | ||
"-DPROJECT_SOURCES=${PROJECT_SOURCES}" \ | ||
"-DDEPENDENCIES=${DEPENDENCIES}" \ | ||
"-DBUILD_DIR=${BUILD_DIR}" \ | ||
-S . -B "$(pwd)/${SOURCES_DIR}/cmake-build/${BUILD_DIR}" | ||
|
||
cmake-3.19 --build "$(pwd)/${SOURCES_DIR}/cmake-build/${BUILD_DIR}" | ||
cd ${TEMP} | ||
cmake-3.19 --build "$(pwd)/${SOURCES_DIR}/cmake-build/${BUILD_DIR}" || exit $? | ||
|
||
cd "${TEMP}" || exit $? | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.