Skip to content

Commit

Permalink
adding v1_3 to build process
Browse files Browse the repository at this point in the history
  • Loading branch information
kmfrank committed Sep 25, 2024
1 parent fa187a4 commit a83e3fe
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/buildArtifact/collectHeaderFiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ FIND_HEADERS_SH=${FIND_HEADERS_SH_PATH}/${FIND_HEADERS_SH_FILE}
# prepare inlude paths for C++ compiler in order to extract ALL necessary non-system include files
# this has to be done outside the openScenarioReader project folder to also reach all referenced external dependencies
echo "#!/bin/bash" >${FIND_HEADERS_SH}
echo "cpp -DCOLLECT_HEADERS -DSUPPORT_OSC_1_0 -DSUPPORT_OSC_1_1 -DSUPPORT_OSC_1_2 -MM \\" >>${FIND_HEADERS_SH}
echo "cpp -DCOLLECT_HEADERS -DSUPPORT_OSC_1_0 -DSUPPORT_OSC_1_1 -DSUPPORT_OSC_1_2 -DSUPPORT_OSC_1_3 -MM \\" >>${FIND_HEADERS_SH}
for i in $(find . -type d -print); do
if [[ $i == *"CMake"* ]] || [[ $i == *"antlr_runtime"* ]] || [[ $i == *"ython"* ]] || [[ $i == *"java"* ]] || [[ $i == *".dir"* ]] || [[ $i == "./build"* ]]; then
continue
Expand Down
4 changes: 4 additions & 0 deletions cpp/buildArtifact/createCMakeLists.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ set( ENV{CMAKE_BUILD_PARALLEL_LEVEL} 4 )
option(SUPPORT_OSC_1_0 \"Build the artifacts supporting OSC standard version 1.0\" ON)
option(SUPPORT_OSC_1_1 \"Build the artifacts supporting OSC standard version 1.1\" ON)
option(SUPPORT_OSC_1_2 \"Build the artifacts supporting OSC standard version 1.2\" ON)
option(SUPPORT_OSC_1_3 \"Build the artifacts supporting OSC standard version 1.3\" ON)
if (SUPPORT_OSC_1_0)
add_definitions(-DSUPPORT_OSC_1_0)
Expand All @@ -88,6 +89,9 @@ endif (SUPPORT_OSC_1_1)
if (SUPPORT_OSC_1_2)
add_definitions(-DSUPPORT_OSC_1_2)
endif (SUPPORT_OSC_1_2)
if (SUPPORT_OSC_1_3)
add_definitions(-DSUPPORT_OSC_1_3)
endif (SUPPORT_OSC_1_3)
if( WIN32 )
add_definitions( -D_CRT_SECURE_NO_WARNINGS )
Expand Down
6 changes: 6 additions & 0 deletions cpp/buildArtifact/createLinuxWindowsBinPackage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ cp -f "${SCRIPT_DIR}/../CMakeHelpers.cmake" "${SCRIPT_DIR}/${OPEN_SCEANARIO_API}
################################################################
cp -r "${SCRIPT_DIR}/../applications/openScenarioTester/res" "${SCRIPT_DIR}/${OPEN_SCEANARIO_API}"

################################################################
# copy LICENSE and NOTICE
################################################################
cp "${SCRIPT_DIR}/../../LICENSE" "${SCRIPT_DIR}/${OPEN_SCEANARIO_API}"
cp "${SCRIPT_DIR}/../../NOTICE"

################################################################
# prepare lib files
################################################################
Expand Down

0 comments on commit a83e3fe

Please sign in to comment.