From 7f4cd5ee9a1578d4e59f456ee5769ff3f862debb Mon Sep 17 00:00:00 2001 From: ProgramSnail Date: Fri, 24 Mar 2023 09:36:28 +0300 Subject: [PATCH] init --- .gitignore | 2 ++ CMakeLists.txt | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 CMakeLists.txt diff --git a/.gitignore b/.gitignore index e83f82e..dc4c4f7 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,5 @@ compile_commands.json CTestTestfile.cmake _deps + +build diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..16fc8f5 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required(VERSION 3.10) + +project(LangInterpreter) + +set(CMAKE_CXX_STANDARD 17) + +find_package(Catch2 2 REQUIRED) + +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") + +# add_executable(interpreter_tests tests/tests.cpp) +# target_link_libraries(tests PRIVATE Catch2::Catch2WithMain) + +# add_executable(lang_interpreter src/main.cpp) +