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
BC
public
linphone-cmake-builder
Commits
02a814d4
Commit
02a814d4
authored
Aug 12, 2014
by
Ghislain MARY
Browse files
Create the gitversion.h file when compiling the Python module.
parent
ea2c3097
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
configs/python/CMakeLists.txt
configs/python/CMakeLists.txt
+5
-0
No files found.
configs/python/CMakeLists.txt
View file @
02a814d4
...
...
@@ -53,6 +53,11 @@ else()
endif
()
STRING
(
REGEX REPLACE
"([0-9.]+)-?.*"
"
\\
1"
LINPHONE_VERSION
"
${
LINPHONE_GIT_REVISION
}
"
)
execute_process
(
COMMAND
${
CMAKE_COMMAND
}
-E echo
"#define LINPHONE_GIT_REVISION
\"
${
LINPHONE_GIT_REVISION
}
\"
"
OUTPUT_FILE
${
CMAKE_CURRENT_BINARY_DIR
}
/gitversion.h
)
# Find the doxygen XML directory
file
(
GLOB XML_DIR
"
${
CMAKE_INSTALL_PREFIX
}
/share/doc/linphone-*/xml"
)
...
...
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