From 12dc4e64b4645c3a1a9c5e60727caeb7a746b4d0 Mon Sep 17 00:00:00 2001 From: Anton Ljungdahl Date: Thu, 8 Aug 2024 21:18:52 +0200 Subject: [PATCH] hejjj --- .editorconfig | 15 ++++++ .gitignore | 45 ++--------------- app_codebase_rdbg.rdbg | Bin 0 -> 1144 bytes base_app.10x | 110 +++++++++++++++++++++++++++++++++++++++++ build.bat | 17 +++++++ run.bat | 4 ++ 6 files changed, 149 insertions(+), 42 deletions(-) create mode 100644 .editorconfig create mode 100644 app_codebase_rdbg.rdbg create mode 100644 base_app.10x create mode 100644 build.bat create mode 100644 run.bat diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..cc313c7 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true +indent_style = space +indent_size = 2 + +# Matches multiple files with brace expansion notation +# Set default charset +[*.{c,h,js,py}] +charset = utf-8 \ No newline at end of file diff --git a/.gitignore b/.gitignore index 5d85993..c77579f 100644 --- a/.gitignore +++ b/.gitignore @@ -52,45 +52,6 @@ Module.symvers Mkfile.old dkms.conf -# ---> CUDA -*.i -*.ii -*.gpu -*.ptx -*.cubin -*.fatbin - -# ---> C++ -# Prerequisites -*.d - -# Compiled Object files -*.slo -*.lo -*.o -*.obj - -# Precompiled Headers -*.gch -*.pch - -# Compiled Dynamic libraries -*.so -*.dylib -*.dll - -# Fortran module files -*.mod -*.smod - -# Compiled Static libraries -*.lai -*.la -*.a -*.lib - -# Executables -*.exe -*.out -*.app - +# Custom shit. +*.4coder +*.ctm diff --git a/app_codebase_rdbg.rdbg b/app_codebase_rdbg.rdbg new file mode 100644 index 0000000000000000000000000000000000000000..57f0e77577172d6250cb0b020ac2f3c802eb974c GIT binary patch literal 1144 zcmcIiO-lnY5Z$7v7ezgK@B;(|C1MK-J!+vh1wHf<2x&6z26nSclDhTZce1rjTS(hW z2a?RrzM1!ClCR!d|0YS2L6`EXVxp8VKO&1jc}v#*T3(xKC9yYxWsbW!PpV;5XmSlt(ESyX=z#dGiJ>P5w{U|ASk%Yh`8H`v(6};S|TnH+UrsY zzsrq!-33>gi1r#pAYSe4bxqb{cc7j5V^yiNn{{~+Q9qRv>kW(IuolV@(TNn=!2h(R z^o5J@_ZXXEn9+Rb_glfIcZtyC1lIwsjBA;L_wYf;vOY&IW!QGzX*ci0I__X8nkkJz zE#MHbPPrVOU(SL{P}AdejeDrNkH528%RPTeafQd{Hya>D-|#9^g6D&V{ypc`e()l~ o=qnnqqud4WbRG-L7z)< + + + *.c,*.cc,*.cpp,*.c++,*.cp,*.cxx,*.h,*.hh,*.hpp,*.h++,*.hp,*.hxx,*.inl,*.cs,*.rs,*.java,*.jav,*.js,*.jsc,*.jsx,*.json,*.cls,*.py,*.rpy,*.php,*.php3,*.phl,*.phtml,*.rhtml,*.tpl,*.phps,*.lua,*.html,*.html5,*.htm,*.xml,*.xaml,*.css,*.ssi,*.haml,*.yaml,*.bat,*.wbf,*.wbt,*.txt,*.cmake,*.make,*.makefile,*.mak,*.mk,*.sh,*.bash,*.csv,*.asp,*.pl,*.mac,*.ws,*.vbs,*.perl,*.src,*.rss,*.inc,*.f,*.go,*.prl,*.plx,*.rb,*.lsp,*.lpx,*.ps1,*.command,*.cbl,*.cob,*.qs,*.wxs,*.ph,*.msc,*.glsl,*.hlsl,*.fx,*.vert,*.tesc,*.tese,*.geom,*.frag,*.comp,*.pssl,*.scons,*.cu,*.jai, + + true + true + true + false + false + build.bat + + + + + + + + + + + false + + Debug + Release + + + x64 + Win32 + + + C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\ATLMFC\include +C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include +C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um +C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt +C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared +C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um +C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt +C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\cppwinrt +C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\ATLMFC\include +C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include +C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um +C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt +C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared +C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um +C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt +C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\cppwinrt + + + + OS_WINDOWS 1 + + + + Debug:x64 + + + base_inc.h + os_inc.h + + + + Debug + + + + x64 + + + + + + .git + *.c,*.cc,*.cpp,*.c++,*.cp,*.cxx,*.h,*.hh,*.hpp,*.h++,*.hp,*.hxx,*.inl,*.cs,*.rs,*.java,*.jav,*.js,*.jsc,*.jsx,*.json,*.cls,*.py,*.rpy,*.php,*.php3,*.phl,*.phtml,*.rhtml,*.tpl,*.phps,*.lua,*.html,*.html5,*.htm,*.xml,*.xaml,*.css,*.ssi,*.haml,*.yaml,*.bat,*.wbf,*.wbt,*.txt,*.cmake,*.make,*.makefile,*.mak,*.mk,*.sh,*.bash,*.csv,*.asp,*.pl,*.mac,*.ws,*.vbs,*.perl,*.src,*.rss,*.inc,*.f,*.go,*.prl,*.plx,*.rb,*.lsp,*.lpx,*.ps1,*.command,*.cbl,*.cob,*.qs,*.wxs,*.ph,*.msc,*.glsl,*.hlsl,*.fx,*.vert,*.tesc,*.tese,*.geom,*.frag,*.comp,*.pssl,*.scons,*.cu,*.jai, + + true + true + true + false + + + + build + *.c,*.cc,*.cpp,*.c++,*.cp,*.cxx,*.h,*.hh,*.hpp,*.h++,*.hp,*.hxx,*.inl,*.cs,*.rs,*.java,*.jav,*.js,*.jsc,*.jsx,*.json,*.cls,*.py,*.rpy,*.php,*.php3,*.phl,*.phtml,*.rhtml,*.tpl,*.phps,*.lua,*.html,*.html5,*.htm,*.xml,*.xaml,*.css,*.ssi,*.haml,*.yaml,*.bat,*.wbf,*.wbt,*.txt,*.cmake,*.make,*.makefile,*.mak,*.mk,*.sh,*.bash,*.csv,*.asp,*.pl,*.mac,*.ws,*.vbs,*.perl,*.src,*.rss,*.inc,*.f,*.go,*.prl,*.plx,*.rb,*.lsp,*.lpx,*.ps1,*.command,*.cbl,*.cob,*.qs,*.wxs,*.ph,*.msc,*.glsl,*.hlsl,*.fx,*.vert,*.tesc,*.tese,*.geom,*.frag,*.comp,*.pssl,*.scons,*.cu,*.jai, + + true + true + true + false + + + + build.bat + + + src + *.c,*.cc,*.cpp,*.c++,*.cp,*.cxx,*.h,*.hh,*.hpp,*.h++,*.hp,*.hxx,*.inl,*.cs,*.rs,*.java,*.jav,*.js,*.jsc,*.jsx,*.json,*.cls,*.py,*.rpy,*.php,*.php3,*.phl,*.phtml,*.rhtml,*.tpl,*.phps,*.lua,*.html,*.html5,*.htm,*.xml,*.xaml,*.css,*.ssi,*.haml,*.yaml,*.bat,*.wbf,*.wbt,*.txt,*.cmake,*.make,*.makefile,*.mak,*.mk,*.sh,*.bash,*.csv,*.asp,*.pl,*.mac,*.ws,*.vbs,*.perl,*.src,*.rss,*.inc,*.f,*.go,*.prl,*.plx,*.rb,*.lsp,*.lpx,*.ps1,*.command,*.cbl,*.cob,*.qs,*.wxs,*.ph,*.msc,*.glsl,*.hlsl,*.fx,*.vert,*.tesc,*.tese,*.geom,*.frag,*.comp,*.pssl,*.scons,*.cu,*.jai, + + true + true + true + false + + + + run.bat + + + + diff --git a/build.bat b/build.bat new file mode 100644 index 0000000..18c6e2a --- /dev/null +++ b/build.bat @@ -0,0 +1,17 @@ +@echo off + +ctime -begin timeBuild.ctm + +set CommonCompilerFlags=/nologo /Zi /FC /WX /W4 /wd4201 /wd4100 /wd4189 /wd4244 /wd4127 /wd4456 +set Sources=../src/main.c + +IF NOT EXIST .\build mkdir .\build +pushd .\build +cl %CommonCompilerFlags% %Sources% -Feprogram.exe +set LastError=%ERRORLEVEL% +popd + +ctime -end timeBuild.ctm %LastError% +IF NOT %LastError%==0 GOTO :end + +:end diff --git a/run.bat b/run.bat new file mode 100644 index 0000000..6920322 --- /dev/null +++ b/run.bat @@ -0,0 +1,4 @@ +@echo off +pushd build +call program.exe +popd