From 780c88e935f66761d6bd64ee65ffb2e89cd9a4c0 Mon Sep 17 00:00:00 2001 From: Julien Malik <julien.malik@c-s.fr> Date: Mon, 30 Jan 2012 12:27:15 +0100 Subject: [PATCH] ENH: hide msdos command for otbViewer and otbApplicationLauncherQt --- Code/Visualization/Viewer/CMakeLists.txt | 2 +- Code/Wrappers/ApplicationLauncherQt/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Code/Visualization/Viewer/CMakeLists.txt b/Code/Visualization/Viewer/CMakeLists.txt index dd9db07bec..5f827071de 100644 --- a/Code/Visualization/Viewer/CMakeLists.txt +++ b/Code/Visualization/Viewer/CMakeLists.txt @@ -38,7 +38,7 @@ IF(CMAKE_COMPILER_IS_GNUCXX) PROPERTIES COMPILE_FLAGS -fno-strict-aliasing) ENDIF(CMAKE_COMPILER_IS_GNUCXX) -ADD_EXECUTABLE(otbViewer +ADD_EXECUTABLE(otbViewer WIN32 otbViewer.cxx ${VIEW_SRCS} ${CONTROLLER_SRCS} ${MODEL_SRCS} ${otbViewer_FLTK_UI_SRCS}) diff --git a/Code/Wrappers/ApplicationLauncherQt/CMakeLists.txt b/Code/Wrappers/ApplicationLauncherQt/CMakeLists.txt index 0358764484..e87a37c2a3 100644 --- a/Code/Wrappers/ApplicationLauncherQt/CMakeLists.txt +++ b/Code/Wrappers/ApplicationLauncherQt/CMakeLists.txt @@ -4,7 +4,7 @@ include_directories(../QtWidget) set( SRCS otbApplicationLauncherQt.cxx ) -add_executable(otbApplicationLauncherQt ${SRCS}) +add_executable(otbApplicationLauncherQt WIN32 ${SRCS}) target_link_libraries(otbApplicationLauncherQt OTBWrapperQtWidget -- GitLab