Mercurial > projects > ldc
comparison runtime/CMakeLists.txt @ 1588:71ad691baeb2
Hack to make compiling the tango 0.99.8 runtime work.
The gc has no module statements and the new frontend fails to find
the imports. So I add an explicit include path to the runtime gc
directory.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 07 Nov 2009 10:54:40 +0100 |
parents | 899a928ac905 |
children | 18bbb1436153 |
comparison
equal
deleted
inserted
replaced
1587:def7a1d494fd | 1588:71ad691baeb2 |
---|---|
118 # Compile | 118 # Compile |
119 add_custom_command( | 119 add_custom_command( |
120 OUTPUT | 120 OUTPUT |
121 ${OUTPUT_O} | 121 ${OUTPUT_O} |
122 ${OUTPUT_BC} | 122 ${OUTPUT_BC} |
123 COMMAND ${LDC_LOC} -c -I${INCDIR} -output-bc ${INPUT_D} -of${OUTPUT_O} ${D_FLAGS} ${MOREFLAGS} | 123 COMMAND ${LDC_LOC} -c -I${INCDIR} -I${RUNTIME_GC_DIR} -output-bc ${INPUT_D} -of${OUTPUT_O} ${D_FLAGS} ${MOREFLAGS} |
124 DEPENDS ${LDC_LOC} | 124 DEPENDS ${LDC_LOC} |
125 ${INPUT_D} | 125 ${INPUT_D} |
126 ${LDC_IMPORTS} | 126 ${LDC_IMPORTS} |
127 ${PROJECT_BINARY_DIR}/../bin/${LDC_EXE}.conf | 127 ${PROJECT_BINARY_DIR}/../bin/${LDC_EXE}.conf |
128 ) | 128 ) |