diff options
| author | Marcos Magueta <maguetamarcos@gmail.com> | 2026-05-08 17:31:36 -0300 |
|---|---|---|
| committer | Marcos Magueta <maguetamarcos@gmail.com> | 2026-05-08 17:31:36 -0300 |
| commit | 602af97c269bdc211cc7aeb34e436152053395cc (patch) | |
| tree | a76761eaee85550d5b16e228e8f2c75f4fd88c6f /Main | |
| parent | 4a14379e3fa49714d169b0a3aaa1ed2b38058196 (diff) | |
| download | RNT-602af97c269bdc211cc7aeb34e436152053395cc.tar.gz RNT-602af97c269bdc211cc7aeb34e436152053395cc.zip | |
restructure project
Diffstat (limited to '')
| -rw-r--r-- | Main.vcxproj.filters | 14 | ||||
| -rw-r--r-- | Main/Main.cpp | 11 | ||||
| -rw-r--r-- | RelationalNT.vcxproj (renamed from Main.vcxproj) | 72 |
3 files changed, 38 insertions, 59 deletions
diff --git a/Main.vcxproj.filters b/Main.vcxproj.filters deleted file mode 100644 index 153390a..0000000 --- a/Main.vcxproj.filters +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <ItemGroup> - <Filter Include="Source Files"> - <UniqueIdentifier>{4fc737f1-c7a5-4376-a066-2a32d752a2ff}</UniqueIdentifier> - <Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions> - </Filter> - </ItemGroup> - <ItemGroup> - <ClCompile Include="Main\Main.cpp"> - <Filter>Source Files</Filter> - </ClCompile> - </ItemGroup> -</Project> diff --git a/Main/Main.cpp b/Main/Main.cpp deleted file mode 100644 index 5eb314e..0000000 --- a/Main/Main.cpp +++ /dev/null @@ -1,11 +0,0 @@ -#include <iostream> - -#include "Runtime/NtContext.h" - -int main() -{ - nt::NtContext nt; - - std::cout << "NT context running: " << (nt.IsRunning() ? "yes" : "no") << '\n'; - return nt.IsRunning() ? 0 : 1; -} diff --git a/Main.vcxproj b/RelationalNT.vcxproj index 2bfa6bd..8176edc 100644 --- a/Main.vcxproj +++ b/RelationalNT.vcxproj @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="Debug|Win32"> <Configuration>Debug</Configuration> @@ -18,45 +19,44 @@ <Platform>x64</Platform> </ProjectConfiguration> </ItemGroup> + <PropertyGroup Label="Globals"> <VCProjectVersion>18.0</VCProjectVersion> - <Keyword>Win32Proj</Keyword> - <ProjectGuid>{ea0ab0d0-241f-4bd0-aefe-28d42bd6cf1d}</ProjectGuid> - <RootNamespace>Main</RootNamespace> - <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> + <ProjectGuid>{FBC1C0B4-8B54-4A18-A91E-8A72767C5AE7}</ProjectGuid> + <RootNamespace>RelationalNT</RootNamespace> + <Keyword>MakeFileProj</Keyword> </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> - <UseDebugLibraries>true</UseDebugLibraries> + <ConfigurationType>Makefile</ConfigurationType> + <UseDebugLibraries>true</UseDebugLibraries> <PlatformToolset>v145</PlatformToolset> - <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> + <ConfigurationType>Makefile</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> <PlatformToolset>v145</PlatformToolset> - <WholeProgramOptimization>true</WholeProgramOptimization> - <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> - <UseDebugLibraries>true</UseDebugLibraries> + <ConfigurationType>Makefile</ConfigurationType> + <UseDebugLibraries>true</UseDebugLibraries> <PlatformToolset>v145</PlatformToolset> - <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> + <ConfigurationType>Makefile</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> <PlatformToolset>v145</PlatformToolset> - <WholeProgramOptimization>true</WholeProgramOptimization> - <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <ImportGroup Label="ExtensionSettings"> </ImportGroup> - <ImportGroup Label="Shared"> + + <ImportGroup Label="Shared" > </ImportGroup> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> </ImportGroup> @@ -69,29 +69,33 @@ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> </ImportGroup> + <PropertyGroup Label="UserMacros" /> - <ItemDefinitionGroup> - <ClCompile> - <WarningLevel>Level3</WarningLevel> - <SDLCheck>true</SDLCheck> - <ConformanceMode>true</ConformanceMode> - <LanguageStandard>stdcpp20</LanguageStandard> - <AdditionalIncludeDirectories>$(ProjectDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <SubSystem>Console</SubSystem> - <GenerateDebugInformation>true</GenerateDebugInformation> - </Link> - </ItemDefinitionGroup> + <PropertyGroup> + <NMakeBuildCommandLine>nmake /f "$(ProjectDir)Makefile" windows</NMakeBuildCommandLine> + <NMakeReBuildCommandLine>nmake /f "$(ProjectDir)Makefile" clean && nmake /f "$(ProjectDir)Makefile" windows</NMakeReBuildCommandLine> + <NMakeCleanCommandLine>nmake /f "$(ProjectDir)Makefile" clean</NMakeCleanCommandLine> + <NMakeOutput>$(ProjectDir)RNT.exe</NMakeOutput> + <NMakePreprocessorDefinitions>NT_CONSOLE_APP;NT_WAIT_ON_EXIT;_CONSOLE</NMakePreprocessorDefinitions> + <NMakeIncludeSearchPath>$(ProjectDir)include</NMakeIncludeSearchPath> + <LocalDebuggerCommand>$(ProjectDir)RNT.exe</LocalDebuggerCommand> + <LocalDebuggerCommandArguments></LocalDebuggerCommandArguments> + <LocalDebuggerWorkingDirectory>$(ProjectDir)</LocalDebuggerWorkingDirectory> + </PropertyGroup> + + <ItemDefinitionGroup></ItemDefinitionGroup> + <ItemGroup> + <ClCompile Include="src\NT.cpp" /> + </ItemGroup> <ItemGroup> - <ClCompile Include="Main\Main.cpp" /> + <ClInclude Include="include\NT.h" /> </ItemGroup> <ItemGroup> - <ProjectReference Include="NT.vcxproj"> - <Project>{28338d4e-8618-418d-8728-f71ffaaf5c4e}</Project> - </ProjectReference> + <None Include="Makefile" /> </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> </ImportGroup> </Project> |
