hejjj
This commit is contained in:
parent
07ad761d2c
commit
12dc4e64b4
15
.editorconfig
Normal file
15
.editorconfig
Normal file
@ -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
|
||||||
45
.gitignore
vendored
45
.gitignore
vendored
@ -52,45 +52,6 @@ Module.symvers
|
|||||||
Mkfile.old
|
Mkfile.old
|
||||||
dkms.conf
|
dkms.conf
|
||||||
|
|
||||||
# ---> CUDA
|
# Custom shit.
|
||||||
*.i
|
*.4coder
|
||||||
*.ii
|
*.ctm
|
||||||
*.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
|
|
||||||
|
|
||||||
|
|||||||
BIN
app_codebase_rdbg.rdbg
Normal file
BIN
app_codebase_rdbg.rdbg
Normal file
Binary file not shown.
110
base_app.10x
Normal file
110
base_app.10x
Normal file
@ -0,0 +1,110 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<N10X>
|
||||||
|
<Workspace>
|
||||||
|
<IncludeFilter>*.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,</IncludeFilter>
|
||||||
|
<ExcludeFilter></ExcludeFilter>
|
||||||
|
<SyncFiles>true</SyncFiles>
|
||||||
|
<Recursive>true</Recursive>
|
||||||
|
<ShowEmptyFolders>true</ShowEmptyFolders>
|
||||||
|
<IsVirtual>false</IsVirtual>
|
||||||
|
<IsFolder>false</IsFolder>
|
||||||
|
<BuildCommand>build.bat</BuildCommand>
|
||||||
|
<RebuildCommand></RebuildCommand>
|
||||||
|
<BuildFileCommand></BuildFileCommand>
|
||||||
|
<CleanCommand></CleanCommand>
|
||||||
|
<BuildWorkingDirectory></BuildWorkingDirectory>
|
||||||
|
<CancelBuild></CancelBuild>
|
||||||
|
<RunCommand></RunCommand>
|
||||||
|
<RunCommandWorkingDirectory></RunCommandWorkingDirectory>
|
||||||
|
<DebugCommand></DebugCommand>
|
||||||
|
<ExePathCommand></ExePathCommand>
|
||||||
|
<DebugSln></DebugSln>
|
||||||
|
<UseVisualStudioEnvBat>false</UseVisualStudioEnvBat>
|
||||||
|
<Configurations>
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
</Configurations>
|
||||||
|
<Platforms>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</Platforms>
|
||||||
|
<AdditionalIncludePaths>
|
||||||
|
<AdditionalIncludePath>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
|
||||||
|
</AdditionalIncludePath>
|
||||||
|
</AdditionalIncludePaths>
|
||||||
|
<Defines>
|
||||||
|
<Define>OS_WINDOWS 1</Define>
|
||||||
|
</Defines>
|
||||||
|
<ConfigProperties>
|
||||||
|
<ConfigAndPlatform>
|
||||||
|
<Name>Debug:x64</Name>
|
||||||
|
<Defines></Defines>
|
||||||
|
<ForceIncludes>
|
||||||
|
<ForceInclude>base_inc.h</ForceInclude>
|
||||||
|
<ForceInclude>os_inc.h</ForceInclude>
|
||||||
|
</ForceIncludes>
|
||||||
|
</ConfigAndPlatform>
|
||||||
|
<Config>
|
||||||
|
<Name>Debug</Name>
|
||||||
|
<Defines></Defines>
|
||||||
|
</Config>
|
||||||
|
<Platform>
|
||||||
|
<Name>x64</Name>
|
||||||
|
<Defines></Defines>
|
||||||
|
</Platform>
|
||||||
|
</ConfigProperties>
|
||||||
|
<Children>
|
||||||
|
<Folder>
|
||||||
|
<Path>.git</Path>
|
||||||
|
<IncludeFilter>*.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,</IncludeFilter>
|
||||||
|
<ExcludeFilter></ExcludeFilter>
|
||||||
|
<SyncFiles>true</SyncFiles>
|
||||||
|
<Recursive>true</Recursive>
|
||||||
|
<ShowEmptyFolders>true</ShowEmptyFolders>
|
||||||
|
<IsVirtual>false</IsVirtual>
|
||||||
|
<Children></Children>
|
||||||
|
</Folder>
|
||||||
|
<Folder>
|
||||||
|
<Path>build</Path>
|
||||||
|
<IncludeFilter>*.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,</IncludeFilter>
|
||||||
|
<ExcludeFilter></ExcludeFilter>
|
||||||
|
<SyncFiles>true</SyncFiles>
|
||||||
|
<Recursive>true</Recursive>
|
||||||
|
<ShowEmptyFolders>true</ShowEmptyFolders>
|
||||||
|
<IsVirtual>false</IsVirtual>
|
||||||
|
<Children></Children>
|
||||||
|
</Folder>
|
||||||
|
<File>
|
||||||
|
<Path>build.bat</Path>
|
||||||
|
</File>
|
||||||
|
<Folder>
|
||||||
|
<Path>src</Path>
|
||||||
|
<IncludeFilter>*.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,</IncludeFilter>
|
||||||
|
<ExcludeFilter></ExcludeFilter>
|
||||||
|
<SyncFiles>true</SyncFiles>
|
||||||
|
<Recursive>true</Recursive>
|
||||||
|
<ShowEmptyFolders>true</ShowEmptyFolders>
|
||||||
|
<IsVirtual>false</IsVirtual>
|
||||||
|
<Children></Children>
|
||||||
|
</Folder>
|
||||||
|
<File>
|
||||||
|
<Path>run.bat</Path>
|
||||||
|
</File>
|
||||||
|
</Children>
|
||||||
|
</Workspace>
|
||||||
|
</N10X>
|
||||||
17
build.bat
Normal file
17
build.bat
Normal file
@ -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
|
||||||
Loading…
Reference in New Issue
Block a user