Mercurial > projects > ldc
comparison CMakeLists.txt @ 1071:7d9957c6350e
Fix out of source build by adding the build dir to the include path.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 08 Mar 2009 17:57:34 +0100 |
parents | dc576c7e4b1e |
children | d9820e08bb84 |
comparison
equal
deleted
inserted
replaced
1070:39e2f5e4af3d | 1071:7d9957c6350e |
---|---|
112 # idgen and impcnvgen done | 112 # idgen and impcnvgen done |
113 | 113 |
114 set(DEFAULT_TARGET ${HOST_TARGET} CACHE STRING "default target") | 114 set(DEFAULT_TARGET ${HOST_TARGET} CACHE STRING "default target") |
115 set(DEFAULT_ALT_TARGET ${HOST_ALT_TARGET} CACHE STRING "default alt target") | 115 set(DEFAULT_ALT_TARGET ${HOST_ALT_TARGET} CACHE STRING "default alt target") |
116 | 116 |
117 include_directories(. ${DMDFE_PATH} ${PROJECT_BINARY_DIR}/${DMDFE_PATH} ${LLVM_INSTDIR}/include) | 117 include_directories(. ${DMDFE_PATH} ${PROJECT_BINARY_DIR}/${DMDFE_PATH} ${PROJECT_BINARY_DIR} ${LLVM_INSTDIR}/include) |
118 | 118 |
119 file(GLOB FE_SRC ${DMDFE_PATH}/*.c) | 119 file(GLOB FE_SRC ${DMDFE_PATH}/*.c) |
120 file(GLOB GEN_SRC gen/*.cpp) | 120 file(GLOB GEN_SRC gen/*.cpp) |
121 file(GLOB IR_SRC ir/*.cpp) | 121 file(GLOB IR_SRC ir/*.cpp) |
122 # exclude idgen and impcnvgen and generated sources, just in case | 122 # exclude idgen and impcnvgen and generated sources, just in case |