einfaches build system

This commit is contained in:
2020-10-28 19:47:10 +01:00
parent a1d2736e24
commit 0acedf8a82
5 changed files with 16 additions and 0 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "lib/acl"]
path = lib/acl
url = https://git.redstoneunion.de/MrGeorgen/advanced_C_standard_library.git

6
CMakeLists.txt Normal file
View File

@ -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")

View File

@ -0,0 +1,2 @@
file(GLOB J1SOURCES "src/*.c")
add_executable(j1 ${J1SOURCES} ${ACLSOURCES})

View File

@ -0,0 +1,4 @@
#include <stdio.h>
int main() {
printf("hey");
}

1
lib/acl Submodule

Submodule lib/acl added at 285f43f65a