Added in post build command to copy assimp dll
Added in SH_API to asset manager class
This commit is contained in:
parent
a39230ce42
commit
18eca1897e
|
@ -33,7 +33,8 @@ project "SHADE_Application"
|
|||
"%{IncludeDir.spdlog}/include",
|
||||
"%{IncludeDir.VULKAN}/include",
|
||||
"%{IncludeDir.VMA}/include",
|
||||
"%{IncludeDir.VULKAN}/Source/SPIRV-Reflect"
|
||||
"%{IncludeDir.VULKAN}/Source/SPIRV-Reflect",
|
||||
"%{IncludeDir.tinyddsloader}"
|
||||
}
|
||||
|
||||
externalwarnings "Off"
|
||||
|
|
|
@ -106,6 +106,12 @@ project "SHADE_Engine"
|
|||
"xcopy /s /r /y /q \"%{IncludeDir.dotnet}\\bin\" \"$(OutDir)\""
|
||||
}
|
||||
|
||||
filter "configurations:Debug"
|
||||
postbuildcommands {"xcopy /r /y /q \"%{IncludeDir.assimp}\\bin\\Debug\\assimp-vc142-mtd.dll\" \"$(OutDir)\""}
|
||||
|
||||
filter "configurations:Release"
|
||||
postbuildcommands {"xcopy /r /y /q \"%{IncludeDir.assimp}\\bin\\Release\\assimp-vc142-mt.dll\" \"$(OutDir)\""}
|
||||
|
||||
warnings 'Extra'
|
||||
|
||||
filter "configurations:Debug"
|
||||
|
|
|
@ -8,23 +8,17 @@
|
|||
* or disclosure of this file or its contents without the prior
|
||||
* written consent of Digipen Institute of Technology is prohibited.
|
||||
******************************************************************************/
|
||||
#ifndef SH_RESOURCE_MANAGER_H
|
||||
#define SH_RESOURCE_MANAGER_H
|
||||
|
||||
#include <unordered_map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#pragma once
|
||||
#include "tinyddsloader.h"
|
||||
#include "SHAsset.h"
|
||||
|
||||
#include "Asset Types/SHMeshAsset.h"
|
||||
#include "Asset Types/SHDDSAsset.h"
|
||||
|
||||
struct _MonoMethod;
|
||||
#include "SH_API.h"
|
||||
|
||||
namespace SHADE
|
||||
{
|
||||
class SHAssetManager
|
||||
class SH_API SHAssetManager
|
||||
{
|
||||
public:
|
||||
/****************************************************************************
|
||||
|
@ -134,5 +128,3 @@ namespace SHADE
|
|||
static std::unordered_map<AssetID, SHDDSAsset> ddsCollection;
|
||||
};
|
||||
}
|
||||
|
||||
#endif // !SH_RESOURCE_MANAGER_H
|
||||
|
|
Loading…
Reference in New Issue