mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Skip version.h by default for Zeek sources
This commit is contained in:
parent
2044cf661a
commit
8246baf25c
1 changed files with 5 additions and 0 deletions
|
@ -192,6 +192,11 @@ set_target_properties(zeek_internal PROPERTIES EXPORT_NAME Internal)
|
||||||
install(TARGETS zeek_internal EXPORT ZeekTargets)
|
install(TARGETS zeek_internal EXPORT ZeekTargets)
|
||||||
target_compile_features(zeek_internal INTERFACE ${ZEEK_CXX_STD})
|
target_compile_features(zeek_internal INTERFACE ${ZEEK_CXX_STD})
|
||||||
|
|
||||||
|
# Skip including the version.h header from the zeek-config.h header. This is
|
||||||
|
# mainly to optimize build times on CI by making sure the compiler cache remains
|
||||||
|
# valid for longer.
|
||||||
|
target_compile_definitions(zeek_internal INTERFACE ZEEK_CONFIG_SKIP_VERSION_H)
|
||||||
|
|
||||||
# Target for bundling the creation of auto-generated files.
|
# Target for bundling the creation of auto-generated files.
|
||||||
add_custom_target(zeek_autogen_files)
|
add_custom_target(zeek_autogen_files)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue