mirror of
https://github.com/ksherlock/mpw.git
synced 2025-01-09 13:30:34 +00:00
update cmake
This commit is contained in:
parent
539b09982c
commit
ba14f15566
@ -1,5 +1,7 @@
|
|||||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||||
|
|
||||||
|
set(CMAKE_C_FLAGS " -Wall -Wno-unused-function -g")
|
||||||
|
|
||||||
set(CPU_SRC
|
set(CPU_SRC
|
||||||
CpuModule.c
|
CpuModule.c
|
||||||
CpuModule_Disassembler.c
|
CpuModule_Disassembler.c
|
||||||
@ -14,7 +16,4 @@ set(CPU_SRC
|
|||||||
memory.c
|
memory.c
|
||||||
)
|
)
|
||||||
|
|
||||||
#FILE(GLOB CPU_SRC ${CMAKE_CURRENT_SOURCE_DIR}/*.c)
|
|
||||||
|
|
||||||
|
|
||||||
add_library(CPU_LIB ${CPU_SRC})
|
add_library(CPU_LIB ${CPU_SRC})
|
||||||
|
Loading…
Reference in New Issue
Block a user