mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
Fixed CMakeLists - merge_all.py script takes output path.
This commit is contained in:
parent
09aaf25866
commit
103178aa81
@ -61,7 +61,9 @@ else()
|
||||
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/amalgamate)
|
||||
|
||||
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/amalgamate/crow_all.h
|
||||
COMMAND python ${PROJECT_SOURCE_DIR}/amalgamate/merge_all.py ${PROJECT_SOURCE_DIR}/include
|
||||
COMMAND python ${PROJECT_SOURCE_DIR}/amalgamate/merge_all.py
|
||||
${PROJECT_SOURCE_DIR}/include
|
||||
${CMAKE_CURRENT_BINARY_DIR}/amalgamate/crow_all.h
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/amalgamate/crow_all.h ${PROJECT_SOURCE_DIR}/amalgamate
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/amalgamate
|
||||
DEPENDS ${PROJECT_SOURCE_DIR}/include/*.h ${PROJECT_SOURCE_DIR}/include/crow/*.h
|
||||
|
Loading…
Reference in New Issue
Block a user