Skip to content

Commit

Permalink
CMakeLists.txt : add log.c to the build
Browse files Browse the repository at this point in the history
  • Loading branch information
xXorAa committed Jul 5, 2024
1 parent eca675c commit 59200e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ include_directories(
Musashi/
args/src/
inih/
log.c/src/
external/
qlay/
uthash/src/
Expand Down Expand Up @@ -56,6 +57,7 @@ add_executable(
external/sdl-ps2.c
args/src/args.c
inih/ini.c
log.c/src/log.c
Musashi/m68kcpu.c
Musashi/m68kops.c
Musashi/m68kdasm.c
Expand All @@ -69,7 +71,7 @@ if(NOT ${CMAKE_C_COMPILER_ID} MATCHES "Clang")
endif()

add_dependencies(sq68ux SubmarineGitVersion)
target_compile_options(sq68ux PRIVATE -DQ68_EMU -DEMU_STR="sq68ux" -Wall
target_compile_options(sq68ux PRIVATE -DQ68_EMU -DEMU_STR="sq68ux" -DLOG_USE_COLOR -Wall
-Wextra -Wpedantic -Werror)

set_property(TARGET sq68ux PROPERTY C_STANDARD 17)
Expand Down

0 comments on commit 59200e5

Please sign in to comment.