Mercurial > projects > ldc
comparison CMakeLists.txt @ 1113:123812e02bc8
Split out LLVM_REV into separate header, to reduce rebuilding when only the LDC
revision has changed.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Fri, 13 Mar 2009 16:18:43 +0100 |
parents | 015b1634b33f |
children | 8403fec8c34c |
comparison
equal
deleted
inserted
replaced
1112:829ac3f30103 | 1113:123812e02bc8 |
---|---|
193 ) | 193 ) |
194 add_custom_target( | 194 add_custom_target( |
195 gen_revs_h | 195 gen_revs_h |
196 COMMAND ${PERL_EXECUTABLE} ${PROJECT_BINARY_DIR}/revisions.pl | 196 COMMAND ${PERL_EXECUTABLE} ${PROJECT_BINARY_DIR}/revisions.pl |
197 DEPENDS ${PROJECT_BINARY_DIR}/revisions.pl | 197 DEPENDS ${PROJECT_BINARY_DIR}/revisions.pl |
198 COMMENT "Generating revisions.h" | 198 COMMENT "Generating revisions.h and llvm-version.h" |
199 WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/gen | 199 WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/gen |
200 ) | 200 ) |
201 add_dependencies(${LDC_EXE} gen_revs_h) | 201 add_dependencies(${LDC_EXE} gen_revs_h) |
202 # | 202 # |
203 | 203 |