1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00
SqMod/vendor/PUGIXML/CMakeLists.txt
Sandu Liviu Catalin 494aed47bf Backport basic xml.
2021-07-03 20:42:44 +03:00

12 lines
405 B
CMake

# Create the PUGIXML library
add_library(PUGIXML STATIC
include/pugiconfig.hpp
include/pugixml.hpp
pugixml.cpp
)
# Configure include folders
target_include_directories(PUGIXML PRIVATE ${CMAKE_CURRENT_LIST_DIR})
target_include_directories(PUGIXML PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)
# Configure macro options
target_compile_definitions(PUGIXML PRIVATE _WIN32_WINNT=0x0601 PUGIXML_HAS_LONG_LONG=1)