mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-09 12:28:13 -04:00
build: export compile commands for project targets
This commit is contained in:
parent
ecc03216cf
commit
adf547518f
@ -950,6 +950,8 @@ target_link_libraries(features_thrift thrift_light)
|
||||
foreach(tgt dwarfs dwarfs_compression dwarfs_categorizer
|
||||
dwarfs_compression_metadata dwarfs_tool
|
||||
${BINARY_TARGETS} ${TEST_TARGETS} ${MAIN_TARGETS})
|
||||
set_target_properties(${tgt} PROPERTIES EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
target_include_directories(
|
||||
${tgt} SYSTEM
|
||||
PRIVATE ${Boost_INCLUDE_DIRS} ${Python3_INCLUDE_DIRS} ${INCLUDE_DIRS}
|
||||
|
Loading…
x
Reference in New Issue
Block a user