Commit 94a1fe7f authored by Florian Raeth's avatar Florian Raeth

fix cmake {comp}.cpp / .h

parent 3460f95e
......@@ -7,7 +7,7 @@
<groupId>de.monticore.lang.monticar</groupId>
<artifactId>embedded-montiarc-math-emam2someip-generator</artifactId>
<version>1.2-SNAPSHOT</version>
<version>1.3-SNAPSHOT</version>
<name>emam2someip</name>
......
......@@ -17,11 +17,9 @@ include_directories (
)
# Linking libraries to target
add_library(SomeIPAdapter_${model.getEscapedCompName()} SomeIPAdapter_${model.getEscapedCompName()}.cpp
add_library(SomeIPAdapter_${model.getEscapedCompName()}
SomeIPAdapter_${model.getEscapedCompName()}.cpp
SomeIPAdapter_${model.getEscapedCompName()}.h
${model.getEscapedCompName()}.cpp
${model.getEscapedCompName()}.h
)
list(APPEND LIBRARIES ${model.getEscapedCompName()})
......
......@@ -15,11 +15,9 @@ include_directories (
)
# Linking libraries to target
add_library(SomeIPAdapter_tests_a_compA SomeIPAdapter_tests_a_compA.cpp
add_library(SomeIPAdapter_tests_a_compA
SomeIPAdapter_tests_a_compA.cpp
SomeIPAdapter_tests_a_compA.h
tests_a_compA.cpp
tests_a_compA.h
)
list(APPEND LIBRARIES tests_a_compA)
......
......@@ -15,11 +15,9 @@ include_directories (
)
# Linking libraries to target
add_library(SomeIPAdapter_tests_a_compA SomeIPAdapter_tests_a_compA.cpp
add_library(SomeIPAdapter_tests_a_compA
SomeIPAdapter_tests_a_compA.cpp
SomeIPAdapter_tests_a_compA.h
tests_a_compA.cpp
tests_a_compA.h
)
list(APPEND LIBRARIES tests_a_compA)
......
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