mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-27 21:58:30 +01:00
Prevent unnecessary rebuilds.
This commit is contained in:
parent
337092fa4e
commit
941d3854c9
1 changed files with 1 additions and 2 deletions
|
@ -411,8 +411,7 @@ else()
|
|||
message("${CMAKE_CXX_COMPILER} -E -D ${ARABICA_XML_BACKEND} -D NO_WINDOWS ${CMAKE_CURRENT_LIST_DIR}/${ARABICA_CONFIG_FILE} -o ${CMAKE_CURRENT_LIST_DIR}/include/SAX/ArabicaConfig.hpps")
|
||||
|
||||
add_custom_command(OUTPUT include/SAX/ArabicaConfig.hpp
|
||||
COMMAND ${CMAKE_CXX_COMPILER} -E -D ${ARABICA_XML_BACKEND} -D NO_WINDOWS ${CMAKE_CURRENT_LIST_DIR}/${ARABICA_CONFIG_FILE} -o ${CMAKE_CURRENT_LIST_DIR}/include/SAX/ArabicaConfig.hpp
|
||||
)
|
||||
COMMAND ${CMAKE_CXX_COMPILER} -E -D ${ARABICA_XML_BACKEND} -D NO_WINDOWS ${CMAKE_CURRENT_LIST_DIR}/${ARABICA_CONFIG_FILE} -o ${CMAKE_CURRENT_LIST_DIR}/include/SAX/ArabicaConfig.hpp.new && ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_LIST_DIR}/include/SAX/ArabicaConfig.hpp.new ${CMAKE_CURRENT_LIST_DIR}/include/SAX/ArabicaConfig.hpp && ${CMAKE_COMMAND} -E remove ${CMAKE_CURRENT_LIST_DIR}/include/SAX/ArabicaConfig.hpp.new)
|
||||
endif()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue