diff options
author | whitequark <whitequark@whitequark.org> | 2020-06-23 10:14:40 +0000 |
---|---|---|
committer | whitequark <whitequark@whitequark.org> | 2020-06-23 10:47:18 +0000 |
commit | 4c7aedcf4ec4a93b0b3ab3f8ab68fe804a1e21cd (patch) | |
tree | 8f4aa9f8cc3914cd28880c768d1d5fd72060f75d /bba/CMakeLists.txt | |
parent | c9e7d1448eaa4644d18073316e30586f2cb1d75a (diff) | |
download | nextpnr-4c7aedcf4ec4a93b0b3ab3f8ab68fe804a1e21cd.tar.gz nextpnr-4c7aedcf4ec4a93b0b3ab3f8ab68fe804a1e21cd.tar.bz2 nextpnr-4c7aedcf4ec4a93b0b3ab3f8ab68fe804a1e21cd.zip |
CMake: promote bba to a true subproject.
Diffstat (limited to 'bba/CMakeLists.txt')
-rw-r--r-- | bba/CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bba/CMakeLists.txt b/bba/CMakeLists.txt new file mode 100644 index 00000000..e06d8b1d --- /dev/null +++ b/bba/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required(VERSION 3.3) +project(bba) + +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) |