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
PhoenixGraph
Commits
6805a82b
Commit
6805a82b
authored
Sep 20, 2020
by
Pierre Aubert
Browse files
Take account version in compilation
parent
badf36eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
cmake/phoenix_base_project.cmake
cmake/phoenix_base_project.cmake
+5
-5
No files found.
cmake/phoenix_base_project.cmake
View file @
6805a82b
...
...
@@ -14,19 +14,19 @@ function(phoenix_base_project programName programVersion programDescritpion prog
set
(
PROGRAM_HOMEPAGE
"
${
programHomePage
}
"
CACHE STRING
"home page of the current project"
FORCE
)
set
(
LIBRARY_DIRECTORY
"lib"
CACHE STRING
"define the library directory (especially for Fedora with the wtf lib64)"
FORCE
)
set
(
DOC_MODE no CACHE BOOL
"Doc mode"
FORCE
)
set
(
DOC_MODE no CACHE BOOL
"Doc mode"
)
set
(
SELF_TESTS_MODE yes CACHE BOOL
"Self test mode"
FORCE
)
set
(
SELF_TESTS_MODE yes CACHE BOOL
"Self test mode"
)
message
(
STATUS
"SELF_TESTS_MODE =
${
SELF_TESTS_MODE
}
"
)
set
(
PHOENIX_INSTALL_PREFIX
"$ENV{HOME}/usr"
CACHE STRING
"Install prefix"
FORCE
)
set
(
PHOENIX_INSTALL_PREFIX
"$ENV{HOME}/usr"
CACHE STRING
"Install prefix"
)
if
(
CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT
)
set
(
CMAKE_INSTALL_PREFIX
"
${
PHOENIX_INSTALL_PREFIX
}
"
CACHE PATH
"cmake install prefix"
FORCE
)
endif
(
CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT
)
set
(
CMAKE_MODULE_PATH
${
CMAKE_INSTALL_PREFIX
}
/share/cmake CACHE STRING
"cmake module path"
FORCE
)
set
(
PHOENIX_FORCE_PULL_MODULE no CACHE BOOL
"Say if the submodule have to be pulled every time or not"
FORCE
)
set
(
CMAKE_MODULE_PATH
${
CMAKE_INSTALL_PREFIX
}
/share/cmake CACHE STRING
"cmake module path"
)
set
(
PHOENIX_FORCE_PULL_MODULE no CACHE BOOL
"Say if the submodule have to be pulled every time or not"
)
add_definitions
(
--std=c++11 -Wall -Werror -g -O2 -D__PROGRAM_VERSION__=
"
${
PROGRAM_VERSION
}
"
)
...
...
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