diff options
author | mattkae <mattkae@protonmail.com> | 2023-04-30 11:15:18 -0400 |
---|---|---|
committer | mattkae <mattkae@protonmail.com> | 2023-04-30 11:15:18 -0400 |
commit | 04206efb102990c2ce0fa26be30db803cdc816be (patch) | |
tree | 7423964d7afeb6d2d25eeb544a0d8396df546e06 /CMakeLists.txt | |
parent | 4058f9b1704322f8185136c2558c2ab96a4d835c (diff) |
Moving over to CMakeList for qcreator support
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..a65ed8b --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,13 @@ +cmake_minimum_required(VERSION 3.5) + +project(html_parser LANGUAGES CXX) + +set(CMAKE_CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD_REQUIRED ON) + +add_executable(html_parser src/main.cpp src/html_token.cpp src/tokenizer.cpp) + +target_link_libraries(html_parser -lmatte) + +install(TARGETS html_parser + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) |