search for: get_target_property

Displaying 9 results from an estimated 9 matches for "get_target_property".

2016 Feb 09
2
D16945: LLVM overhaul to avoid linking LLVM component libraries with libLLVM
...gtest_main + ) + else() target_link_libraries(${test_name} - gtest - gtest_main - LLVMSupport # gtest needs it for raw_ostream. - ) + gtest + gtest_main + LLVMSupport # Depends on llvm::cl + ) + endif() add_dependencies(${test_suite} ${test_name}) get_target_property(test_suite_folder ${test_suite} FOLDER) Index: cmake/modules/LLVM-Config.cmake =================================================================== --- cmake/modules/LLVM-Config.cmake (revision 260200) +++ cmake/modules/LLVM-Config.cmake (working copy) @@ -40,10 +40,17 @@ # done in case...
2014 Aug 23
3
[LLVMdev] [3.5 Release] Release Candidate 3 Now Available - CMake build error
> Run it through its 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 no...
2017 Nov 16
2
Correctly linking against libLLVM (single shared library build)
...M_PACKAGE_VERSION}") message(STATUS "Using LLVMConfig.cmake in: ${LLVM_DIR}") llvm_map_components_to_libnames(llvm_libs support core irreader) message(STATUS "Components mapped to libnames: ${llvm_libs}") add_executable(bubak a.c) llvm_config(bubak support core irreader) get_target_property(LL bubak LINK_LIBRARIES) message(STATUS "Components mapped by llvm_config: ${LL}") It results in: -- Found LLVM 4.0.1 -- Using LLVMConfig.cmake in: /usr/lib64/cmake/llvm -- Components mapped to libnames: LLVMSupport;LLVMCore;LLVMIRReader -- Components mapped by llvm_config: LLVMSupport;...
2017 Oct 23
2
Correctly linking against libLLVM (single shared library build)
Hi, In SUSE we have recently switched from building LLVM as multiple shared libraries (using BUILD_SHARED_LIBS) to building it as a single shared library (using LLVM_BUILD_LLVM_DYLIB). The multiple shared libraries build was causing issues and apparently it is only meant for LLVM developers. Our guidelines prohibit linking against static libraries unless there is no other option. After this
2019 Oct 21
3
RFC: LLVM Build System Future Direction
...t I believe are crucial: #### Avoid Order Dependent Behavior CMake generator expressions provide the ability to defer logic until after script processing. This allows the build system to avoid direct dependence on the order in which targets are processed. We should not use the `if(TARGET ...)` or `get_target_property` interfaces unless it is completely impossible to avoid. #### Avoid Options to Enable/Disable Configuration If we reduce the test matrix, having a convention to keep it reduced is of vital importance so that we don't find ourselves needing to clean up again in a few years. #### Avoid Caching,...
2019 Oct 24
2
RFC: LLVM Build System Future Direction
...crucial: > > #### Avoid Order Dependent Behavior > CMake generator expressions provide the ability to defer logic until after script processing. This allows the build system to avoid direct dependence on the order in which targets are processed. We should not use the `if(TARGET ...)` or `get_target_property` interfaces unless it is completely impossible to avoid. > > #### Avoid Options to Enable/Disable Configuration > If we reduce the test matrix, having a convention to keep it reduced is of vital importance so that we don't find ourselves needing to clean up again in a few years. >...
2016 Feb 06
2
D16945: LLVM overhaul to avoid linking LLVM component libraries with libLLVM
Hans, I have posted a complete patch for solving the linkage issues with LLVM_LINK_LLVM_DYLIB on Phabricator at http://reviews.llvm.org/D16945. The bulk of the fix the simple changes of... Index: cmake/modules/AddLLVM.cmake =================================================================== --- cmake/modules/AddLLVM.cmake (revision 259743) +++ cmake/modules/AddLLVM.cmake (working copy) @@
2019 Oct 29
11
RFC: LLVM Build System Future Direction
...t;> >> #### Avoid Order Dependent Behavior >> CMake generator expressions provide the ability to defer logic until after script processing. This allows the build system to avoid direct dependence on the order in which targets are processed. We should not use the `if(TARGET ...)` or `get_target_property` interfaces unless it is completely impossible to avoid. >> >> #### Avoid Options to Enable/Disable Configuration >> If we reduce the test matrix, having a convention to keep it reduced is of vital importance so that we don't find ourselves needing to clean up again in a few...
2019 Oct 29
2
RFC: LLVM Build System Future Direction
...CMake generator expressions provide the > ability to defer logic until after script > processing. This allows the build system to > avoid direct dependence on the order in which > targets are processed. We should not use the > `if(TARGET ...)` or `get_target_property` > interfaces unless it is completely impossible > to avoid. > > #### Avoid Options to Enable/Disable > Configuration > If we reduce the test matrix, having a > convention to keep it reduced is of vital > importance so that we don...