From a6c58e94d4e3e0fbd97961e10892f98fa916e84d Mon Sep 17 00:00:00 2001 From: orosmatthew Date: Tue, 5 Mar 2024 22:44:13 -0500 Subject: [PATCH] Initial commit --- CMakeLists.txt | 7 +++++++ LICENSE.txt | 19 +++++++++++++++++++ clang-format.txt | 17 +++++++++++++++++ gitattributes.txt | 1 + gitignore.txt | 3 +++ src/main.cpp | 7 +++++++ 6 files changed, 54 insertions(+) create mode 100644 CMakeLists.txt create mode 100644 LICENSE.txt create mode 100644 clang-format.txt create mode 100644 gitattributes.txt create mode 100644 gitignore.txt create mode 100644 src/main.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..88e6b50 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,7 @@ +cmake_minimum_required(VERSION 3.20) + +project(quark) + +set(CMAKE_CXX_STANDARD 20) + +add_executable(quark src/main.cpp) \ No newline at end of file diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..052613a --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,19 @@ +Copyright (c) 2024-present Matthew Oros + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/clang-format.txt b/clang-format.txt new file mode 100644 index 0000000..d98d275 --- /dev/null +++ b/clang-format.txt @@ -0,0 +1,17 @@ +--- +BasedOnStyle: WebKit +AlignAfterOpenBracket: AlwaysBreak +BinPackParameters: false +BinPackArguments: false +AllowAllParametersOfDeclarationOnNextLine: true +NamespaceIndentation: None +BreakBeforeBraces: Stroustrup +ColumnLimit: 120 +PenaltyReturnTypeOnItsOwnLine: 200 +PenaltyIndentedWhitespace: 1 +PointerAlignment: Left +AllowShortFunctionsOnASingleLine: None +AlwaysBreakTemplateDeclarations: Yes +AlignConsecutiveMacros: None +AlignEscapedNewlines: DontAlign +... diff --git a/gitattributes.txt b/gitattributes.txt new file mode 100644 index 0000000..94f480d --- /dev/null +++ b/gitattributes.txt @@ -0,0 +1 @@ +* text=auto eol=lf \ No newline at end of file diff --git a/gitignore.txt b/gitignore.txt new file mode 100644 index 0000000..24a002c --- /dev/null +++ b/gitignore.txt @@ -0,0 +1,3 @@ +/build +/cmake-build* +.idea \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..d1cfdc1 --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,7 @@ +#include + +int main() +{ + std::cout << "Hello World!" << std::endl; + return EXIT_SUCCESS; +} \ No newline at end of file