aboutsummaryrefslogtreecommitdiff
path: root/nuklear/demo/d3d11/build.bat
diff options
context:
space:
mode:
Diffstat (limited to 'nuklear/demo/d3d11/build.bat')
-rw-r--r--nuklear/demo/d3d11/build.bat9
1 files changed, 9 insertions, 0 deletions
diff --git a/nuklear/demo/d3d11/build.bat b/nuklear/demo/d3d11/build.bat
new file mode 100644
index 0000000..31bd0e0
--- /dev/null
+++ b/nuklear/demo/d3d11/build.bat
@@ -0,0 +1,9 @@
+@echo off
+
+rem This will use VS2015 for compiler
+call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
+
+fxc.exe /nologo /T vs_4_0_level_9_0 /E vs /O3 /Zpc /Ges /Fh nuklear_d3d11_vertex_shader.h /Vn nk_d3d11_vertex_shader /Qstrip_reflect /Qstrip_debug /Qstrip_priv nuklear_d3d11.hlsl
+fxc.exe /nologo /T ps_4_0_level_9_0 /E ps /O3 /Zpc /Ges /Fh nuklear_d3d11_pixel_shader.h /Vn nk_d3d11_pixel_shader /Qstrip_reflect /Qstrip_debug /Qstrip_priv nuklear_d3d11.hlsl
+
+cl /D_CRT_SECURE_NO_DEPRECATE /nologo /W3 /O2 /fp:fast /Gm- /Fedemo.exe main.c user32.lib dxguid.lib d3d11.lib /link /incremental:no