mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-03 20:40:35 +00:00
update lib
can use original cmakelists.txt from torque, but update naming to tinyxml2
This commit is contained in:
parent
69e763f698
commit
142467ccc6
387 changed files with 25588 additions and 14101 deletions
20
Engine/lib/tinyxml2/test/CMakeLists.txt
Normal file
20
Engine/lib/tinyxml2/test/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
cmake_minimum_required(VERSION 3.15)
|
||||
project(tinyxml2-test)
|
||||
|
||||
enable_testing()
|
||||
|
||||
find_package(tinyxml2 REQUIRED)
|
||||
|
||||
add_executable(xmltest ../xmltest.cpp)
|
||||
target_link_libraries(xmltest PRIVATE tinyxml2::tinyxml2)
|
||||
|
||||
add_test(
|
||||
NAME xmltest
|
||||
COMMAND xmltest
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/.."
|
||||
)
|
||||
|
||||
set_tests_properties(xmltest
|
||||
PROPERTIES
|
||||
PASS_REGULAR_EXPRESSION ", Fail 0"
|
||||
ENVIRONMENT "PATH=$<TARGET_FILE_DIR:tinyxml2::tinyxml2>")
|
||||
Loading…
Add table
Add a link
Reference in a new issue