comparison runtime/CMakeLists.txt @ 1129:8403fec8c34c

Add dmd-style configuration file for rebuild usage. See #236 and thanks to ccuter for the patch!
author Christian Kamm <kamm incasoftware de>
date Sat, 21 Mar 2009 09:47:48 +0100
parents c614ef596a20
children 19d4ded7204a
comparison
equal deleted inserted replaced
1128:83ef1e7cde70 1129:8403fec8c34c
83 endif(NOT LDC_LOC) 83 endif(NOT LDC_LOC)
84 set(LDC_EXE_NAME ${LDC_EXE}) 84 set(LDC_EXE_NAME ${LDC_EXE})
85 endif(NOT LDC_LOC) 85 endif(NOT LDC_LOC)
86 86
87 configure_file(${PROJECT_PARENT_DIR}/${LDC_EXE}.conf.in ${PROJECT_BINARY_DIR}/../bin/${LDC_EXE}.conf) 87 configure_file(${PROJECT_PARENT_DIR}/${LDC_EXE}.conf.in ${PROJECT_BINARY_DIR}/../bin/${LDC_EXE}.conf)
88 configure_file(${PROJECT_PARENT_DIR}/${LDC_EXE}.rebuild.conf.in ${PROJECT_BINARY_DIR}/../bin/${LDC_EXE}.rebuild.conf)
88 89
89 # patch runtime source, uses LDC_EXE for ldc2 90 # patch runtime source, uses LDC_EXE for ldc2
90 if(D_VERSION EQUAL 2) 91 if(D_VERSION EQUAL 2)
91 find_program(PATCH_EXE patch DOC "path to patch tool") 92 find_program(PATCH_EXE patch DOC "path to patch tool")
92 if(NOT PATCH_EXE) 93 if(NOT PATCH_EXE)