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:
parent
00ff9f069d
commit
18dca43e61
@ -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)
|
||||
|
@ -1,4 +1,4 @@
|
||||
set(emp_sources
|
||||
set(erc_sources
|
||||
apple2.c
|
||||
log.c
|
||||
mos6502.c
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user