search for: cmake_cxx_flags_

Displaying 4 results from an estimated 4 matches for "cmake_cxx_flags_".

Did you mean: cmake_cxx_flags
2010 Aug 02
2
[LLVMdev] [PATCH] MSVC: Allow choosing different CRT for different build types
This patch splits LLVM_USE_CRT into new CMake variables LLVM_USE_CRT_DEBUG, LLVM_USE_CRT_RELEASE, etc (one for each build type). It also automatically detects which CRT was already chosen by CMake's defaults in the CMAKE_CXX_FLAGS_* variables, and defaults to those values. (Before, it was using add_llvm_definitions(), which worked...somehow, but CMAKE_CXX_FLAGS_RELEASE and friends were still defining their own CRT flag. Now it edits the FLAGS variables instead.) -------------- next part -------------- A non-text attachment w...
2010 Aug 02
0
[LLVMdev] [PATCH] MSVC: Allow choosing different CRT for different build types
nobled <nobled at dreamwidth.org> writes: > This patch splits LLVM_USE_CRT into new CMake variables > LLVM_USE_CRT_DEBUG, LLVM_USE_CRT_RELEASE, etc (one for each build > type). It also automatically detects which CRT was already chosen by > CMake's defaults in the CMAKE_CXX_FLAGS_* variables, and defaults to > those values. > > (Before, it was using add_llvm_definitions(), which worked...somehow, > but CMAKE_CXX_FLAGS_RELEASE and friends were still defining their own > CRT flag. Now it edits the FLAGS variables instead.) I'm a bit wary about this patch. S...
2013 Jan 28
3
[LLVMdev] Running a Local Buildbot
On 28 January 2013 19:17, Dmitri Gribenko <gribozavr at gmail.com> wrote: > does a build in 9min. With ccache (nothing fancy -- apt-get install > ccache, set CC/CXX variables), time drops to 1:50--3:00 min on > average. > Depending on the hardware (development boards tend to be very sensitive and the kernel very raw), things that you take for granted are not that simple. For
2012 Mar 13
2
[LLVMdev] llvm-config --cxxflags does not give the result the configuration script wants?
...y-inlines-hidden". It means, no matter how a single CMakeLists.txt changes CMAKE_CXX_FLAGS, it will remain the same when it goes into another CMakeLists.txt. Inside the llvm-config's source folder, the CMakeLists.txt shows how its --cxxflags is set: set(CXX_FLGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_${uppercase_ CMAKE_BUILD_TYPE}} ${LLVM_DEFINITIONS}") ... COMMAND echo s!@LLVM_CXXFLAGS@!${CXX_FLGS}! >> ${SEDSCRIPT_OBJPATH} and my LLVM_DEFINITIONS is: -D_GNU_SOURCE -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACRO...