Commit 02a814d4 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Create the gitversion.h file when compiling the Python module.

parent ea2c3097
......@@ -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")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment