2 #! Configure user file for visual studio projects
4 #! \brief This function will configure a user file for visual studio projects
6 #! \param NAME (required) Name of the executable
9 #! mitkFunctionConfigureVisualStudioUserProjectFile(
18 NAME # Name of the executable
21 set(_function_multiparams
28 cmake_parse_arguments(VSUPF "${_function_options}
" "${_function_params}
" "${_function_multiparams}
" ${ARGN})
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)
mitkFunctionConfigureVisualStudioUserProjectFile()
This function will configure a user file for visual studio projects.