Commit 709fe84a authored by pieper's avatar pieper
Browse files

COMP: allow restriction only one build type at cmake time

By including only a single configuration type, visual studio
will bring that up by default.  This helps when building
release on windows, since you can restrict the projects to
only support release and avoid getting builds with both
libraries by mistake.  By passing this to the slicer project
you can open that and build without needing to remember to
change the build type.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21499 3bd1e089-480b-0410-8dfb-8563597acbee
parent 34ee5780
......@@ -347,6 +347,7 @@ ExternalProject_Add(${proj}
CMAKE_GENERATOR ${gen}
UPDATE_COMMAND ""
CMAKE_ARGS
-DCMAKE_CONFIGURATION_TYPES:STRING=${CMAKE_CONFIGURATION_TYPES}
-DCMAKE_CXX_COMPILER:FILEPATH=${CMAKE_CXX_COMPILER}
-DCMAKE_CXX_FLAGS:STRING=${ep_common_cxx_flags}
-DCMAKE_C_COMPILER:FILEPATH=${CMAKE_C_COMPILER}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment