Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkFunctionConfigureVisualStudioUserProjectFile.cmake
Go to the documentation of this file.
1 #!
2 #! Configure user file for visual studio projects
3 #!
4 #! \brief This function will configure a user file for visual studio projects
5 #!
6 #! \param NAME (required) Name of the executable
7 #!
8 #! \code
9 #! mitkFunctionConfigureVisualStudioUserProjectFile(
10 #! NAME MyApp
11 #! )
12 #! \endcode
13 #!
14 
16 
17  set(_function_params
18  NAME # Name of the executable
19  )
20 
21  set(_function_multiparams
22  )
23 
24  set(_function_options
25 
26  )
27 
28  cmake_parse_arguments(VSUPF "${_function_options}" "${_function_params}" "${_function_multiparams}" ${ARGN})
29 
30  SET(VS_BUILD_TYPE_DEB debug)
31  SET(VS_BUILD_TYPE_REL release)
32  SET(VS_BUILD_TYPE_RELDEB relwithdebinfo)
33  mitkFunctionGetLibrarySearchPaths(MITK_RUNTIME_PATH_DEB ${VS_BUILD_TYPE_DEB})
34  mitkFunctionGetLibrarySearchPaths(MITK_RUNTIME_PATH_REL ${VS_BUILD_TYPE_REL})
35  mitkFunctionGetLibrarySearchPaths(MITK_RUNTIME_PATH_RELDEB ${VS_BUILD_TYPE_RELDEB})
36  CONFIGURE_FILE("${MITK_SOURCE_DIR}/CMake/MITK.vcxproj.user.in" ${CMAKE_CURRENT_BINARY_DIR}/${VSUPF_NAME}.vcxproj.user @ONLY)
37 
38 endfunction()
mitkFunctionConfigureVisualStudioUserProjectFile()
This function will configure a user file for visual studio projects.
const std::string NAME