diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2011-01-11 12:31:54 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2011-01-11 12:31:54 +0000 |
commit | 19823b19baaaa7638e4e69d7e1342dfee0ef9f2f (patch) | |
tree | 52965df9b6c8bc8bbece08f12944df8420873260 /CMakeLists.txt | |
parent | 927d8aee53d082e746aaeef140dee5e043d08039 (diff) |
Add to the CMake build some options and platform tests supported by
the traditional build.
Patch by arrowdodger!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123233 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7b2f2c67ff..7df188560b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -104,6 +104,16 @@ endif( MSVC ) set(CLANG_RESOURCE_DIR "" CACHE STRING "Relative directory from the Clang binary to its resource files.") +option(LLVM_ENABLE_CBE_PRINTF_A "Set to ON if CBE is enabled for printf %a output" ON) +if(LLVM_ENABLE_CBE_PRINTF_A) + set(ENABLE_CBE_PRINTF_A 1) +endif() + +option(LLVM_ENABLE_TIMESTAMPS "Enable embedding timestamp information in build" ON) +if(LLVM_ENABLE_TIMESTAMPS) + set(ENABLE_TIMESTAMPS 1) +endif() + set(C_INCLUDE_DIRS "" CACHE STRING "Colon separated list of directories clang will search for headers.") |