Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CTA-LAPP
PHOENIX_LIBS
ParserGenerator
Commits
0677e78b
Commit
0677e78b
authored
Apr 22, 2021
by
Pierre Aubert
Browse files
Fix generated CMakeLists.txt
parent
f8815487
Pipeline
#115697
passed with stages
in 15 minutes and 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/CppBackEnd/repr_cpp_cmakelist.cpp
src/CppBackEnd/repr_cpp_cmakelist.cpp
+2
-2
No files found.
src/CppBackEnd/repr_cpp_cmakelist.cpp
View file @
0677e78b
...
...
@@ -27,14 +27,14 @@ bool repr_cpp_cmakeLists(const PTabGraphToken & tabGraphToken){
lib
.
getListSources
().
push_back
(
it
->
getBaseName
()
+
".cpp"
);
lib
.
getListHeaders
().
push_back
(
it
->
getBaseName
()
+
".h"
);
}
lib
.
setInstallDirectory
(
"
lib
"
);
lib
.
setInstallDirectory
(
"
${LIBRARY_DIRECTORY}
"
);
PCMakeListsGenerator
cmake
;
cmake
.
setProjectName
(
tabGraphToken
.
getName
());
cmake
.
setCmakeModulePath
(
"${CMAKE_INSTALL_PREFIX}/share/cmake"
);
cmake
.
getListLibraries
().
push_back
(
lib
);
cmake
.
getListPackage
().
push_back
(
"Phoenix_CORE"
);
//
cmake.getListPackage().push_back("Phoenix_CORE");
if
(
!
saveCMakeListsGenerator
(
"CMakeLists.txt"
,
cmake
)){
cerr
<<
"repr_cpp_cmakeLists : can't save file 'CMakeLists.txt'"
<<
endl
;
...
...
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