diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2017-12-29 03:22:40 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2017-12-29 03:22:40 +0000 |
| commit | a4b305a27d74937ba5b9feec0ed5e1005af1a63b (patch) | |
| tree | 719d3978d38f0a1710ecbc2447d377e12a219be7 /Graphics/GraphicsEngineD3DBase | |
| parent | travis script: added debug/release build (diff) | |
| download | DiligentCore-a4b305a27d74937ba5b9feec0ed5e1005af1a63b.tar.gz DiligentCore-a4b305a27d74937ba5b9feec0ed5e1005af1a63b.zip | |
Reworked the way File2String utility is used
Diffstat (limited to 'Graphics/GraphicsEngineD3DBase')
| -rw-r--r-- | Graphics/GraphicsEngineD3DBase/CMakeLists.txt | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Graphics/GraphicsEngineD3DBase/CMakeLists.txt b/Graphics/GraphicsEngineD3DBase/CMakeLists.txt index 4164d046..33fd7a76 100644 --- a/Graphics/GraphicsEngineD3DBase/CMakeLists.txt +++ b/Graphics/GraphicsEngineD3DBase/CMakeLists.txt @@ -36,14 +36,6 @@ SOURCES include/HLSLDefinitions.fxh ) -if(PLATFORM_UNIVERSAL_WINDOWS) - # On Universal Windows Platform, we cannot build File2String utility and will use prebuilt Win32 version - set(FILE2STRING_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../Utilities/File2Include/bin/Win32/File2String.exe") -else() - add_dependencies(ProcessHLSLDefinitions File2String) - set(FILE2STRING_PATH $<TARGET_FILE:File2String>) -endif() - add_custom_command(TARGET ProcessHLSLDefinitions # Unfortunately it is not possible to set TARGET directly to GraphicsEngineD3DBase # because PRE_BUILD is only supported on Visual Studio 8 or later. For all other generators |
