mirror of
https://github.com/ksherlock/mpw.git
synced 2025-01-22 21:32:23 +00:00
-W-no-unused for ragel generated code
This commit is contained in:
parent
ece1984c5c
commit
e571c7066d
@ -38,6 +38,15 @@ add_custom_command(
|
|||||||
DEPENDS debugger.h
|
DEPENDS debugger.h
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
set_source_files_properties(
|
||||||
|
loadtrap.cpp lexer.cpp
|
||||||
|
PROPERTIES
|
||||||
|
COMPILE_FLAGS
|
||||||
|
"${CMAKE_CXX_FLAGS} -Wno-unused-variable"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
add_executable(mpw loader.cpp debugger.cpp address_map.cpp lexer.cpp parser.cpp loadtrap.cpp)
|
add_executable(mpw loader.cpp debugger.cpp address_map.cpp lexer.cpp parser.cpp loadtrap.cpp)
|
||||||
target_link_libraries(mpw CPU_LIB)
|
target_link_libraries(mpw CPU_LIB)
|
||||||
target_link_libraries(mpw TOOLBOX_LIB)
|
target_link_libraries(mpw TOOLBOX_LIB)
|
||||||
|
@ -12,5 +12,11 @@ add_custom_command(
|
|||||||
MAIN_DEPENDENCY environ.rl
|
MAIN_DEPENDENCY environ.rl
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set_source_files_properties(
|
||||||
|
environ.cpp
|
||||||
|
PROPERTIES
|
||||||
|
COMPILE_FLAGS
|
||||||
|
"${CMAKE_CXX_FLAGS} -Wno-unused-variable"
|
||||||
|
)
|
||||||
|
|
||||||
add_library(MPW_LIB ${MPW_SRC})
|
add_library(MPW_LIB ${MPW_SRC})
|
Loading…
x
Reference in New Issue
Block a user