mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 13:27:41 -07: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:
parent
9430502b16
commit
21e2a876ec
@ -32,11 +32,16 @@ add_library(teakra
|
||||
register.h
|
||||
shared_memory.h
|
||||
teakra.cpp
|
||||
test.h
|
||||
test_generator.cpp
|
||||
test_generator.h
|
||||
)
|
||||
|
||||
if (TEAKRA_BUILD_UNIT_TESTS)
|
||||
target_sources(teakra PUBLIC
|
||||
test.h
|
||||
test_generator.cpp
|
||||
test_generator.h
|
||||
)
|
||||
endif()
|
||||
|
||||
create_target_directory_groups(teakra)
|
||||
|
||||
target_link_libraries(teakra PRIVATE Threads::Threads)
|
||||
|
Loading…
Reference in New Issue
Block a user