Commit b401a0b0 authored by François Grisez's avatar François Grisez
Browse files

Fix build error caused by concurrent execution of cpp/genwrapper.py

The actual fix is in cpp/CMakeLists.txt.
The modification of csharp/CMakeLists.txt is just to remove
a useless dependency.
parent 5aa11b8c
......@@ -43,6 +43,8 @@ add_library(linphone++ SHARED
tools.cc
${CMAKE_CURRENT_BINARY_DIR}/src/linphone++.cc
)
add_dependencies(linphone++ linphone-cxx-wrapper)
if(APPLE)
set_target_properties(linphone++ PROPERTIES OUTPUT_NAME linphone++)
else()
......
......@@ -24,7 +24,6 @@ add_custom_command(OUTPUT LinphoneWrapper.cs
COMMAND ${CMAKE_COMMAND} -E remove_directory "${CMAKE_INSTALL_DATADIR}/linphonecs/"
COMMAND ${PYTHON_EXECUTABLE} "${CMAKE_CURRENT_SOURCE_DIR}/genwrapper.py" "${PROJECT_BINARY_DIR}/coreapi/help/doc/doxygen/xml"
DEPENDS ${PROJECT_SOURCE_DIR}/tools/genapixml.py
${LINPHONE_HEADER_FILES}
${PROJECT_SOURCE_DIR}/tools/metadoc.py
${PROJECT_SOURCE_DIR}/tools/abstractapi.py
genwrapper.py
......
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