Commit b73c3c50 authored by Evgeny Kusmenko's avatar Evgeny Kusmenko
Browse files

Merge branch 'OptionsFix' into 'master'

Options fix

See merge request !5
parents ac836335 d9c8389d
Pipeline #363279 passed with stage
in 3 minutes and 30 seconds
......@@ -6,10 +6,24 @@ stages:
TestJobLinux:
stage: linux
image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/applications/gans/mnist-infogan/gans_mxnet:latest
script:
- chmod +x build.sh
- ./build.sh
- git clone https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMADL2CPP.git
- cd EMADL2CPP
- mvn clean install -s settings.xml -DskipTests
- cd ..
- rm -rf target
- find ./EMADL2CPP/target -name "*SNAPSHOT-jar-with-dependencies.jar" -exec java -jar {} -m src/main/emam/ -r ba.ballTracking -o target -flag-generate-cmake \;
- rm -rf build
- mkdir build && cd build
- echo "Building BallTracking.."
- cmake ..
- make
except:
changes:
- README.md
- .gitignore
\ No newline at end of file
- .gitignore
rm -rf target
java -jar embedded-montiarc-math-generator-0.1.16-SNAPSHOT-jar-with-dependencies.jar -m src/main/emam/ -r ba.ballTracking -o target -flag-generate-cmake
java -jar embedded-montiarc-emadl-generator-0.4.3-SNAPSHOT-jar-with-dependencies.jar -m src/main/emam/ -r ba.ballTracking -o target -flag-generate-cmake
rm -rf build
mkdir build && cd build
......
......@@ -5,12 +5,7 @@ set(CMAKE_CXX_STANDARD 11)
add_executable(BallTracking BallTracking.cpp)
set_target_properties(BallTracking PROPERTIES LINKER_LANGUAGE CXX)
find_package(OpenCV REQUIRED)
set(INCLUDE_DIRS ${INCLUDE_DIRS} ${OpenCV_INCLUDE_DIRS})
set(LIBS ${LIBS} ${OpenCV_LIBS})
target_include_directories(BallTracking PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(BallTracking ba_ballTracking ${LIBS} -lblas -lopenblas)
export(TARGETS BallTracking FILE BallTracking.cmake)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment