加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 523 Bytes
一键复制 编辑 原始数据 按行查看 历史
huangxiaofeng 提交于 2023-05-18 13:17 . add test file
cmake_minimum_required(VERSION 3.1)
project(CallGraph)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_CXX_STANDARD 20) # need CXX 20
find_package(LLVM REQUIRED CONFIG)
add_definitions(${LLVM_DEFINITIONS})
include_directories(${LLVM_INCLUDE_DIRS})
link_directories(${LLVM_LIBRARY_DIRS})
# set output bin path and lib path
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/lib")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/bin")
include_directories(src/CallGraph)
add_subdirectory(src/CallGraph)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化