diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2017-12-15 06:37:34 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2017-12-15 06:37:34 +0000 |
| commit | 4181dd04a310156555c68af1c7be31a8d7b58d65 (patch) | |
| tree | e3f9b5669ceca3f44079560878d2d3cf642e02b0 /unityplugin/GhostCubePlugin/PluginSource | |
| parent | Replaced FXC command with VS_SHADER_* properties. No need to specify FXC when... (diff) | |
| download | DiligentEngine-4181dd04a310156555c68af1c7be31a8d7b58d65.tar.gz DiligentEngine-4181dd04a310156555c68af1c7be31a8d7b58d65.zip | |
CMake: enabled resource processing for UnityPlugin in UWP build
Diffstat (limited to 'unityplugin/GhostCubePlugin/PluginSource')
| -rw-r--r-- | unityplugin/GhostCubePlugin/PluginSource/CMakeLists.txt | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/unityplugin/GhostCubePlugin/PluginSource/CMakeLists.txt b/unityplugin/GhostCubePlugin/PluginSource/CMakeLists.txt index 4ead45b..a53e928 100644 --- a/unityplugin/GhostCubePlugin/PluginSource/CMakeLists.txt +++ b/unityplugin/GhostCubePlugin/PluginSource/CMakeLists.txt @@ -39,14 +39,6 @@ add_library(GhostCubePlugin-shared SHARED ${SOURCE} ${INCLUDE} ${UNITY_INTERFACES} ) -if(PLATFORM_WIN32 OR PLATFORM_UNIVERSAL_WINDOWS) - if("${CMAKE_SIZEOF_VOID_P}" EQUAL "8") - set(ARCH 64) - else("${CMAKE_SIZEOF_VOID_P}" EQUAL "8") - set(ARCH 32) - endif("${CMAKE_SIZEOF_VOID_P}" EQUAL "8") -endif() - set(DLL_REL_SUFFIX _${ARCH}r) set(DLL_DBG_SUFFIX _${ARCH}d) @@ -57,7 +49,7 @@ set_target_properties(GhostCubePlugin-shared PROPERTIES OUTPUT_NAME_MINSIZEREL GhostCubePlugin${DLL_REL_SUFFIX} ) -if(PLATFORM_WIN32) +if(PLATFORM_WIN32 OR PLATFORM_UNIVERSAL_WINDOWS) target_sources(GhostCubePlugin-shared PRIVATE src/RenderingPlugin.def |
