summaryrefslogtreecommitdiff
path: root/cmake/config-w32.cmake
diff options
context:
space:
mode:
authorCedric Venet <cedric.venet@laposte.net>2008-10-24 11:24:33 +0000
committerCedric Venet <cedric.venet@laposte.net>2008-10-24 11:24:33 +0000
commit389b715e0f8fed761bd7a58d663ec33047a76c79 (patch)
tree9904549be44e8c0157edd4c6996ff4ad95c5705d /cmake/config-w32.cmake
parent1125406a30fc902db143bc2972a2fdb97fb4baca (diff)
downloadllvm-389b715e0f8fed761bd7a58d663ec33047a76c79.tar.gz
llvm-389b715e0f8fed761bd7a58d663ec33047a76c79.tar.bz2
llvm-389b715e0f8fed761bd7a58d663ec33047a76c79.tar.xz
Modify the cmake build system so that if it doesn't find bison, it will use the pregenerated file in from the svn (.cvs). Work only for windows for the moment. Tested on Vista64 with MSVC2008express.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58090 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/config-w32.cmake')
-rwxr-xr-xcmake/config-w32.cmake10
1 files changed, 5 insertions, 5 deletions
diff --git a/cmake/config-w32.cmake b/cmake/config-w32.cmake
index 208e77628c..d971d2a137 100755
--- a/cmake/config-w32.cmake
+++ b/cmake/config-w32.cmake
@@ -1,9 +1,9 @@
# tbi: Configurar ficheros.
-configure_file(${llvm_include_path}/llvm/ADT/hash_map.h.in ${llvm_builded_incs_dir}/ADT/hash_map.h)
-configure_file(${llvm_include_path}/llvm/ADT/hash_set.h.in ${llvm_builded_incs_dir}/ADT/hash_set.h)
-configure_file(${llvm_include_path}/llvm/ADT/iterator.h.in ${llvm_builded_incs_dir}/ADT/iterator.h)
-configure_file(${llvm_include_path}/llvm/Support/DataTypes.h.in ${llvm_builded_incs_dir}/Support/DataTypes.h)
-configure_file(${llvm_include_path}/llvm/Config/config.h.in ${llvm_builded_incs_dir}/Config/config.h)
+configure_file(${llvm_include_path}/llvm/ADT/hash_map.h.in ${llvm_builded_incs_dir}/ADT/hash_map.h COPYONLY)
+configure_file(${llvm_include_path}/llvm/ADT/hash_set.h.in ${llvm_builded_incs_dir}/ADT/hash_set.h COPYONLY)
+configure_file(${llvm_include_path}/llvm/ADT/iterator.h.in ${llvm_builded_incs_dir}/ADT/iterator.h COPYONLY)
+configure_file(${llvm_include_path}/llvm/Support/DataTypes.h.in ${llvm_builded_incs_dir}/Support/DataTypes.h COPYONLY)
+configure_file(${llvm_include_path}/llvm/Config/config.h.in ${llvm_builded_incs_dir}/Config/config.h COPYONLY)
file(READ ${llvm_include_path}/../win32/config.h vc_config_text)
file(APPEND ${llvm_builded_incs_dir}/Config/config.h ${vc_config_text})