Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
generators
EMAM2Cpp
Commits
4c483934
Commit
4c483934
authored
Oct 14, 2018
by
Christoph Richter
Committed by
Christoph Richter
Oct 29, 2018
Browse files
AutopilotAdapter cmake install options for windows
parent
5ca0cdf7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/de/monticore/lang/monticar/generator/cpp/GeneratorCPP.java
View file @
4c483934
...
...
@@ -400,8 +400,11 @@ public class GeneratorCPP implements Generator {
cmake
.
addCMakeCommandEnd
(
"target_include_directories(AutopilotAdapter PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})"
);
cmake
.
addCMakeCommandEnd
(
"target_link_libraries(AutopilotAdapter PUBLIC ${LIBS})"
);
cmake
.
addCMakeCommandEnd
(
"set_target_properties(AutopilotAdapter PROPERTIES LINKER_LANGUAGE CXX)"
);
cmake
.
addCMakeCommand
(
"IF (WIN32)"
);
cmake
.
addCMakeCommandEnd
(
"set_target_properties(AutopilotAdapter PROPERTIES PREFIX \"\")"
);
cmake
.
addCMakeCommand
(
"ENDIF()"
);
// install shared lib
cmake
.
addCMakeCommandEnd
(
"install(TARGETS AutopilotAdapter DESTINATION
\"./\"
)"
);
cmake
.
addCMakeCommandEnd
(
"install(TARGETS AutopilotAdapter DESTINATION
$ENV{DLL_DIR}
)"
);
cmake
.
addCMakeCommandEnd
(
"export(TARGETS AutopilotAdapter FILE de_rwth_armin_modeling_autopilot_autopilotAdapter.cmake)"
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment