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 0000000..57f0e77 Binary files /dev/null and b/app_codebase_rdbg.rdbg differ diff --git a/base_app.10x b/base_app.10x new file mode 100644 index 0000000..d77bfa5 --- /dev/null +++ b/base_app.10x @@ -0,0 +1,110 @@ + + + + *.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