mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 13:20:57 -06:00
build teakra's test_generator.cpp only if building its unit tests is
enabled speeds up builds a bit
This commit is contained in:
@ -32,10 +32,15 @@ add_library(teakra
|
|||||||
register.h
|
register.h
|
||||||
shared_memory.h
|
shared_memory.h
|
||||||
teakra.cpp
|
teakra.cpp
|
||||||
|
)
|
||||||
|
|
||||||
|
if (TEAKRA_BUILD_UNIT_TESTS)
|
||||||
|
target_sources(teakra PUBLIC
|
||||||
test.h
|
test.h
|
||||||
test_generator.cpp
|
test_generator.cpp
|
||||||
test_generator.h
|
test_generator.h
|
||||||
)
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
create_target_directory_groups(teakra)
|
create_target_directory_groups(teakra)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user