mirror of
https://github.com/jezhiggins/arabica
synced 2024-11-17 07:48:50 +01:00
CMake tweaking
This commit is contained in:
parent
afcddb0175
commit
cbb4a0e117
1 changed files with 2 additions and 3 deletions
|
@ -406,12 +406,11 @@ if(MSVC)
|
|||
add_custom_command(OUTPUT ../include/SAX/ArabicaConfig.hpp
|
||||
COMMAND ${CMAKE_CXX_COMPILER} /TC /EP -D ${ARABICA_XML_BACKEND} ${CMAKE_CURRENT_LIST_DIR}/${ARABICA_CONFIG_FILE} > ../include/SAX/ArabicaConfig.hpp
|
||||
)
|
||||
endif()
|
||||
if(CMAKE_COMPILER_IS_GNUCC)
|
||||
else()
|
||||
#
|
||||
# Preprocess configuration file for Linux/GCC
|
||||
add_custom_command(OUTPUT ../include/SAX/ArabicaConfig.hpp
|
||||
COMMAND ${CMAKE_CXX_COMPILER} -E -D ${ARABICA_XML_BACKEND} ${CMAKE_CURRENT_LIST_DIR}/${ARABICA_CONFIG_FILE} > ../include/SAX/ArabicaConfig.hpp
|
||||
COMMAND ${CMAKE_CXX_COMPILER} -E -D ${ARABICA_XML_BACKEND} -D NO_WINDOWS ${CMAKE_CURRENT_LIST_DIR}/${ARABICA_CONFIG_FILE} > ../include/SAX/ArabicaConfig.hpp
|
||||
)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue