CMakeLists.txt revision 1dc550b383277f241f46a60628ae3f200769f13c
1set(LLVM_LINK_COMPONENTS ipo scalaropts linker bitreader bitwriter) 2 3add_definitions( -DLLVM_VERSION_INFO=\"${PACKAGE_VERSION}\" ) 4 5# TODO: build a static library too. 6set(BUILD_SHARED_LIBS ON) 7 8add_llvm_library(LTO 9 LTOCodeGenerator.cpp 10 lto.cpp 11 LTOModule.cpp 12 ) 13 14