search for: arg_shared

Displaying 3 results from an estimated 3 matches for "arg_shared".

2014 Feb 10
2
[LLVMdev] [llvm] r201072 - [CMake] Introduce llvm_add_library().
...command. Making that wrapper macro 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 macr...
2014 Feb 13
2
[LLVMdev] [llvm] r201072 - [CMake] Introduce llvm_add_library().
...; 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 y...
2014 Feb 13
2
[LLVMdev] [llvm] r201072 - [CMake] Introduce llvm_add_library().
...;> 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...