1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-12-08 14:51:18 +00:00

It's erc, not emp

This commit is contained in:
Peter Evans 2017-12-06 16:07:36 -06:00
parent 00ff9f069d
commit 18dca43e61
3 changed files with 8 additions and 8 deletions

View File

@ -1,11 +1,11 @@
cmake_minimum_required(VERSION 3.9)
# it me
project(emp)
project(erc)
include(sources.cmake)
foreach(src ${emp_sources})
foreach(src ${erc_sources})
string(CONCAT relsrc src/ ${src})
list(APPEND sources ${relsrc})
endforeach(src)
@ -16,4 +16,4 @@ include_directories(include /usr/local/include)
link_directories(/usr/local/lib)
# our bullshit
add_executable(emp ${sources} src/main.c)
add_executable(erc ${sources} src/main.c)

View File

@ -1,4 +1,4 @@
set(emp_sources
set(erc_sources
apple2.c
log.c
mos6502.c

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.9)
project(emp-test)
project(erc-test)
set(CMAKE_BUILD_TYPE Debug)
@ -10,7 +10,7 @@ link_directories(/usr/local/lib)
include(../sources.cmake)
foreach(src ${emp_sources})
foreach(src ${erc_sources})
string(CONCAT relsrc ../src/ ${src})
list(APPEND sources ${relsrc})
endforeach(src)
@ -19,7 +19,7 @@ endforeach(src)
# make any particular effort to include it in add_executable().
file(GLOB test_sources "*.c")
add_executable(emp-test ${sources} ${test_sources})
add_executable(erc-test ${sources} ${test_sources})
# Our unit-testing library
target_link_libraries(emp-test criterion)
target_link_libraries(erc-test criterion)