mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-03-15 06:48:34 +01:00
Updates based on @msaft's comments
This commit is contained in:
parent
f3b4e020e1
commit
7e5751752e
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -50,5 +50,6 @@
|
||||
"editor.insertSpaces": false,
|
||||
"editor.detectIndentation": false,
|
||||
"editor.renderWhitespace": "boundary"
|
||||
}
|
||||
},
|
||||
"cmake.configureOnOpen": true
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.25)
|
||||
cmake_minimum_required(VERSION 3.23)
|
||||
|
||||
# Build options options
|
||||
option(BUILD_SHARED_LIBS "Build shared libraries" OFF)
|
||||
|
@ -26,17 +26,18 @@ set(SOURCES
|
||||
main.c
|
||||
)
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
add_executable(${TARGET}
|
||||
${SOURCES}
|
||||
)
|
||||
|
||||
if (HAVE_STRINGOP_OVERFLOW)
|
||||
target_compile_options(${TARGET}
|
||||
PRIVATE -Wno-stringop-overflow
|
||||
)
|
||||
endif (HAVE_STRINGOP_OVERFLOW)
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
add_executable(${TARGET}
|
||||
${SOURCES}
|
||||
)
|
||||
target_link_libraries(${TARGET}
|
||||
PRIVATE
|
||||
${SUT}
|
||||
|
Loading…
Reference in New Issue
Block a user