mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 05:20:00 -08:00
Fix Essence test linker error by including generated version_string.cpp
This commit is contained in:
parent
fd352db2f5
commit
ba7da5ef8f
1 changed files with 7 additions and 1 deletions
|
|
@ -172,7 +172,13 @@ endfunction()
|
|||
# --- Unit tests ------------------------------------------------------------------
|
||||
|
||||
cockatrice_add_test(NAME expression_test SOURCES expression_test.cpp LIBS libcockatrice_utility)
|
||||
cockatrice_add_test(NAME essence_types_test SOURCES essence_types_test.cpp LIBS libcockatrice_card)
|
||||
# XML v3/v4 exporters in libcockatrice_card reference VERSION_STRING.
|
||||
# Link the same generated version implementation used by the client/server.
|
||||
cockatrice_add_test(
|
||||
NAME essence_types_test
|
||||
SOURCES ${VERSION_STRING_CPP} essence_types_test.cpp
|
||||
LIBS libcockatrice_card
|
||||
)
|
||||
cockatrice_add_test(NAME clamped_arithmetic_test SOURCES clamped_arithmetic_test.cpp LIBS libcockatrice_utility)
|
||||
cockatrice_add_test(NAME test_age_formatting SOURCES test_age_formatting.cpp LIBS libcockatrice_utility)
|
||||
cockatrice_add_test(NAME user_data_backup_test SOURCES user_data_backup_test.cpp LIBS libcockatrice_utility)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue