mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-09-06 15:28:39 +00:00
41 lines
1.3 KiB
CMake
41 lines
1.3 KiB
CMake
set(DCOMPONENTS_TESTS
|
|
"AchievementVendorComponentTests.cpp"
|
|
"BaseCombatAIComponentTests.cpp"
|
|
"BouncerComponentTests.cpp"
|
|
"BuffComponentTests.cpp"
|
|
"CollectibleComponentTests.cpp"
|
|
"ControllablePhysicsComponentTests.cpp"
|
|
"DestroyableComponentTests.cpp"
|
|
"DonationVendorComponentTests.cpp"
|
|
"HavokVehiclePhysicsComponentTests.cpp"
|
|
"ItemComponentTests.cpp"
|
|
"LevelProgressionComponentTests.cpp"
|
|
"LUPExhibitComponentTests.cpp"
|
|
"ModelComponentTests.cpp"
|
|
"MovingPlatformComponentTests.cpp"
|
|
"PetComponentTests.cpp"
|
|
"PhantomPhysicsComponentTests.cpp"
|
|
"QuickBuildComponentTests.cpp"
|
|
"RenderComponentTests.cpp"
|
|
"SavingTests.cpp"
|
|
"ScriptedActivityComponentTests.cpp"
|
|
"ScriptComponentTests.cpp"
|
|
"SimplePhysicsComponentTests.cpp"
|
|
"SkillComponentTests.cpp"
|
|
"SoundTriggerComponentTests.cpp"
|
|
"SwitchComponentTests.cpp"
|
|
"VendorComponentTests.cpp"
|
|
)
|
|
|
|
# Get the folder name and prepend it to the files above
|
|
get_filename_component(thisFolderName ${CMAKE_CURRENT_SOURCE_DIR} NAME)
|
|
list(TRANSFORM DCOMPONENTS_TESTS PREPEND "${thisFolderName}/")
|
|
|
|
# Export to parent scope
|
|
set(DCOMPONENTS_TESTS ${DCOMPONENTS_TESTS} PARENT_SCOPE)
|
|
|
|
# Copy test files to testing directory
|
|
add_subdirectory(TestData)
|
|
list(TRANSFORM COMPONENT_TEST_DATA PREPEND "${thisFolderName}/")
|
|
set(COMPONENT_TEST_DATA ${COMPONENT_TEST_DATA} PARENT_SCOPE)
|