search for: set_target_properti

Displaying 20 results from an estimated 40 matches for "set_target_properti".

Did you mean: set_target_properties
2012 Aug 03
2
[LLVMdev] Unable to build compiler-rt (Windows)
...X compiler ABI info - done CMake Error at CMakeLists.txt:10 (include): include could not find load file: LLVMParseArguments CMake Error at lib/CMakeLists.txt:4 (string): string sub-command REGEX, mode MATCH needs at least 5 arguments total to command. CMake Error at lib/CMakeLists.txt:19 (set_target_properties): set_target_properties called with incorrect number of arguments. Call Stack (most recent call first): lib/asan/CMakeLists.txt:77 (add_clang_runtime_static_library) CMake Error at lib/asan/lit_tests/CMakeLists.txt:1 (configure_lit_site_cfg): Unknown CMake command "configure_lit_site_c...
2012 Aug 03
0
[LLVMdev] Unable to build compiler-rt (Windows)
...ke Error at CMakeLists.txt:10 (include): > include could not find load file: > LLVMParseArguments > CMake Error at lib/CMakeLists.txt:4 (string): > string sub-command REGEX, mode MATCH needs at least 5 arguments total to > command. > CMake Error at lib/CMakeLists.txt:19 (set_target_properties): > set_target_properties called with incorrect number of arguments. > Call Stack (most recent call first): > lib/asan/CMakeLists.txt:77 (add_clang_runtime_static_library) > CMake Error at lib/asan/lit_tests/CMakeLists.txt:1 > (configure_lit_site_cfg): > Unknown CMake com...
2020 May 21
5
Understanding the version handling in LLVM/Clang/LLD
...Example (full patch attached): [ llvm/cmake/modules/AddLLVM.cmake ] @@ -541,11 +541,18 @@ function(llvm_add_library name) # Set SOVERSION on shared libraries that lack explicit SONAME # specifier, on *nix systems that are not Darwin. if(UNIX AND NOT APPLE AND NOT ARG_SONAME) - set_target_properties(${name} - PROPERTIES - # Since 4.0.0, the ABI version is indicated by the major version - SOVERSION ${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX} - VERSION ${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX}) + # Since 4.0.0, the ABI version is indicated by the major versio...
2009 Oct 05
2
[LLVMdev] Hi, everyone, fail on building c-index-test
...;t linkage with C++ library. So it's failure to >> compiling the c-index-test project >> >> Is there any solution to this problem? > > You're building using CMake? Try modifying tools/CIndex/CMakeLists.txt > by adding the following command at the end: > > set_target_properties(CIndex > PROPERTIES > LINKER_LANGUAGE CXX) > > If that works for you, please tell me so I can commit the change to svn. > > - Doug -- 从我的移动设备发送 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo
2014 Feb 10
2
[LLVMdev] [llvm] r201072 - [CMake] Introduce llvm_add_library().
...acro also invoke target_link_libraries looks odd to someone familiar with cmake. I don't fully know what this wrapper is needed for, but I looked at it a bit. if(ARG_MODULE) set_property(TARGET ${name} PROPERTY SUFFIX ${LLVM_PLUGIN_EXT}) endif() if(ARG_SHARED) if (MSVC) set_target_properties(${name} PROPERTIES IMPORT_SUFFIX ".imp") endif () endif() CMake provides CMAKE_SHARED_MODULE_SUFFIX and CMAKE_IMPORT_LIBRARY_SUFFIX. Can you set those at directory scope instead of setting the target property in the macro? Anyway, just a note to consider movi...
2012 Jul 07
2
[LLVMdev] Problem in LLVM CMake modules
...braries(REQ_LLVM_LIBRARIES jit native) llvm_map_components_to_libraries(REQ_LLVM_LIBRARIES all) # Finally, we link the LLVM libraries to our executable: target_link_libraries(jllvm ${REQ_LLVM_LIBRARIES}) # LLVM typically comes installed as static libraries, so make sure to link in the C++ runtimes. set_target_properties(jllvm PROPERTIES LINKER_LANGUAGE CXX)
2019 Feb 05
2
[Release-testers] LLVM 7.1.0 release - Please test the branch
...gt; >> [tstellar at llvm llvm-build]$ objdump -p lib/libLLVM-7.1.so | grep SONAME >> SONAME libLLVM-7.1.so >> > > I'm talking about SOVERSION of shared libs from BUILD_SHARED_LIBS=ON. > The one defined in llvm_add_library() function: > > set_target_properties(${name} > PROPERTIES > # Since 4.0.0, the ABI version is indicated by the major version > SOVERSION ${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX} > VERSION ${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX}) > Ok, I see. You are correct, we should change t...
2019 Feb 06
2
[Release-testers] LLVM 7.1.0 release - Please test the branch
...| grep SONAME > > > > SONAME libLLVM-7.1.so > > > > > > > > > > I'm talking about SOVERSION of shared libs from BUILD_SHARED_LIBS=ON. > > > The one defined in llvm_add_library() function: > > > > > > set_target_properties(${name} > > > PROPERTIES > > > # Since 4.0.0, the ABI version is indicated by the major version > > > SOVERSION ${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX} > > > VERSION ${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX}) > > >...
2012 Jul 07
0
[LLVMdev] Problem in LLVM CMake modules
Eli Gottlieb <eligottlieb at gmail.com> writes: > I'm trying to upgrade my LLVM bindings in Java from 2.9 to 3.1. To > do so, I regenerated the JNI bindings from fresh LLVM 3.1 headers, and > did a slight rewrite of my CMakeLists.txt file for building the C > code. > > Problem is, cmake no longer finishes at all. I receive the > following output, and then
2023 Jun 07
1
How to change the dynamic library project name ogg to libogg?
On 6/7/23, Martijn van Beurden <mvanb1 at gmail.com> wrote: > I've added the following to Windows-MSVC.cmake, which I copied from > Windows-GNU.cmake > > set(CMAKE_IMPORT_LIBRARY_PREFIX "lib") > set(CMAKE_SHARED_LIBRARY_PREFIX "lib") > set(CMAKE_SHARED_MODULE_PREFIX "lib") > set(CMAKE_STATIC_LIBRARY_PREFIX "lib") >
2012 Jul 07
1
[LLVMdev] Problem in LLVM CMake modules
...he fix probably is: diff --git a/runtime/libprofile/CMakeLists.txt b/runtime/libprofile/CMakeLists.txt index 414ad00..2794c4d 100644 --- a/runtime/libprofile/CMakeLists.txt +++ b/runtime/libprofile/CMakeLists.txt @@ -9,9 +9,6 @@ set(SOURCES ) add_llvm_library( profile_rt-static ${SOURCES} ) -set_target_properties( profile_rt-static - PROPERTIES - OUTPUT_NAME "profile_rt" ) add_llvm_loadable_module( profile_rt-shared ${SOURCES} ) set_target_properties( profile_rt-shared And do we really want gtest, gtest_main and maybe other internal libraries to be listed when the user requires "al...
2019 Feb 07
2
[Release-testers] LLVM 7.1.0 release - Please test the branch
...bLLVM-7.1.so > > > > > > > > > > > > > > > > I'm talking about SOVERSION of shared libs from BUILD_SHARED_LIBS=ON. > > > > > The one defined in llvm_add_library() function: > > > > > > > > > > set_target_properties(${name} > > > > > PROPERTIES > > > > > # Since 4.0.0, the ABI version is indicated by the major version > > > > > SOVERSION ${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX} > > > > > VERSION ${LLVM_VERSION_MAJO...
2012 Aug 03
1
[LLVMdev] Unable to build compiler-rt (Windows)
...xt:10 (include): >> include could not find load file: >> LLVMParseArguments >> CMake Error at lib/CMakeLists.txt:4 (string): >> string sub-command REGEX, mode MATCH needs at least 5 arguments total to >> command. >> CMake Error at lib/CMakeLists.txt:19 (set_target_properties): >> set_target_properties called with incorrect number of arguments. >> Call Stack (most recent call first): >> lib/asan/CMakeLists.txt:77 (add_clang_runtime_static_**library) >> CMake Error at lib/asan/lit_tests/CMakeLists.**txt:1 >> (configure_lit_site_cfg): &...
2009 Oct 05
0
[LLVMdev] Hi, everyone, fail on building c-index-test
...ailure to >>> compiling the c-index-test project >>> >>> Is there any solution to this problem? >> >> You're building using CMake? Try modifying tools/CIndex/ >> CMakeLists.txt >> by adding the following command at the end: >> >> set_target_properties(CIndex >> PROPERTIES >> LINKER_LANGUAGE CXX) >> >> If that works for you, please tell me so I can commit the change to >> svn. >> >> - Doug > > -- > 从我的移动设备发送 > > 此致 > 礼 > 罗勇刚 > Yours > sincerely, > Yon...
2014 Feb 13
2
[LLVMdev] [llvm] r201072 - [CMake] Introduce llvm_add_library().
...>> I don't fully know what this wrapper is needed for, but I looked at it a >> bit. >> >> if(ARG_MODULE) >> set_property(TARGET ${name} PROPERTY SUFFIX ${LLVM_PLUGIN_EXT}) >> endif() >> >> if(ARG_SHARED) >> if (MSVC) >> set_target_properties(${name} >> PROPERTIES >> IMPORT_SUFFIX ".imp") >> endif () >> endif() >> >> >> CMake provides CMAKE_SHARED_MODULE_SUFFIX and CMAKE_IMPORT_LIBRARY_SUFFIX. >> Can you set those at directory scope instead of setting the ta...
2020 May 20
3
10.0.1-rc1 release has been tagged
....cmake llvm-project/llvm/cmake/modules/AddLLVM.cmake --- llvm-project-10.0.1rc1/llvm/cmake/modules/AddLLVM.cmake 2020-05-19 21:16:37.000000000 +0200 +++ llvm-project/llvm/cmake/modules/AddLLVM.cmake 2020-05-20 18:29:09.272548995 +0200 @@ -544,8 +544,8 @@ function(llvm_add_library name) set_target_properties(${name} PROPERTIES # Since 4.0.0, the ABI version is indicated by the major version - SOVERSION ${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX} - VERSION ${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX}) + SOVERSION ${LLVM_VERSION_MAJOR} + VERSION ${LLVM_VERSI...
2014 Feb 13
2
[LLVMdev] [llvm] r201072 - [CMake] Introduce llvm_add_library().
...> >> I don't fully know what this wrapper is needed for, but I looked at it a >> bit. >> >> if(ARG_MODULE) >> set_property(TARGET ${name} PROPERTY SUFFIX ${LLVM_PLUGIN_EXT}) >> endif() >> >> if(ARG_SHARED) >> if (MSVC) >> set_target_properties(${name} >> PROPERTIES >> IMPORT_SUFFIX ".imp") >> endif () >> endif() >> >> >> CMake provides CMAKE_SHARED_MODULE_SUFFIX and CMAKE_IMPORT_LIBRARY_SUFFIX. >> Can you set those at directory scope instead of setting the target...
2019 Feb 05
2
[Release-testers] LLVM 7.1.0 release - Please test the branch
On 02/05/2019 08:07 AM, Michał Górny wrote: > On Tue, 2019-02-05 at 07:36 -0800, Tom Stellard via Release-testers > wrote: >> Hi, >> >> The release_70 branch is ready for the 7.1.0 release. I have updated the >> version and pushed a fix for https://bugs.llvm.org/show_bug.cgi?id=39427, >> which is the only bug we will be fixing in this release. >> >>
2009 Oct 07
2
[LLVMdev] Hi, everyone, fail on building c-index-test
...ased on *C++* for example, if you create a application just containing *C *extension files, but using llvm as the midware, then CMake system *must *auto recognize the LINKER_LANGUAGE as CXX, but not C. Even all source files in this project is C extension. Now, it's using a strange hack, just set_target_properties(c-index-test PROPERTIES LINKER_LANGUAGE CXX) It's not reasonable, because it's not because of c-index-test.c lead the LINKER_LANGUAGE to be CXX but llvm make this happened, so it's shouldn't be placed at c-index-test.c/CMakeLists.txt *and should be placed at * AddLLVM.cmake...
2009 Mar 13
1
AGX Asterisk Addon - Can't find app_fax.c withspandsp-0.0.4
...---------------------------------- # Target # we use "MODULE" cause it build a shared object module # ------------------------------------------------------ ADD_LIBRARY(app_fax???????????????????? MODULE app_fax.c) # # We remove the "lib" prefix from the libmodule.so filename # SET_TARGET_PROPERTIES(app_fax?????????? PROPERTIES PREFIX "") # # We add library dependencies to use those modules # TARGET_LINK_LIBRARIES(app_fax spandsp tiff) # # override default INSTALL rules # INSTALL(TARGETS app_fax DESTINATION lib/asterisk/modules) Could you help ? Regards