Displaying 2 results from an estimated 2 matches for "llvm_system_libs".
2010 Sep 09
2
[LLVMdev] [PATCH][CMake] Removing LLVMLibDeps.cmake and exporting libraries for CMake clients.
...ckage export capabilities. A CMake user wishing to use LLVM can now
use something similar to this:
cmake_minimum_required(VERSION 2.8)
find_package(LLVM REQUIRED)
add_definitions(${LLVM_CXXFLAGS})
add_executable(llvm-external-test llvm-external-test.cpp)
target_link_libraries(llvm-external-test ${LLVM_SYSTEM_LIBS}
${LLVM_JIT_LIBS} ${LLVM_NATIVECODEGEN_LIBS})
llvm+clang compile with these changes on both Linux and MSVS.
Currently both patches must be applied at the same time. I can
refactor them into a 3 step process if needed.
Does this break anything for anyone?
- Michael Spencer
-------------- next par...
2010 Sep 09
0
[LLVMdev] [PATCH][CMake] Removing LLVMLibDeps.cmake and exporting libraries for CMake clients.
...wishing to use LLVM can now
> use something similar to this:
>
> cmake_minimum_required(VERSION 2.8)
>
> find_package(LLVM REQUIRED)
> add_definitions(${LLVM_CXXFLAGS})
> add_executable(llvm-external-test llvm-external-test.cpp)
> target_link_libraries(llvm-external-test ${LLVM_SYSTEM_LIBS}
> ${LLVM_JIT_LIBS} ${LLVM_NATIVECODEGEN_LIBS})
>
> llvm+clang compile with these changes on both Linux and MSVS.
> Currently both patches must be applied at the same time. I can
> refactor them into a 3 step process if needed.
>
> Does this break anything for anyone?
I thin...