commit 9463fdf1d7dacab9c21cb9d82e75c3afa3624dac Author: Dexrn ZacAttack Date: Fri Jan 23 17:36:01 2026 -0800 feat!: init diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..a3d8314 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,14 @@ +cmake_minimum_required(VERSION 4.0) +project(WinDurango) + +set(CMAKE_CXX_STANDARD 17) + +add_subdirectory(projects/WinDurango.Common) +add_subdirectory(projects/WinDurango.Core) +add_subdirectory(projects/WinDurango.Kernel) + +add_custom_target(WinDurango ALL DEPENDS + WinDurango.Common + WinDurango.Core + WinDurango.Kernel +) diff --git a/README.md b/README.md new file mode 100644 index 0000000..cdd1c01 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# WinDurango + +> [!IMPORTANT] +> We are rewriting WinDurango, due to many of the old codebase's flaws coming to light. \ No newline at end of file diff --git a/projects/WinDurango.Common/CMakeLists.txt b/projects/WinDurango.Common/CMakeLists.txt new file mode 100644 index 0000000..56c8bda --- /dev/null +++ b/projects/WinDurango.Common/CMakeLists.txt @@ -0,0 +1,25 @@ +cmake_minimum_required(VERSION 4.0) +project(WinDurango.Common VERSION 1.0.0) + +set(VERSION_SUFFIX "-dev.0") # used for non-stable versions, otherwise blank + +set(CMAKE_CXX_STANDARD 17) + +set(FILES + include/WinDurango.Common/Common.h +) + +add_library(WinDurango.Common SHARED ${FILES}) +target_include_directories(WinDurango.Common PUBLIC + $ +) + +target_compile_definitions(WinDurango.Common PUBLIC + WINDURANGO_COMMON_COMPILER_NAME="${CMAKE_CXX_COMPILER_ID}" + WINDURANGO_COMMON_PLATFORM_NAME="${CMAKE_SYSTEM_NAME}" + WINDURANGO_COMMON_PLATFORM_ARCH="${CMAKE_SYSTEM_PROCESSOR}" + WINDURANGO_COMMON_VERSION="${PROJECT_VERSION}${VERSION_SUFFIX}" + WINDURANGO_COMMON_RC_VERSION=${PROJECT_VERSION_MAJOR},${PROJECT_VERSION_MINOR},${PROJECT_VERSION_PATCH} +) + +set_target_properties(WinDurango.Common PROPERTIES LINKER_LANGUAGE CXX) \ No newline at end of file diff --git a/projects/WinDurango.Common/README.md b/projects/WinDurango.Common/README.md new file mode 100644 index 0000000..29ef641 --- /dev/null +++ b/projects/WinDurango.Common/README.md @@ -0,0 +1,2 @@ +# WinDurango.Common +All projects shall depend on this. \ No newline at end of file diff --git a/projects/WinDurango.Common/include/WinDurango.Common/Common.h b/projects/WinDurango.Common/include/WinDurango.Common/Common.h new file mode 100644 index 0000000..4754cb1 --- /dev/null +++ b/projects/WinDurango.Common/include/WinDurango.Common/Common.h @@ -0,0 +1,7 @@ +// +// Created by DexrnZacAttack on 1/23/26 using zPc-i2. +// +#ifndef WINDURANGO_COMMON_H +#define WINDURANGO_COMMON_H + +#endif // WINDURANGO_COMMON_H \ No newline at end of file diff --git a/projects/WinDurango.Core/CMakeLists.txt b/projects/WinDurango.Core/CMakeLists.txt new file mode 100644 index 0000000..82ffd21 --- /dev/null +++ b/projects/WinDurango.Core/CMakeLists.txt @@ -0,0 +1,27 @@ +cmake_minimum_required(VERSION 4.0) +project(WinDurango.Core VERSION 1.0.0) + +set(VERSION_SUFFIX "-dev.0") # used for non-stable versions, otherwise blank + +set(CMAKE_CXX_STANDARD 17) + +set(FILES + include/WinDurango.Core/Core.h +) + +add_library(WinDurango.Core SHARED ${FILES}) +target_include_directories(WinDurango.Core PUBLIC + $ +) + +target_link_libraries(WinDurango.Core PUBLIC WinDurango.Common WinDurango.Kernel) + +target_compile_definitions(WinDurango.Core PUBLIC + WINDURANGO_CORE_COMPILER_NAME="${CMAKE_CXX_COMPILER_ID}" + WINDURANGO_CORE_PLATFORM_NAME="${CMAKE_SYSTEM_NAME}" + WINDURANGO_CORE_PLATFORM_ARCH="${CMAKE_SYSTEM_PROCESSOR}" + WINDURANGO_CORE_VERSION="${PROJECT_VERSION}${VERSION_SUFFIX}" + WINDURANGO_CORE_RC_VERSION=${PROJECT_VERSION_MAJOR},${PROJECT_VERSION_MINOR},${PROJECT_VERSION_PATCH} +) + +set_target_properties(WinDurango.Core PROPERTIES LINKER_LANGUAGE CXX) \ No newline at end of file diff --git a/projects/WinDurango.Core/README.md b/projects/WinDurango.Core/README.md new file mode 100644 index 0000000..d05314b --- /dev/null +++ b/projects/WinDurango.Core/README.md @@ -0,0 +1,2 @@ +# WinDurango.Core +This shall depend on all projects \ No newline at end of file diff --git a/projects/WinDurango.Core/include/WinDurango.Core/Core.h b/projects/WinDurango.Core/include/WinDurango.Core/Core.h new file mode 100644 index 0000000..594b575 --- /dev/null +++ b/projects/WinDurango.Core/include/WinDurango.Core/Core.h @@ -0,0 +1,7 @@ +// +// Created by DexrnZacAttack on 1/23/26 using zPc-i2. +// +#ifndef WINDURANGO_CORE_H +#define WINDURANGO_CORE_H + +#endif // WINDURANGO_CORE_H \ No newline at end of file diff --git a/projects/WinDurango.Kernel/CMakeLists.txt b/projects/WinDurango.Kernel/CMakeLists.txt new file mode 100644 index 0000000..dfe61bc --- /dev/null +++ b/projects/WinDurango.Kernel/CMakeLists.txt @@ -0,0 +1,27 @@ +cmake_minimum_required(VERSION 4.0) +project(WinDurango.Kernel VERSION 1.0.0) + +set(VERSION_SUFFIX "-dev.0") # used for non-stable versions, otherwise blank + +set(CMAKE_CXX_STANDARD 17) + +set(FILES + include/WinDurango.Kernel/Kernel.h +) + +add_library(WinDurango.Kernel SHARED ${FILES}) +target_include_directories(WinDurango.Kernel PUBLIC + $ +) + +target_link_libraries(WinDurango.Kernel PUBLIC WinDurango.Common) + +target_compile_definitions(WinDurango.Kernel PUBLIC + WINDURANGO_KERNEL_COMPILER_NAME="${CMAKE_CXX_COMPILER_ID}" + WINDURANGO_KERNEL_PLATFORM_NAME="${CMAKE_SYSTEM_NAME}" + WINDURANGO_KERNEL_PLATFORM_ARCH="${CMAKE_SYSTEM_PROCESSOR}" + WINDURANGO_KERNEL_VERSION="${PROJECT_VERSION}${VERSION_SUFFIX}" + WINDURANGO_KERNEL_RC_VERSION=${PROJECT_VERSION_MAJOR},${PROJECT_VERSION_MINOR},${PROJECT_VERSION_PATCH} +) + +set_target_properties(WinDurango.Kernel PROPERTIES LINKER_LANGUAGE CXX) \ No newline at end of file diff --git a/projects/WinDurango.Kernel/README.md b/projects/WinDurango.Kernel/README.md new file mode 100644 index 0000000..5bc0a1a --- /dev/null +++ b/projects/WinDurango.Kernel/README.md @@ -0,0 +1,2 @@ +# WinDurango.Kernel +KernelX impl \ No newline at end of file diff --git a/projects/WinDurango.Kernel/include/WinDurango.Kernel/Kernel.h b/projects/WinDurango.Kernel/include/WinDurango.Kernel/Kernel.h new file mode 100644 index 0000000..daf2f7f --- /dev/null +++ b/projects/WinDurango.Kernel/include/WinDurango.Kernel/Kernel.h @@ -0,0 +1,7 @@ +// +// Created by DexrnZacAttack on 1/23/26 using zPc-i2. +// +#ifndef WINDURANGO_KERNEL_H +#define WINDURANGO_KERNEL_H + +#endif // WINDURANGO_KERNEL_H \ No newline at end of file