aboutsummaryrefslogtreecommitdiffstats
path: root/bba/CMakeLists.txt
blob: f2b7f887265417a6fa0f6fd1d66b4ba843ace64b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
cmake_minimum_required(VERSION 3.5)
project(bba CXX)

find_package(Boost REQUIRED COMPONENTS
    program_options
    filesystem
    system)

add_executable(bbasm
    main.cc)
target_link_libraries(bbasm LINK_PRIVATE
    ${Boost_PROGRAM_OPTIONS_LIBRARY}
    ${Boost_FILESYSTEM_LIBRARY}
    ${Boost_SYSTEM_LIBRARY})
export(TARGETS bbasm FILE ${CMAKE_BINARY_DIR}/bba-export.cmake)