-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename externals/tinyxml to externals/tinyxml2
- Loading branch information
Showing
29 changed files
with
138 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
INCLUDEPATH += $${PWD} \ | ||
$${PWD}/picojson \ | ||
$${PWD}/simplecpp \ | ||
$${PWD}/tinyxml | ||
$${PWD}/tinyxml2 | ||
|
||
HEADERS += $${PWD}/picojson/picojson.h \ | ||
$${PWD}/simplecpp/simplecpp.h \ | ||
$${PWD}/tinyxml/tinyxml2.h | ||
$${PWD}/tinyxml2/tinyxml2.h | ||
|
||
SOURCES += $${PWD}/simplecpp/simplecpp.cpp \ | ||
$${PWD}/tinyxml/tinyxml2.cpp | ||
$${PWD}/tinyxml2/tinyxml2.cpp |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
file(GLOB hdrs "*.h") | ||
file(GLOB srcs "*.cpp") | ||
|
||
add_library(tinyxml2_objs OBJECT ${srcs} ${hdrs}) | ||
|
||
# TODO: need to be fixed upstream | ||
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU") | ||
target_compile_options(tinyxml2_objs PRIVATE -Wno-suggest-attribute=format) | ||
endif() | ||
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang") | ||
if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS "8.0.0") | ||
target_compile_options(tinyxml2_objs PRIVATE -Wno-extra-semi-stmt) | ||
endif() | ||
endif() | ||
|
||
# TODO: conflicts with ANALYZE_* options | ||
if (ENABLE_OSS_FUZZ AND CMAKE_CXX_COMPILER_ID MATCHES "Clang") | ||
add_library(tinyxml2_objs_sanitized OBJECT EXCLUDE_FROM_ALL ${srcs} ${hdrs}) | ||
target_compile_options(tinyxml2_objs_sanitized PRIVATE -fsanitize=address) | ||
if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS "8.0.0") | ||
target_compile_options(tinyxml2_objs_sanitized PRIVATE -Wno-extra-semi-stmt) | ||
endif() | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
This software is provided 'as-is', without any express or implied | ||
warranty. In no event will the authors be held liable for any | ||
damages arising from the use of this software. | ||
|
||
Permission is granted to anyone to use this software for any | ||
purpose, including commercial applications, and to alter it and | ||
redistribute it freely, subject to the following restrictions: | ||
|
||
1. The origin of this software must not be misrepresented; you must | ||
not claim that you wrote the original software. If you use this | ||
software in a product, an acknowledgment in the product documentation | ||
would be appreciated but is not required. | ||
|
||
2. Altered source versions must be plainly marked as such, and | ||
must not be misrepresented as being the original software. | ||
|
||
3. This notice may not be removed or altered from any source | ||
distribution. |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.