Mercurial > projects > ldc
diff CMakeLists.txt @ 1547:259b031f3d22
Some minor cleanups
* remove an #ifdef USE_METADATA I accidently left in
* remove now unneeded llvm-version includes
* fix indentation in metadata.h
* prevent the "Found native target" message from interrupting ccmake
author | Benjamin Kramer <benny.kra@gmail.com> |
---|---|
date | Mon, 20 Jul 2009 18:16:11 +0200 |
parents | 6766485fb584 |
children | 3adcb70700cb |
line wrap: on
line diff
--- a/CMakeLists.txt Mon Jul 20 17:55:05 2009 +0200 +++ b/CMakeLists.txt Mon Jul 20 18:16:11 2009 +0200 @@ -150,7 +150,7 @@ file(STRINGS ${LLVM_CONFIG_FILE_PATH}/config.h LLVM_NATIVE_ARCH REGEX "^#define LLVM_NATIVE_ARCH") if(LLVM_NATIVE_ARCH) string(REGEX REPLACE "^#define LLVM_NATIVE_ARCH (.*)Target$" "\\1" LLVM_NATIVE_ARCH ${LLVM_NATIVE_ARCH}) - message("Found native target ${LLVM_NATIVE_ARCH}") + message(STATUS "Found native target ${LLVM_NATIVE_ARCH}") set(LLVM_MODULES_DEFINE "LLVM_TARGET(${LLVM_NATIVE_ARCH})") else(LLVM_NATIVE_ARCH) message("Couldn't find the LLVM_NATIVE_ARCH define in ${LLVM_CONFIG_FILE_PATH}/config.h. Probably you have an older LLVM and can ignore this warning.")