mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-10 18:28:21 +00:00
11 lines
332 B
CMake
11 lines
332 B
CMake
|
set(DCOMPONENTS_TESTS
|
||
|
"DestroyableComponentTests.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)
|