einfaches build system
This commit is contained in:
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal 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
6
CMakeLists.txt
Normal 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")
|
||||
2
j1-Passwoerter/CMakeLists.txt
Normal file
2
j1-Passwoerter/CMakeLists.txt
Normal file
@ -0,0 +1,2 @@
|
||||
file(GLOB J1SOURCES "src/*.c")
|
||||
add_executable(j1 ${J1SOURCES} ${ACLSOURCES})
|
||||
4
j1-Passwoerter/src/main.c
Normal file
4
j1-Passwoerter/src/main.c
Normal file
@ -0,0 +1,4 @@
|
||||
#include <stdio.h>
|
||||
int main() {
|
||||
printf("hey");
|
||||
}
|
||||
1
lib/acl
Submodule
1
lib/acl
Submodule
Submodule lib/acl added at 285f43f65a
Reference in New Issue
Block a user