summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.clang-format9
-rw-r--r--.gitignore2
-rw-r--r--CMakeLists.txt25
-rw-r--r--LICENSE14
-rw-r--r--README.md3
-rw-r--r--src/main.c6
6 files changed, 59 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 0000000..cdb52dc
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,9 @@
+---
+BasedOnStyle: Google
+FixNamespaceComments: 'false'
+NamespaceIndentation: All
+AccessModifierOffset: 0
+IndentAccessModifiers: true
+
+
+...
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a4fb4fb
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+build/
+.cache/
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..e2f4b00
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,25 @@
+cmake_minimum_required(VERSION 3.10)
+
+project(
+ HyperspaceDemo
+ VERSION 1.0
+ DESCRIPTION "enter the hyperspace"
+)
+
+set(CMAKE_C_STANDARD 99)
+set(CMAKE_C_STANDARD_REQUIRED True)
+
+set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
+
+add_executable(Hyperspace)
+
+set_target_properties(
+ Hyperspace PROPERTIES
+ DESCRIPTION ${PROJECT_DESCRIPTION}
+ OUTPUT_NAME "hyperspacedemo"
+)
+
+file(GLOB_RECURSE SRC_FILES "src/*.c" "src/*.h")
+
+target_sources(Hyperspace PRIVATE ${SRC_FILES})
+
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..bcf8f09
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,14 @@
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ Version 2, December 2004
+
+Copyright (C) 2024 ilotterytea <me@ilotterytea.kz>
+
+Everyone is permitted to copy and distribute verbatim or modified
+copies of this license document, and changing it is allowed as long
+as the name is changed.
+
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. You just DO WHAT THE FUCK YOU WANT TO.
+
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..cb1b7f1
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# hyperspace
+
+TBA
diff --git a/src/main.c b/src/main.c
new file mode 100644
index 0000000..5368eae
--- /dev/null
+++ b/src/main.c
@@ -0,0 +1,6 @@
+#include <stdio.h>
+
+int main(int argc, char *argv[]) {
+ printf("hi world!\n");
+ return 0;
+}