[llvm] r239983 - Silence resource compiler using /nologo flag.
Peter Collingbourne
peter at pcc.me.uk
Wed Jun 17 18:15:19 PDT 2015
Author: pcc
Date: Wed Jun 17 20:15:18 2015
New Revision: 239983
URL: http://llvm.org/viewvc/llvm-project?rev=239983&view=rev
Log:
Silence resource compiler using /nologo flag.
Modified:
llvm/trunk/cmake/modules/AddLLVM.cmake
Modified: llvm/trunk/cmake/modules/AddLLVM.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/AddLLVM.cmake?rev=239983&r1=239982&r2=239983&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake (original)
+++ llvm/trunk/cmake/modules/AddLLVM.cmake Wed Jun 17 20:15:18 2015
@@ -287,6 +287,8 @@ function(set_windows_version_resource_pr
endif()
set_property(SOURCE ${resource_file}
+ PROPERTY COMPILE_FLAGS /nologo)
+ set_property(SOURCE ${resource_file}
PROPERTY COMPILE_DEFINITIONS
"RC_VERSION_FIELD_1=${ARG_VERSION_MAJOR}"
"RC_VERSION_FIELD_2=${ARG_VERSION_MINOR}"
More information about the llvm-commits
mailing list