parent
918ce748a4
commit
9bd12660eb
8 changed files with 94 additions and 60 deletions
|
|
@ -39,6 +39,11 @@ namespace Crafter {
|
|||
CRAFTER_CONFIGURATION_TYPE_SHARED_LIBRARY,
|
||||
};
|
||||
|
||||
export struct CmakeDep {
|
||||
fs::path path;
|
||||
std::string options;
|
||||
};
|
||||
|
||||
export class Project;
|
||||
export class Configuration {
|
||||
public:
|
||||
|
|
@ -51,6 +56,7 @@ namespace Crafter {
|
|||
std::vector<fs::path> c_files;
|
||||
std::vector<fs::path> cuda;
|
||||
std::vector<std::tuple<std::shared_ptr<Project>, Configuration&>> dependencies;
|
||||
std::vector<CmakeDep> cmakeDeps;
|
||||
std::vector<Shader> shaders;
|
||||
std::vector<fs::path> additionalFiles;
|
||||
std::vector<Define> defines;
|
||||
|
|
|
|||
|
|
@ -18,10 +18,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
*/
|
||||
|
||||
module;
|
||||
#include <glslang/SPIRV/GlslangToSpv.h>
|
||||
#include <glslang/Public/ShaderLang.h>
|
||||
#include <glslang/Public/ResourceLimits.h>
|
||||
#include "../lib/DirStackFileIncluder.h"
|
||||
export module Crafter.Build:Shader;
|
||||
import std;
|
||||
namespace fs = std::filesystem;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue