search for: demo_source_dir

Displaying 1 result from an estimated 1 matches for "demo_source_dir".

2010 Feb 10
1
[LLVMdev] llvm in a subdirectory with cmake
...lvm in a subdirectory. For example: demo/ llvm/ demo.cpp CMakeLists.txt where CMakeLists.txt is as follows: # ----------------------------- Start of CMakeLists.txt ---------------------------------------- project(DEMO) cmake_minimum_required(VERSION 2.6.1) add_subdirectory("${DEMO_SOURCE_DIR}/llvm") include_directories( "${LLVM_SOURCE_DIR}/include" "${LLVM_BINARY_DIR}/include" ) set(LLVM_LINK_COMPONENTS core jit interpreter native) add_llvm_executable(DEMO demo.cpp) # ----------------------------- End of CMakeLists.txt -----------------------------------...