You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
310 B
12 lines
310 B
cmake_minimum_required(VERSION 3.1)
|
|
project(pl0)
|
|
|
|
include_directories(..)
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
add_executable(pl0 pl0.cc)
|
|
find_package(LLVM REQUIRED CONFIG)
|
|
set(add_link_deps ${add_link_deps} LLVM)
|
|
target_include_directories(pl0 PUBLIC ${LLVM_INCLUDE_DIRS})
|
|
target_link_libraries(pl0 ${add_link_deps})
|
|
|