Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 05ded544 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

add a target to ensure that eztrace modules have been generated

parent 4baa28e9
No related branches found
No related tags found
No related merge requests found
...@@ -50,11 +50,15 @@ if (EZTRACE_FOUND AND EZTRACE_DIR_FOUND) ...@@ -50,11 +50,15 @@ if (EZTRACE_FOUND AND EZTRACE_DIR_FOUND)
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/output DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/output
) )
add_custom_command( add_custom_command(
OUTPUT libeztrace-autostart-chameleon_core.so libeztrace-chameleon_core.so libeztrace-convert-chameleon_core.so OUTPUT libeztrace-convert-chameleon_core.so
COMMAND make COMMAND make
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/output WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/output
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/output DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/output
) )
add_custom_target(
eztrace-module-chameleon_core-libs ALL
DEPENDS libeztrace-convert-chameleon_core.so
)
# installation # installation
# ------------ # ------------
install( install(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment