1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-07-22 19:29:28 +00:00

Reorganizing test files

This commit is contained in:
Peter Evans 2018-04-13 19:09:23 -05:00
parent a43fe0d38e
commit 55287b4cb0
24 changed files with 3 additions and 1 deletions

View File

@ -38,10 +38,12 @@ endforeach(src)
# test_sources should also include the main source file, so we don't need to
# make any particular effort to include it in add_executable().
file(GLOB test_sources "*.c")
file(GLOB_RECURSE mos6502_sources "mos6502/*.c")
file(GLOB_RECURSE apple2_sources "apple2/*.c")
add_definitions(-DINSTALL_PATH="../../")
add_executable(erc-test ${sources} ${test_sources})
add_executable(erc-test ${sources} ${test_sources} ${mos6502_sources} ${apple2_sources})
# Our unit-testing library
target_link_libraries(erc-test criterion)