]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Override multi-configuration types locations for MSVC
authorMatthias Maier <tamiko@43-1.org>
Fri, 29 Jul 2016 04:23:22 +0000 (23:23 -0500)
committerMatthias Maier <tamiko@43-1.org>
Fri, 29 Jul 2016 04:56:55 +0000 (23:56 -0500)
cmake/scripts/CMakeLists.txt

index 5db06b730f19297abdc5e129c592b5dc8527419d..565f1c0eeea85f43c24683d1808c22dae310d913 100644 (file)
@@ -1,6 +1,6 @@
 ## ---------------------------------------------------------------------
 ##
-## Copyright (C) 2012 - 2015 by the deal.II authors
+## Copyright (C) 2012 - 2016 by the deal.II authors
 ##
 ## This file is part of the deal.II library.
 ##
@@ -38,6 +38,13 @@ SET_TARGET_PROPERTIES(expand_instantiations_exe PROPERTIES
   RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${DEAL_II_EXECUTABLE_RELDIR}
   )
 
+IF (DEAL_II_MSVC)
+  SET_TARGET_PROPERTIES(expand_instantiations_exe PROPERTIES
+    RUNTIME_OUTPUT_DIRECTORY_DEBUG "${CMAKE_BINARY_DIR}/${DEAL_II_EXECUTABLE_RELDIR}"
+    RUNTIME_OUTPUT_DIRECTORY_RELEASE "${CMAKE_BINARY_DIR}/${DEAL_II_EXECUTABLE_RELDIR}"
+    )
+ENDIF()
+
 SET(_scripts
   ${CMAKE_CURRENT_SOURCE_DIR}/normalize.pl
   ${CMAKE_CURRENT_SOURCE_DIR}/run_test.cmake

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.