Displaying 13 results from an estimated 13 matches for "cmake_policy".
2018 Jan 25
1
[RFC] Handling cmake policies
Currently, cmake policies are manually maintained by each project. This is
done via a set of `cmake_policy()` commands following the initial
`cmake_minimum_required()` command at the top of each CMakeLists.txt
project file.
Somewhat surprisingly, these sets are local to each project and independent
of each other -- even for in-tree builds containing multiple
sub-projects. This
is because cmake policie...
2014 Aug 23
3
[LLVMdev] [3.5 Release] Release Candidate 3 Now Available - CMake build error
...s phases and report any bugs you find!
[ 1495s] CMake Warning (dev) at projects/dragonegg/CMakeLists.txt:34 (get_target_property):
[ 1495s] Policy CMP0026 is not set: Disallow use of the LOCATION target property.
[ 1495s] Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
[ 1495s] command to set the policy and suppress this warning.
[ 1495s]
[ 1495s] The LOCATION property should not be read from target "TargetInfo". Use the
[ 1495s] target name directly with add_custom_command, or use the generator
[ 1495s] expression $<TARGET_FILE>, as app...
2014 Jul 18
2
[LLVMdev] Fixing LLVM's CMake interface before LLVM3.5 release
...opied the permissions on
``run.sh.in``. The ``file(GENERATE ...)`` command does not do this. Is
there a way to fix this?
* The clang target is not being exported (I built clang in the usually
way by placing its source inside /path/to/llvm/source/tools/clang)
Right now it seems much easier to use ``cmake_policy(SET CMP0026
OLD)``. If I use this can I rely on the old behaviour being available
forever?
>> 4. Why don't we expose any of the CXXFLAGS in the CMake interface?
>>
>> To use LLVM libraries as a client at minimum ``-std=c++11 -f-no-rtti``
>> are needed. This information...
2018 Sep 17
2
build llvm fails under win7 x64/VS2017
...use the 64-bit host compiler, pass -Thost=x64 on the CMake
command line.
...
CMake Warning (dev) at utils/benchmark/CMakeLists.txt:3 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the
cmake_policy
command to set the policy and suppress this warning.
-----> seems related to https://bugs.llvm.org/show_bug.cgi?id=38874
...
CMake Warning at utils/benchmark/CMakeLists.txt:234 (message):
Using std::regex with exceptions disabled is not fully supported
and later some linker errors
LINK :...
2017 Jul 20
2
FYI: Ninja-build user may use CMake-3.9
On Fri, Jul 21, 2017 at 1:16 AM Reid Kleckner <rnk at google.com> wrote:
> This is great news! Do we know who contributed the changes to cut the
> extra library dependencies?
>
> Do you think we should remove ENABLE_OBJLIB to simplify our CMake files in
> the near future? It seems to me that anyone who cares about highly parallel
> build throughput can upgrade CMake to get
2018 Sep 21
2
can't build/run after adding lib to Fibonacci example, even reverting the complete llvm tree does not help
...D:/projects/fun/jit_tests/clang_from_src/llvm/examples/Fibonacci/CMakeLists.txt'
1> is newer than
'D:/projects/fun/jit_tests/clang_from_src/llvm-build/examples/Fibonacci/CMakeFiles/generate.stamp.depend'
1> result='-1'
1>CMake Deprecation Warning at CMakeLists.txt:14 (cmake_policy):
1> The OLD behavior for policy CMP0051 will be removed from a future
version
1> of CMake.
1>
1> The cmake-policies(7) manual explains that the OLD behaviors of all
1> policies are deprecated and that a policy should be set to OLD only
under
1> specific short-term circumstan...
2014 Jul 16
5
[LLVMdev] Fixing LLVM's CMake interface before LLVM3.5 release
...is by reading the ``LOCATION`` property of
one of the imported targets. Unfortunately CMake 3.0 really doesn't
like this I get warnings like
```
Policy CMP0026 is not set: Disallow use of the LOCATION target property.
Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
```
The CMake docs seem to say that the reason for this is the LOCATION
might not be completely known at configure time. In the case of
imported targets I would disagree because the LOCATION is most
definitely known. So my hack probably isn...
2011 Jan 07
1
[LLVMdev] [PATCH] compiler-rt patch for clean build on Solaris 10 / x86
...this project.
CMake does not support this but it used to work accidentally and is being
allowed for compatibility.
Policy CMP0016 is not set: target_link_libraries() reports error if only
argument is not a target. Run "cmake --help-policy CMP0016" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jocke/llvm/clean/build
-bash-3.00$
-bash-3.00$ gmake
Scanning dependencies of target Block...
2015 May 15
2
[LLVMdev] CMake 3.2 warning in Compiler-RT
...re, I'm seeing this warning:
CMake Warning (dev) at
projects/compiler-rt/cmake/Modules/CompilerRTUtils.cmake:55 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "HAVE_RPC_XDR_H" will no longer be dereferenced when
the policy is set to NEW. Since the policy is not set the OLD behavior
will be used.
Call Stack (most recent call first):
projects/compiler-rt/lib/sa...
2015 Jun 18
2
[LLVMdev] [CMake] Generated LLVMConfig.cmake and LLVMExports.cmake broken under Visual Studio 2015
...parsing string
LLVMObject;LLVMSupport;C:\Program Files (x86)\Microsoft Visual
Studio 14.0\DIA SDK\lib\diaguids.lib
Invalid escape sequence \P
Policy CMP0010 is not set: Bad variable reference syntax is an error. Run
"cmake --help-policy CMP0010" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Call Stack (most recent call first):
c:/Users/me/Documents/halide/llvm-build/share/llvm/cmake/LLVMConfig.cmake:174
(include)
CMakeLists.txt:14 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
```
The iss...
2018 May 14
1
Unable to build 'lld' on Mac OS 10.9
...darwin13.4.0
Thread model: posix
$ xcode-select -v
xcode-select version 2333.
3. Following command is successful:
$ cmake-DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS=lld -DCMAKE_INSTALL_PREFIX=/testlocation/llvm_siri../llvm-stable
CMakeDeprecation Warning at CMakeLists.txt:14 (cmake_policy):
The OLD behavior for policy CMP0051 will be removed from a futureversion
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD onlyunder
specific short-term circumstances. Projects should be ported...
2016 Jan 17
3
Building SVN head with CMake - shared libraries?
Hi,
On Sun, Jan 17, 2016 at 1:04 PM, Dan Liew <dan at su-root.co.uk> wrote:
> On 16 January 2016 at 20:21, Ismail Donmez <ismail at i10z.com> wrote:
>> On Sat, Jan 16, 2016 at 9:33 PM, Dan Liew <dan at su-root.co.uk> wrote:
>>>> I am trying to enable this on openSUSE but it seems to break
>>>> standalone lldb (note that we don't ship static
2012 Sep 17
9
[PATCH] Upgrade vtpmd to berlios version 0.7.4
...e-based Trusted Platform Module (TPM) Emulator
++# Copyright (C) 2004-2010 Mario Strasser <mast@gmx.net>
++#
++# $Id: CMakeLists.txt 475 2011-12-20 18:21:19Z mast $
++
++project(TPM_Emulator C)
++
++cmake_minimum_required(VERSION 2.4)
++set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
++if(COMMAND cmake_policy)
++cmake_policy(SET CMP0003 NEW)
++endif()
++
++# enforce out of source build
++string(COMPARE EQUAL "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}"
IS_INSOURCE)
++if(IS_INSOURCE)
++ message(FATAL_ERROR "${PROJECT_NAME} requires an out of source
build.")
++endif()
++
++...