From 26c6efb042b61016015b7bc37f6e315208a48d42 Mon Sep 17 00:00:00 2001 From: ybyuan <3118918283@qq.com> Date: Wed, 11 Dec 2024 00:45:29 +0800 Subject: [PATCH] Add BSD Zero Clause License --- LICENSE | 12 ++++++++++++ README.md | 11 ++++++++++- configure.ac | 1 + 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..d813ed0 --- /dev/null +++ b/LICENSE @@ -0,0 +1,12 @@ +BSD Zero Clause License + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md index 2ddd2d4..6f49101 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ A modern C++11 game engine using SDL2 and Vulkan. Optional configuration flags: - `--with-sdl2=PATH`: Use SDL2 from specified path - `--with-vulkan-sdk=PATH`: Use Vulkan SDK from specified path + - `--enable-testing`: Enable unit tests 3. Build the project: ```bash @@ -46,6 +47,7 @@ make - SDL2 for window management and input handling - Vulkan for high-performance graphics - Automatic dependency management +- Comprehensive test coverage ## Development @@ -54,4 +56,11 @@ The project structure: - `renderer/`: Vulkan rendering code - `game/`: Game logic code - `deps/`: Dependencies and build scripts -- `m4/`: Autoconf macro files \ No newline at end of file +- `m4/`: Autoconf macro files +- `tests/`: Test files + - `unit/`: Unit tests + +## License + +This project is licensed under the BSD Zero Clause License - see the [LICENSE](LICENSE) file for details. +This means you can do whatever you want with the code, no attribution required. \ No newline at end of file diff --git a/configure.ac b/configure.ac index 91907d2..c03854d 100644 --- a/configure.ac +++ b/configure.ac @@ -2,6 +2,7 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) AC_INIT([DOOM_PP], [0.1], [your_email@example.com]) +AC_COPYRIGHT([BSD Zero Clause License]) # 确保源码目录存在 AC_CONFIG_SRCDIR([src/main.cpp])