move linux_main.cpp into gameshell/

This commit is contained in:
Adam Jensen 2022-08-20 01:39:01 +01:00
parent 87201a0d5a
commit 74a21dd307
4 changed files with 11 additions and 8 deletions

View File

@ -38,7 +38,6 @@ if (NATIVE_BUILD)
add_compile_options(-g)
add_executable(dxhr
linux_main.cpp
mainloop.cpp
spinnycube.cpp)

View File

@ -1,3 +1,4 @@
#include <cstdio>
#include "RenderResourceSection.h"
#include "../../rendering/CommonRenderDevice.h"
#include "../../rendering/RenderResource.h"

View File

@ -1,4 +1,7 @@
if (NOT NATIVE_BUILD)
if (NATIVE_BUILD)
target_sources(dxhr PRIVATE
linux/MainVM.cpp)
else()
target_sources(dxhr PRIVATE
win32/MainVM.cpp)
endif()

View File

@ -1,12 +1,12 @@
#include <iostream>
#include <SDL2/SDL.h>
#include <SDL2/SDL_vulkan.h>
#include "mainloop.h"
#include "rendering/BuiltinResources.h"
#include "rendering/IPCDeviceManager.h"
#include "rendering/PCDX11DeviceManager.h"
#include "rendering/PCDX11RenderDevice.h"
#include "filesystem/FileHelpers.h"
#include "../../mainloop.h"
#include "../../rendering/BuiltinResources.h"
#include "../../rendering/IPCDeviceManager.h"
#include "../../rendering/PCDX11DeviceManager.h"
#include "../../rendering/PCDX11RenderDevice.h"
#include "../../filesystem/FileHelpers.h"
using namespace cdc;