diff options
Diffstat (limited to 'modules/Win32Macros.cmake')
-rw-r--r-- | modules/Win32Macros.cmake | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/modules/Win32Macros.cmake b/modules/Win32Macros.cmake index e5a3655b..3b2df54b 100644 --- a/modules/Win32Macros.cmake +++ b/modules/Win32Macros.cmake @@ -1,24 +1,21 @@ -# win32 macros # -# ADDEXPLORERWRAPPER(project) -# -# Exists only under Win32 ! -# -# addExplorerWrapper creates batch files for fast access -# to the build environment from the win32 explorer. +# win32 macros # -# For mingw and nmake projects it opens a command shell, -# for Visual Studio IDE's (at least tested with VS 8 2005) it -# opens the related .sln file with paths setting specified at -# configure time. - # Copyright (c) 2006-2007, Ralf Habacker # # Redistribution and use is allowed according to the terms of the BSD license. - +# if (WIN32) # + # addExplorerWrapper creates batch files for fast access + # to the build environment from the win32 explorer. + # + # For mingw and nmake projects it opens a command shell, + # for Visual Studio IDE's (at least tested with VS 8 2005) it + # opens the related .sln file with paths setting specified at + # configure time. + # MACRO (addExplorerWrapper _projectname) # write explorer wrappers get_filename_component(CMAKE_BIN_PATH ${CMAKE_COMMAND} PATH) |