mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Split out LLVM_REV into separate header, to reduce rebuilding when only the LDC
revision has changed.
This commit is contained in:
@@ -195,7 +195,7 @@ add_custom_target(
|
||||
gen_revs_h
|
||||
COMMAND ${PERL_EXECUTABLE} ${PROJECT_BINARY_DIR}/revisions.pl
|
||||
DEPENDS ${PROJECT_BINARY_DIR}/revisions.pl
|
||||
COMMENT "Generating revisions.h"
|
||||
COMMENT "Generating revisions.h and llvm-version.h"
|
||||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/gen
|
||||
)
|
||||
add_dependencies(${LDC_EXE} gen_revs_h)
|
||||
|
||||
Reference in New Issue
Block a user