From bba1e2a00f5d18e5ced8d65dfe39a9749e24528c Mon Sep 17 00:00:00 2001 From: VegOwOtenks Date: Tue, 8 Oct 2024 22:52:10 +0200 Subject: [PATCH] JetBrains CLion generated & modified CMakeLists.txt --- CMakeLists.txt | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..52109fb --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,51 @@ +cmake_minimum_required(VERSION 3.21) +project(Flup C) + +set(CMAKE_CXX_STANDARD 14) + +include_directories(src) +include_directories(submodules/utilitiec/src) +include_directories(templates) + +add_executable(Flup + src/interpreter.c + src/main.c + src/tokenizer.c + src/builtin-functions.c + src/callframe.c + src/value.c + submodules/utilitiec/src/allocator-interface/allocator-interface.c + submodules/utilitiec/src/allocator-interface/allocator-interface.h + submodules/utilitiec/src/allocator-interface/CMakeLists.txt + submodules/utilitiec/src/argumentc/argumentc.c + submodules/utilitiec/src/argumentc/argumentc.h + submodules/utilitiec/src/argumentc/CMakeLists.txt + submodules/utilitiec/src/arraylist/arraylist.c + submodules/utilitiec/src/arraylist/arraylist.h + submodules/utilitiec/src/arraylist/CMakeLists.txt + submodules/utilitiec/src/dynamicarray/CMakeLists.txt + submodules/utilitiec/src/dynamicarray/dynamicarray.c + submodules/utilitiec/src/dynamicarray/dynamicarray.h + submodules/utilitiec/src/dynamicbuffer/CMakeLists.txt + submodules/utilitiec/src/dynamicbuffer/dynamicbuffer.c + submodules/utilitiec/src/dynamicbuffer/dynamicbuffer.h + submodules/utilitiec/src/pointers/CMakeLists.txt + submodules/utilitiec/src/pointers/pointers.c + submodules/utilitiec/src/pointers/pointers.h + submodules/utilitiec/src/Scratchpad/CMakeLists.txt + submodules/utilitiec/src/Scratchpad/Scratchpad.c + submodules/utilitiec/src/Scratchpad/Scratchpad.h + submodules/utilitiec/src/siphash/CMakeLists.txt + submodules/utilitiec/src/siphash/siphash.c + submodules/utilitiec/src/siphash/siphash.h + submodules/utilitiec/src/StringView/CMakeLists.txt + submodules/utilitiec/src/StringView/StringView.c + submodules/utilitiec/src/StringView/StringView.h + submodules/utilitiec/src/utf8/CMakeLists.txt + submodules/utilitiec/src/utf8/utf-8.c + submodules/utilitiec/src/utf8/utf-8.h + submodules/utilitiec/src/cmakegen.sh + submodules/utilitiec/src/CMakeLists.txt + submodules/utilitiec/src/errorcodes.h) + +target_link_libraries(Flup m)