pugixml: update submodule and build integration
This commit is contained in:
Vendored
+1
-1
Submodule 3rdparty/pugixml updated: 257fbb4e1b...8436f2a69b
@@ -36,6 +36,8 @@ if (NOT USE_SYSTEM_LIBPNG)
|
||||
add_subdirectory(3rdparty/libpng EXCLUDE_FROM_ALL)
|
||||
endif()
|
||||
|
||||
add_subdirectory(3rdparty/pugixml EXCLUDE_FROM_ALL)
|
||||
|
||||
# TODO: do real installation, including copying directory structure
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE "${PROJECT_BINARY_DIR}/bin")
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG "${PROJECT_BINARY_DIR}/bin")
|
||||
|
||||
+1
-5
@@ -1,10 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef PUGIXML_HEADER_ONLY
|
||||
#define PUGIXML_HEADER_ONLY 1
|
||||
#endif // !PUGIXML_HEADER_ONLY
|
||||
#include "pugixml.hpp"
|
||||
#undef PUGIXML_HEADER_ONLY
|
||||
#include <pugixml.hpp>
|
||||
|
||||
struct rXmlNode
|
||||
{
|
||||
|
||||
@@ -289,7 +289,6 @@ endif()
|
||||
include_directories(
|
||||
${OPENAL_INCLUDE_DIR}
|
||||
${LLVM_INCLUDE_DIRS}
|
||||
"${RPCS3_SRC_DIR}/../3rdparty/pugixml/src"
|
||||
"${RPCS3_SRC_DIR}"
|
||||
"${RPCS3_SRC_DIR}/Loader"
|
||||
"${RPCS3_SRC_DIR}/Crypto"
|
||||
@@ -401,7 +400,7 @@ if(VULKAN_FOUND)
|
||||
target_link_libraries(rpcs3 SPIRV Vulkan::Vulkan)
|
||||
endif()
|
||||
|
||||
target_link_libraries(rpcs3 xxhash yaml-cpp)
|
||||
target_link_libraries(rpcs3 pugixml xxhash yaml-cpp)
|
||||
|
||||
if(WIN32)
|
||||
target_link_libraries(rpcs3 ws2_32.lib Winmm.lib Psapi.lib gdi32.lib setupapi.lib hidapi-hid Shlwapi.lib)
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||
</Lib>
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>PUGIXML_HEADER_ONLY;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<SDLCheck>false</SDLCheck>
|
||||
|
||||
Reference in New Issue
Block a user