changeset 604:86dfde451f4c

Fixed typo + added flags for MSVC in Stone Sample
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 29 Apr 2019 15:24:47 +0200
parents 70992b38aa8a
children 7a7e36c52d62
files Applications/Generic/NativeStoneApplicationRunner.cpp Samples/Sdl/CMakeLists.txt
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Applications/Generic/NativeStoneApplicationRunner.cpp	Mon Apr 29 15:09:48 2019 +0200
+++ b/Applications/Generic/NativeStoneApplicationRunner.cpp	Mon Apr 29 15:24:47 2019 +0200
@@ -149,7 +149,7 @@
       LOG(INFO) << "Verbose logs are enabled";
     }
 
-`    LOG(ERROR) << "???????? if (parameters.count(\"trace\"))";
+    LOG(ERROR) << "???????? if (parameters.count(\"trace\"))";
     if (parameters.count("trace"))
     {
       LOG(ERROR) << "parameters.count(\"trace\") != 0";
--- a/Samples/Sdl/CMakeLists.txt	Mon Apr 29 15:09:48 2019 +0200
+++ b/Samples/Sdl/CMakeLists.txt	Mon Apr 29 15:24:47 2019 +0200
@@ -1,5 +1,11 @@
 cmake_minimum_required(VERSION 2.8.3)
 
+if(MSVC)
+  add_definitions(/MP)
+  if (CMAKE_BUILD_TYPE MATCHES DEBUG)
+    add_definitions(/JMC)
+  endif()
+endif()
 
 #####################################################################
 ## Configuration of the Orthanc framework