aboutsummaryrefslogtreecommitdiff
path: root/sdk/compiler/cmake/windows
diff options
context:
space:
mode:
authorAnton Novoselov <[email protected]>2017-08-01 13:20:34 +0300
committerAnton Novoselov <[email protected]>2017-08-01 13:20:34 +0300
commit883afed713a7b6508c9847a1a3d7670811b43026 (patch)
treea58d155fc9422e836d8b33ee39880dc1491f7828 /sdk/compiler/cmake/windows
parentBlast 1.1 release (windows / linux) (diff)
downloadblast-883afed713a7b6508c9847a1a3d7670811b43026.tar.xz
blast-883afed713a7b6508c9847a1a3d7670811b43026.zip
* fix .gitignore
* added missing cmake files
Diffstat (limited to 'sdk/compiler/cmake/windows')
-rw-r--r--sdk/compiler/cmake/windows/NvBlastExtAssetUtils.cmake26
-rw-r--r--sdk/compiler/cmake/windows/NvBlastExtExporter.cmake30
-rw-r--r--sdk/compiler/cmake/windows/NvBlastExtPxSerialization.cmake26
-rw-r--r--sdk/compiler/cmake/windows/NvBlastExtTkSerialization.cmake26
-rw-r--r--sdk/compiler/cmake/windows/NvBlastGlobals.cmake13
5 files changed, 121 insertions, 0 deletions
diff --git a/sdk/compiler/cmake/windows/NvBlastExtAssetUtils.cmake b/sdk/compiler/cmake/windows/NvBlastExtAssetUtils.cmake
new file mode 100644
index 0000000..77c51b4
--- /dev/null
+++ b/sdk/compiler/cmake/windows/NvBlastExtAssetUtils.cmake
@@ -0,0 +1,26 @@
+#
+# Build NvBlastExtAssetUtils Windows
+#
+
+SET(BLASTEXTASSETUTILS_PLATFORM_COMMON_FILES
+ ${COMMON_SOURCE_DIR}/NvBlastIncludeWindows.h
+)
+
+SET(BLASTEXTASSETUTILS_PLATFORM_INCLUDES
+)
+
+SET(BLASTEXTASSETUTILS_COMPILE_DEFS
+ # Common to all configurations
+ ${BLAST_SLN_COMPILE_DEFS};_CONSOLE;
+
+ $<$<CONFIG:debug>:${BLAST_SLN_DEBUG_COMPILE_DEFS}>
+ $<$<CONFIG:checked>:${BLAST_SLN_CHECKED_COMPILE_DEFS}>
+ $<$<CONFIG:profile>:${BLAST_SLN_PROFILE_COMPILE_DEFS}>
+ $<$<CONFIG:release>:${BLAST_SLN_RELEASE_COMPILE_DEFS}>
+)
+
+SET(BLASTEXTASSETUTILS_LIB_TYPE SHARED)
+
+
+SET(BLASTEXTASSETUTILS_COMPILE_OPTIONS "/wd4100;/wd4239;/wd4244;/wd4245;/wd4267;/EHsc")
+
diff --git a/sdk/compiler/cmake/windows/NvBlastExtExporter.cmake b/sdk/compiler/cmake/windows/NvBlastExtExporter.cmake
new file mode 100644
index 0000000..33f720d
--- /dev/null
+++ b/sdk/compiler/cmake/windows/NvBlastExtExporter.cmake
@@ -0,0 +1,30 @@
+#
+# Build NvBlastExt Windows
+#
+
+SET(BLASTEXT_PLATFORM_COMMON_FILES
+ ${COMMON_SOURCE_DIR}/NvBlastIncludeWindows.h
+)
+
+SET(BLASTEXT_PLATFORM_INCLUDES
+)
+
+SET(BLASTEXT_COMPILE_DEFS
+ # Common to all configurations
+ ${BLAST_SLN_COMPILE_DEFS};_CONSOLE;
+
+ $<$<CONFIG:debug>:${BLAST_SLN_DEBUG_COMPILE_DEFS}>
+ $<$<CONFIG:checked>:${BLAST_SLN_CHECKED_COMPILE_DEFS}>
+ $<$<CONFIG:profile>:${BLAST_SLN_PROFILE_COMPILE_DEFS}>
+ $<$<CONFIG:release>:${BLAST_SLN_RELEASE_COMPILE_DEFS}>
+)
+
+SET(BLAST_EXT_SHARED_LIB_TYPE SHARED)
+
+SET(BLASTEXT_PLATFORM_COMPILE_OPTIONS "/wd4100;/wd4239;/wd4244;/wd4245;/wd4267;/EHsc")
+
+#VS2013 has a unreacable code warning in the STL (xtree)
+IF(MSVC_VERSION LESS 1900)
+ SET(BLASTEXT_PLATFORM_COMPILE_OPTIONS "${BLASTEXT_PLATFORM_COMPILE_OPTIONS};/wd4702")
+ENDIF()
+
diff --git a/sdk/compiler/cmake/windows/NvBlastExtPxSerialization.cmake b/sdk/compiler/cmake/windows/NvBlastExtPxSerialization.cmake
new file mode 100644
index 0000000..4ea6ea9
--- /dev/null
+++ b/sdk/compiler/cmake/windows/NvBlastExtPxSerialization.cmake
@@ -0,0 +1,26 @@
+#
+# Build NvBlastPxExtSerialization Windows
+#
+
+SET(BLASTEXTPXSERIALIZATION_PLATFORM_COMMON_FILES
+ ${COMMON_SOURCE_DIR}/NvBlastIncludeWindows.h
+)
+
+SET(BLASTEXTPXSERIALIZATION_PLATFORM_INCLUDES
+)
+
+SET(BLASTEXTPXSERIALIZATION_COMPILE_DEFS
+ # Common to all configurations
+ ${BLAST_SLN_COMPILE_DEFS};_CONSOLE;
+
+ $<$<CONFIG:debug>:${BLAST_SLN_DEBUG_COMPILE_DEFS}>
+ $<$<CONFIG:checked>:${BLAST_SLN_CHECKED_COMPILE_DEFS}>
+ $<$<CONFIG:profile>:${BLAST_SLN_PROFILE_COMPILE_DEFS}>
+ $<$<CONFIG:release>:${BLAST_SLN_RELEASE_COMPILE_DEFS}>
+)
+
+SET(BLASTEXTPXSERIALIZATION_LIB_TYPE SHARED)
+
+
+SET(BLASTEXTPXSERIALIZATION_COMPILE_OPTIONS "/wd4100;/wd4239;/wd4244;/wd4245;/wd4267;/wd4702;/wd4800;/wd4541;/wd4189;/wd4714;/wd4018;/wd4456;/wd4091;/wd4127;/EHsc")
+
diff --git a/sdk/compiler/cmake/windows/NvBlastExtTkSerialization.cmake b/sdk/compiler/cmake/windows/NvBlastExtTkSerialization.cmake
new file mode 100644
index 0000000..bdd2ebe
--- /dev/null
+++ b/sdk/compiler/cmake/windows/NvBlastExtTkSerialization.cmake
@@ -0,0 +1,26 @@
+#
+# Build NvBlastTkExtSerialization Windows
+#
+
+SET(BLASTEXTTKSERIALIZATION_PLATFORM_COMMON_FILES
+ ${COMMON_SOURCE_DIR}/NvBlastIncludeWindows.h
+)
+
+SET(BLASTEXTTKSERIALIZATION_PLATFORM_INCLUDES
+)
+
+SET(BLASTEXTTKSERIALIZATION_COMPILE_DEFS
+ # Common to all configurations
+ ${BLAST_SLN_COMPILE_DEFS};_CONSOLE;
+
+ $<$<CONFIG:debug>:${BLAST_SLN_DEBUG_COMPILE_DEFS}>
+ $<$<CONFIG:checked>:${BLAST_SLN_CHECKED_COMPILE_DEFS}>
+ $<$<CONFIG:profile>:${BLAST_SLN_PROFILE_COMPILE_DEFS}>
+ $<$<CONFIG:release>:${BLAST_SLN_RELEASE_COMPILE_DEFS}>
+)
+
+SET(BLASTEXTTKSERIALIZATION_LIB_TYPE SHARED)
+
+
+SET(BLASTEXTTKSERIALIZATION_COMPILE_OPTIONS "/wd4100;/wd4239;/wd4244;/wd4245;/wd4267;/wd4702;/wd4800;/wd4541;/wd4189;/wd4714;/wd4018;/wd4456;/wd4091;/wd4127;/EHsc")
+
diff --git a/sdk/compiler/cmake/windows/NvBlastGlobals.cmake b/sdk/compiler/cmake/windows/NvBlastGlobals.cmake
new file mode 100644
index 0000000..106c9aa
--- /dev/null
+++ b/sdk/compiler/cmake/windows/NvBlastGlobals.cmake
@@ -0,0 +1,13 @@
+#
+# Build NvBlastGlobals Windows
+#
+
+SET(BLASTGLOBALS_COMPILE_DEFS
+ # Common to all configurations
+ ${BLAST_SLN_COMPILE_DEFS};_CONSOLE
+
+ $<$<CONFIG:debug>:${BLAST_SLN_DEBUG_COMPILE_DEFS}>
+ $<$<CONFIG:checked>:${BLAST_SLN_CHECKED_COMPILE_DEFS}>
+ $<$<CONFIG:profile>:${BLAST_SLN_PROFILE_COMPILE_DEFS}>
+ $<$<CONFIG:release>:${BLAST_SLN_RELEASE_COMPILE_DEFS}>
+)