Commit d2b07ab5 authored by saubatn's avatar saubatn

UPDATED Removed create launcher macro calls.

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@755 ec899d31-69d1-42ba-9299-647d76f65fb3
parent dbedc109
......@@ -10,14 +10,3 @@ DEFAULT
@NEEDEDCEPLIBRARIES@
@NEEDEDCOMPEXT@
)
# For Microsoft Visual C++, sets the default application to imp for the "ALL_BUILD" project
# (i.e. launches imp when we you click on "Debug" or "Start Without Debugging" button on Visual)
# In addition, but not the least, sets the environment to the debug dll directory for VTK (and ITK)
# to solve the dll incompatibility between debug and relase version of QVTK.dll and ITKCommon.dll
if ( MSVC )
create_default_target_launcher_special(
"camitk-imp-debug"
EXTERNAL_COMMAND "${CAMITK_BIN_DIR}$(OutDir)/camitk-imp-debug.exe"
)
endif()
......@@ -300,16 +300,6 @@ macro(camitk_application)
COMPONENT ${APPLICATION_TARGET_NAME}
)
# For Microsoft Visual C++, sets the default application to the corresponding project
# (i.e. launches this application when we you click on "Debug" or "Start Without Debugging" button on Visual)
# In addition, but not the least, sets the environment to the debug dll directory for VTK (and ITK)
# to solve the dll incompatibility between debug and relase version of QVTK.dll and ITKCommon.dll
# Edit, don't know why, but macro does not work correctly inside camitk_application()
if ( MSVC )
include(CreateLaunchers)
create_target_launcher(${APPLICATION_TARGET_NAME}-debug)
endif( MSVC )
endif() #APPLICATION_${APPLICATION_NAME_CMAKE}
endmacro()
......@@ -59,13 +59,6 @@ macro(camitk_extension_project)
set(CEP_DEFAULT_APPLICATION "camitk-imp")
endif()
if ( MSVC )
create_default_target_launcher_special(
${CEP_DEFAULT_APPLICATION}-debug
EXTERNAL_COMMAND "${CAMITK_BIN_DIR}$(OutDir)/${CEP_DEFAULT_APPLICATION}-debug.exe"
)
endif()
# if this is a single CEP, provides the installation facilities
# otherwise, just add include(CamiTKInstall) to get the installation facilities
if (NOT CAMITK_EXTENSION_PROJECT_SET)
......
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