This commit is contained in:
parent
fba632e745
commit
ae2d061282
3 changed files with 5 additions and 5 deletions
2
build.sh
2
build.sh
|
|
@ -21,7 +21,7 @@ cmake -B build \
|
|||
cmake --build build --config Release
|
||||
cd ../../
|
||||
|
||||
common_options="-stdlib=libc++ -I./build -std=c++26 -O3 -march=native -mtune=native -fprebuilt-module-path=./build -D CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_pc_linux_gnu -D CRAFTER_BUILD_CONFIGURATION_TYPE_EXECUTABLE -c"
|
||||
common_options="-stdlib=libc++ -I./build/glslang -std=c++26 -O3 -march=native -mtune=native -fprebuilt-module-path=./build -D CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_pc_linux_gnu -D CRAFTER_BUILD_CONFIGURATION_TYPE_EXECUTABLE -c"
|
||||
|
||||
clang++ -std=c++26 -stdlib=libc++ -Wno-reserved-identifier -Wno-reserved-module-identifier --precompile /usr/share/libc++/v1/std.cppm -o ./build/std.pcm
|
||||
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
*/
|
||||
|
||||
module;
|
||||
#include "glslang/SPIRV/GlslangToSpv.h"
|
||||
#include "glslang/glslang/Public/ShaderLang.h"
|
||||
#include "glslang/glslang/Public/ResourceLimits.h"
|
||||
#include "SPIRV/GlslangToSpv.h"
|
||||
#include "glslang/Public/ShaderLang.h"
|
||||
#include "glslang/Public/ResourceLimits.h"
|
||||
#include "../lib/DirStackFileIncluder.h"
|
||||
module Crafter.Build:Shader_impl;
|
||||
import :Shader;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
*/
|
||||
|
||||
module;
|
||||
#include "glslang/glslang/Public/ShaderLang.h"
|
||||
#include "glslang/Public/ShaderLang.h"
|
||||
export module Crafter.Build:Shader;
|
||||
import std;
|
||||
namespace fs = std::filesystem;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue