-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
16 lines (14 loc) · 1.13 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
cmake_minimum_required(VERSION 3.12)
project(PropBank)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_FLAGS "-O3")
find_package(util REQUIRED)
find_package(xml_parser REQUIRED)
add_library(PropBank src/Argument.cpp src/Argument.h src/ArgumentType.h src/Role.cpp src/Role.h src/RoleSet.cpp src/RoleSet.h src/FramesetArgument.cpp src/FramesetArgument.h src/Frameset.cpp src/Frameset.h src/Predicate.cpp src/Predicate.h src/PredicateList.cpp src/PredicateList.h src/FramesetList.cpp src/FramesetList.h
src/ArgumentList.cpp
src/ArgumentList.h)
target_link_libraries(PropBank xml_parser::xml_parser util::util)
add_executable(Test src/Argument.cpp src/Argument.h src/ArgumentType.h src/Role.cpp src/Role.h src/RoleSet.cpp src/RoleSet.h src/FramesetArgument.cpp src/FramesetArgument.h src/Frameset.cpp src/Frameset.h src/Predicate.cpp src/Predicate.h src/PredicateList.cpp src/PredicateList.h src/FramesetList.cpp src/FramesetList.h Test/catch.hpp Test/FramesetListTest.cpp Test/PredicateListTest.cpp Test/ArgumentTypeTest.cpp
src/ArgumentList.cpp
src/ArgumentList.h)
target_link_libraries(Test xml_parser::xml_parser util::util)