Create project skeleton

This commit is contained in:
2024-12-25 18:08:50 +00:00
commit 21cf170b5a
8 changed files with 137 additions and 0 deletions

5
engine/CMakeLists.txt Normal file
View File

@@ -0,0 +1,5 @@
add_library(engine
foo.c
)
set_default_target_options(engine)
target_include_directories(engine PUBLIC include)

11
engine/foo.c Normal file
View File

@@ -0,0 +1,11 @@
/*
* Copyright (c) Camden Dixie O'Brien
* SPDX-License-Identifier: AGPL-3.0-only
*/
#include "foo.h"
int foo(void)
{
return 42;
}

11
engine/include/foo.h Normal file
View File

@@ -0,0 +1,11 @@
/*
* Copyright (c) Camden Dixie O'Brien
* SPDX-License-Identifier: AGPL-3.0-only
*/
#ifndef FOO_H
#define FOO_H
int foo(void);
#endif