mirror of
https://github.com/mhx/dwarfs.git
synced 2025-08-04 10:16:34 -04:00
build: add example for setting per-file compile options
This commit is contained in:
parent
fb8c01cf18
commit
d59ff62ad7
@ -407,6 +407,9 @@ list(
|
||||
src/dwarfs/wcwidth.c
|
||||
src/dwarfs/worker_group.cpp)
|
||||
|
||||
# Just an example for setting per file compile options
|
||||
# set_source_files_properties(src/dwarfs/segmenter.cpp PROPERTIES COMPILE_FLAGS -march=tigerlake)
|
||||
|
||||
if(DWARFS_GIT_BUILD)
|
||||
list(APPEND LIBDWARFS_SRC ${CMAKE_CURRENT_BINARY_DIR}/src/dwarfs/version.cpp)
|
||||
else()
|
||||
|
Loading…
x
Reference in New Issue
Block a user