From a4b305a27d74937ba5b9feec0ed5e1005af1a63b Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 28 Dec 2017 19:22:40 -0800 Subject: Reworked the way File2String utility is used --- Graphics/GraphicsEngineD3DBase/CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) (limited to 'Graphics/GraphicsEngineD3DBase') 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 $) -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 -- cgit v1.2.3