diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..cfb9fa6 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "lib/acl"] + path = lib/acl + url = https://git.redstoneunion.de/MrGeorgen/advanced_C_standard_library.git diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..55d83e1 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,6 @@ +project(bwinf C) +cmake_minimum_required(VERSION 3.17) +set( CMAKE_EXPORT_COMPILE_COMMANDS ON ) +set_property(GLOBAL PROPERTY C_STANDARD 99) +add_subdirectory("lib/acl") +add_subdirectory("j1-Passwoerter") diff --git a/j1-Passwoerter/CMakeLists.txt b/j1-Passwoerter/CMakeLists.txt new file mode 100644 index 0000000..3b5c5a5 --- /dev/null +++ b/j1-Passwoerter/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB J1SOURCES "src/*.c") +add_executable(j1 ${J1SOURCES} ${ACLSOURCES}) diff --git a/j1-Passwoerter/src/main.c b/j1-Passwoerter/src/main.c new file mode 100644 index 0000000..e0091b6 --- /dev/null +++ b/j1-Passwoerter/src/main.c @@ -0,0 +1,4 @@ +#include +int main() { + printf("hey"); +} diff --git a/lib/acl b/lib/acl new file mode 160000 index 0000000..285f43f --- /dev/null +++ b/lib/acl @@ -0,0 +1 @@ +Subproject commit 285f43f65a8037471948e83c719edc67046c3244