Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Touzeau
lruzdd
Commits
cd90f842
Commit
cd90f842
authored
Nov 25, 2018
by
Valentin Touzeau
Committed by
EXT Valentin Touzeau
Nov 25, 2018
Browse files
Fix CMakeLists.txt to build out of sources
parent
ca0b154c
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
cd90f842
...
...
@@ -33,6 +33,9 @@ if(NOT OTAWA_CONFIG)
message
(
FATAL_ERROR
"ERROR: otawa-config is required !"
)
endif
()
endif
()
file
(
COPY
${
CMAKE_CURRENT_SOURCE_DIR
}
/
${
PLUGIN
}
.eld DESTINATION
${
CMAKE_CURRENT_BINARY_DIR
}
/
)
message
(
STATUS
"otawa-config found at
${
OTAWA_CONFIG
}
"
)
execute_process
(
COMMAND
"
${
OTAWA_CONFIG
}
"
--cflags OUTPUT_VARIABLE OTAWA_CFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE
)
execute_process
(
COMMAND
"
${
OTAWA_CONFIG
}
"
--libs --make-plug
${
PLUGIN
}
-r OUTPUT_VARIABLE OTAWA_LDFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE
)
...
...
Write
Preview
Markdown
is supported
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