Permalink
Browse files

Changed cr/lf on all files locally

  • Loading branch information...
1 parent 01809e1 commit 4317ff2f68961a34dc2adc496d994d431958a123 @mickem committed Oct 17, 2016
Showing 456 changed files with 98,392 additions and 98,392 deletions.
@@ -1,117 +1,117 @@
-@ECHO OFF
-SET ROOT=c:\source\mbuild
-SET SOURCE=c:\source\master
-
-GOTO :start
-
-:set_error
-SET ERROR_NO=%1
-SET ERROR_MSG=%1
-echo ***********************************
-echo * %ERROR_NO% - %ERROR_MSG%
-echo ***********************************
-GOTO :EOF
-
-:mk_dirs
-SETLOCAL
-SET ENV=%1
-echo Creating folders for %ENV%
-title Creating folders for %ENV%
-mkdir %ROOT%
-mkdir %ROOT%\%ENV%
-mkdir %ROOT%\%ENV%\dist
-ENDLOCAL
-GOTO :EOF
-
-:bump_version
-SETLOCAL
-SET ENV=%1
-SET GENERATOR=%2
-ECHO Bumping version %ENV% (%GENERATOR%)
-title Bumping version %ENV% (%GENERATOR%)
-cd %ROOT%\%ENV%\dist
-if %ERRORLEVEL% == 1 goto :error
-cmake -D INCREASE_BUILD=1 -G %GENERATOR% -T v110_xp %SOURCE%
-if %ERRORLEVEL% == 1 goto :error
-ENDLOCAL
-GOTO :EOF
-
-:build
-SETLOCAL
-SET ENV=%1
-SET GENERATOR=%2
-ECHO Building %ENV% (%GENERATOR%)
-title Building %ENV% (%GENERATOR%)
-cd %ROOT%\%ENV%\dist
-if %ERRORLEVEL% == 1 goto :error
-msbuild /p:Configuration=RelWithDebInfo /p:Platform=%GENERATOR% NSCP.sln
-if %ERRORLEVEL% == 1 goto :error
-ECHO Packaging %ENV%
-title Packaging %ENV%
-cpack
-if %ERRORLEVEL% == 1 goto :error
-ENDLOCAL
-GOTO :EOF
-
-
-:post_build
-SETLOCAL
-SET ENV=%1
-ECHO Post build %ENV%
-title Post build %ENV%
-cd %ROOT%\%ENV%\dist
-if %ERRORLEVEL% == 1 goto :error
-call postbuild.bat
-if %ERRORLEVEL% == 1 goto :error
-ENDLOCAL
-GOTO :EOF
-
-
-:configure
-SETLOCAL
-SET ENV=%1
-SET GENERATOR=%2
-title Configuring %ENV% using %GENERATOR% (%ROOT%)
-ECHO Configuring %ENV% using %GENERATOR% (%ROOT%)
-cd %ROOT%\%ENV%\dist
-if %ERRORLEVEL% == 1 goto :error
-cmake -D INCREASE_BUILD=0 -G %GENERATOR% -T v110_xp %SOURCE%
-if %ERRORLEVEL% == 1 goto :error
-ENDLOCAL
-GOTO :EOF
-
-
-:start
-
-call :mk_dirs x64
-call :mk_dirs w32
-
-IF "%1"=="post" GOTO post_build
-IF "%1"=="build" GOTO only_build
-IF "%1"=="same" GOTO no_bump
-
-call :bump_version x64 "Visual Studio 11 Win64" || GOTO :error
-:no_bump
-
-call :configure x64 "Visual Studio 11 Win64" || GOTO :error
-call :configure w32 "Visual Studio 11" || GOTO :error
-
-:only_build
-call :build x64 x64 || GOTO :error
-call :build w32 Win32 || GOTO :error
-
-:post_build
-call :post_build x64 || GOTO :error
-call :post_build w32 Win32 || GOTO :error
-
-title Done!
-
-exit /b 0
-goto :eof
-
-:error
-echo ***********************************
-echo * Failed to build NSClient++: %ERRORLEVEL% *
-echo ***********************************
-
+@ECHO OFF
+SET ROOT=c:\source\mbuild
+SET SOURCE=c:\source\master
+
+GOTO :start
+
+:set_error
+SET ERROR_NO=%1
+SET ERROR_MSG=%1
+echo ***********************************
+echo * %ERROR_NO% - %ERROR_MSG%
+echo ***********************************
+GOTO :EOF
+
+:mk_dirs
+SETLOCAL
+SET ENV=%1
+echo Creating folders for %ENV%
+title Creating folders for %ENV%
+mkdir %ROOT%
+mkdir %ROOT%\%ENV%
+mkdir %ROOT%\%ENV%\dist
+ENDLOCAL
+GOTO :EOF
+
+:bump_version
+SETLOCAL
+SET ENV=%1
+SET GENERATOR=%2
+ECHO Bumping version %ENV% (%GENERATOR%)
+title Bumping version %ENV% (%GENERATOR%)
+cd %ROOT%\%ENV%\dist
+if %ERRORLEVEL% == 1 goto :error
+cmake -D INCREASE_BUILD=1 -G %GENERATOR% -T v110_xp %SOURCE%
+if %ERRORLEVEL% == 1 goto :error
+ENDLOCAL
+GOTO :EOF
+
+:build
+SETLOCAL
+SET ENV=%1
+SET GENERATOR=%2
+ECHO Building %ENV% (%GENERATOR%)
+title Building %ENV% (%GENERATOR%)
+cd %ROOT%\%ENV%\dist
+if %ERRORLEVEL% == 1 goto :error
+msbuild /p:Configuration=RelWithDebInfo /p:Platform=%GENERATOR% NSCP.sln
+if %ERRORLEVEL% == 1 goto :error
+ECHO Packaging %ENV%
+title Packaging %ENV%
+cpack
+if %ERRORLEVEL% == 1 goto :error
+ENDLOCAL
+GOTO :EOF
+
+
+:post_build
+SETLOCAL
+SET ENV=%1
+ECHO Post build %ENV%
+title Post build %ENV%
+cd %ROOT%\%ENV%\dist
+if %ERRORLEVEL% == 1 goto :error
+call postbuild.bat
+if %ERRORLEVEL% == 1 goto :error
+ENDLOCAL
+GOTO :EOF
+
+
+:configure
+SETLOCAL
+SET ENV=%1
+SET GENERATOR=%2
+title Configuring %ENV% using %GENERATOR% (%ROOT%)
+ECHO Configuring %ENV% using %GENERATOR% (%ROOT%)
+cd %ROOT%\%ENV%\dist
+if %ERRORLEVEL% == 1 goto :error
+cmake -D INCREASE_BUILD=0 -G %GENERATOR% -T v110_xp %SOURCE%
+if %ERRORLEVEL% == 1 goto :error
+ENDLOCAL
+GOTO :EOF
+
+
+:start
+
+call :mk_dirs x64
+call :mk_dirs w32
+
+IF "%1"=="post" GOTO post_build
+IF "%1"=="build" GOTO only_build
+IF "%1"=="same" GOTO no_bump
+
+call :bump_version x64 "Visual Studio 11 Win64" || GOTO :error
+:no_bump
+
+call :configure x64 "Visual Studio 11 Win64" || GOTO :error
+call :configure w32 "Visual Studio 11" || GOTO :error
+
+:only_build
+call :build x64 x64 || GOTO :error
+call :build w32 Win32 || GOTO :error
+
+:post_build
+call :post_build x64 || GOTO :error
+call :post_build w32 Win32 || GOTO :error
+
+title Done!
+
+exit /b 0
+goto :eof
+
+:error
+echo ***********************************
+echo * Failed to build NSClient++: %ERRORLEVEL% *
+echo ***********************************
+
exit /b 1
@@ -1,76 +1,76 @@
-#
-# A CMake Module for finding and using C# (.NET and Mono).
-#
-# The following variables are set:
-# CSHARP_FOUND - set to ON if C# is found
-# CSHARP_USE_FILE - the path to the C# use file
-# CSHARP_TYPE - the type of the C# compiler (eg. ".NET" or "Mono")
-# CSHARP_VERSION - the version of the C# compiler (eg. "v4.0" or "2.10.2")
-# CSHARP_COMPILER - the path to the C# compiler executable (eg. "C:/Windows/Microsoft.NET/Framework/v4.0.30319/csc.exe" or "/usr/bin/gmcs")
-# CSHARP_INTERPRETER - the path to interpreter needed to run CSharp executables
-# CSHARP_PLATFORM - the C# target platform
-# CSHARP_SDK - the SDK commandline switch (empty for .NET, for Mono eg. "/sdk:2" or "/sdk:4")
-#
-# This file is based on the work of GDCM:
-# http://gdcm.svn.sf.net/viewvc/gdcm/trunk/CMake/FindCSharp.cmake
-# Copyright (c) 2006-2010 Mathieu Malaterre <mathieu.malaterre@gmail.com>
-#
-
-# TODO: ADD ABILITY TO SELECT WHICH C# COMPILER eg. .NET or Mono (if both exist). For the moment, .NET is selected above Mono.
-
-# Make sure find package macros are included
-include( FindPackageHandleStandardArgs )
-
-unset( CSHARP_COMPILER CACHE )
-unset( CSHARP_INTERPRETER CACHE )
-unset( CSHARP_TYPE CACHE )
-unset( CSHARP_VERSION CACHE )
-unset( CSHARP_FOUND CACHE )
-
-# By default use anycpu platform, allow the user to override
-set( CSHARP_PLATFORM "anycpu" CACHE STRING "C# target platform: x86, x64, anycpu, or itanium" )
-if( NOT ${CSHARP_PLATFORM} MATCHES "x86|x64|anycpu|itanium" )
- message( FATAL_ERROR "The C# target platform '${CSHARP_PLATFORM}' is not valid. Please enter one of the following: x86, x64, anycpu, or itanium" )
-endif( )
-
-if( WIN32 )
- find_package( DotNetFrameworkSdk )
- if( NOT CSHARP_DOTNET_FOUND )
- find_package( Mono )
- endif( )
-else( UNIX )
- find_package( Mono )
-endif( )
-
-if( CSHARP_DOTNET_FOUND )
- set( CSHARP_FOUND "TRUE" CACHE STRING ".net compiler found" )
- set( CSHARP_TYPE ".NET" CACHE STRING "Using the .NET compiler" )
- set( CSHARP_VERSION ${CSHARP_DOTNET_VERSION} CACHE STRING "C# .NET compiler version" FORCE )
- set( CSHARP_COMPILER ${CSHARP_DOTNET_COMPILER_${CSHARP_DOTNET_VERSION}} CACHE STRING "Full path to .NET compiler" FORCE )
- set( CSHARP_INTERPRETER "" CACHE INTERNAL "Interpretor not required for .NET" FORCE )
-elseif( CSHARP_MONO_FOUND )
- set( CSHARP_FOUND "TRUE" CACHE STRING ".net compiler found" )
- set( CSHARP_TYPE "Mono" CACHE STRING "Using the Mono compiler" )
- set( CSHARP_VERSION ${CSHARP_MONO_VERSION} CACHE STRING "C# Mono compiler version" FORCE )
- set( CSHARP_COMPILER ${CSHARP_MONO_COMPILER_${CSHARP_MONO_VERSION}} CACHE STRING "Full path to Mono compiler" FORCE )
- set( CSHARP_INTERPRETER ${CSHARP_MONO_INTERPRETER_${CSHARP_MONO_VERSION}} CACHE STRING "Full path to Mono interpretor" FORCE )
- set( CSHARP_SDK "/sdk:2" CACHE STRING "C# Mono SDK commandline switch (e.g. /sdk:2, /sdk:4, /sdk:5)" )
-else()
- set( CSHARP_FOUND CACHE STRING ".net compiler found" )
-endif( )
-
-# Handle WIN32 specific issues
-if ( WIN32 )
- if ( CSHARP_COMPILER MATCHES "bat" )
- set( CSHARP_COMPILER "call ${CSHARP_COMPILER}" )
- endif ( )
-endif( )
-
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(CSharp DEFAULT_MSG CSHARP_TYPE CSHARP_VERSION CSHARP_COMPILER)
-
-mark_as_advanced( CSHARP_TYPE CSHARP_VERSION CSHARP_COMPILER CSHARP_INTERPRETER CSHARP_PLATFORM CSHARP_SDK )
-
-# Set the USE_FILE path
-# http://public.kitware.com/Bug/view.php?id=7757
-get_filename_component( current_list_path ${CMAKE_CURRENT_LIST_FILE} PATH )
-set( CSHARP_USE_FILE ${current_list_path}/UseCSharp.cmake )
+#
+# A CMake Module for finding and using C# (.NET and Mono).
+#
+# The following variables are set:
+# CSHARP_FOUND - set to ON if C# is found
+# CSHARP_USE_FILE - the path to the C# use file
+# CSHARP_TYPE - the type of the C# compiler (eg. ".NET" or "Mono")
+# CSHARP_VERSION - the version of the C# compiler (eg. "v4.0" or "2.10.2")
+# CSHARP_COMPILER - the path to the C# compiler executable (eg. "C:/Windows/Microsoft.NET/Framework/v4.0.30319/csc.exe" or "/usr/bin/gmcs")
+# CSHARP_INTERPRETER - the path to interpreter needed to run CSharp executables
+# CSHARP_PLATFORM - the C# target platform
+# CSHARP_SDK - the SDK commandline switch (empty for .NET, for Mono eg. "/sdk:2" or "/sdk:4")
+#
+# This file is based on the work of GDCM:
+# http://gdcm.svn.sf.net/viewvc/gdcm/trunk/CMake/FindCSharp.cmake
+# Copyright (c) 2006-2010 Mathieu Malaterre <mathieu.malaterre@gmail.com>
+#
+
+# TODO: ADD ABILITY TO SELECT WHICH C# COMPILER eg. .NET or Mono (if both exist). For the moment, .NET is selected above Mono.
+
+# Make sure find package macros are included
+include( FindPackageHandleStandardArgs )
+
+unset( CSHARP_COMPILER CACHE )
+unset( CSHARP_INTERPRETER CACHE )
+unset( CSHARP_TYPE CACHE )
+unset( CSHARP_VERSION CACHE )
+unset( CSHARP_FOUND CACHE )
+
+# By default use anycpu platform, allow the user to override
+set( CSHARP_PLATFORM "anycpu" CACHE STRING "C# target platform: x86, x64, anycpu, or itanium" )
+if( NOT ${CSHARP_PLATFORM} MATCHES "x86|x64|anycpu|itanium" )
+ message( FATAL_ERROR "The C# target platform '${CSHARP_PLATFORM}' is not valid. Please enter one of the following: x86, x64, anycpu, or itanium" )
+endif( )
+
+if( WIN32 )
+ find_package( DotNetFrameworkSdk )
+ if( NOT CSHARP_DOTNET_FOUND )
+ find_package( Mono )
+ endif( )
+else( UNIX )
+ find_package( Mono )
+endif( )
+
+if( CSHARP_DOTNET_FOUND )
+ set( CSHARP_FOUND "TRUE" CACHE STRING ".net compiler found" )
+ set( CSHARP_TYPE ".NET" CACHE STRING "Using the .NET compiler" )
+ set( CSHARP_VERSION ${CSHARP_DOTNET_VERSION} CACHE STRING "C# .NET compiler version" FORCE )
+ set( CSHARP_COMPILER ${CSHARP_DOTNET_COMPILER_${CSHARP_DOTNET_VERSION}} CACHE STRING "Full path to .NET compiler" FORCE )
+ set( CSHARP_INTERPRETER "" CACHE INTERNAL "Interpretor not required for .NET" FORCE )
+elseif( CSHARP_MONO_FOUND )
+ set( CSHARP_FOUND "TRUE" CACHE STRING ".net compiler found" )
+ set( CSHARP_TYPE "Mono" CACHE STRING "Using the Mono compiler" )
+ set( CSHARP_VERSION ${CSHARP_MONO_VERSION} CACHE STRING "C# Mono compiler version" FORCE )
+ set( CSHARP_COMPILER ${CSHARP_MONO_COMPILER_${CSHARP_MONO_VERSION}} CACHE STRING "Full path to Mono compiler" FORCE )
+ set( CSHARP_INTERPRETER ${CSHARP_MONO_INTERPRETER_${CSHARP_MONO_VERSION}} CACHE STRING "Full path to Mono interpretor" FORCE )
+ set( CSHARP_SDK "/sdk:2" CACHE STRING "C# Mono SDK commandline switch (e.g. /sdk:2, /sdk:4, /sdk:5)" )
+else()
+ set( CSHARP_FOUND CACHE STRING ".net compiler found" )
+endif( )
+
+# Handle WIN32 specific issues
+if ( WIN32 )
+ if ( CSHARP_COMPILER MATCHES "bat" )
+ set( CSHARP_COMPILER "call ${CSHARP_COMPILER}" )
+ endif ( )
+endif( )
+
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(CSharp DEFAULT_MSG CSHARP_TYPE CSHARP_VERSION CSHARP_COMPILER)
+
+mark_as_advanced( CSHARP_TYPE CSHARP_VERSION CSHARP_COMPILER CSHARP_INTERPRETER CSHARP_PLATFORM CSHARP_SDK )
+
+# Set the USE_FILE path
+# http://public.kitware.com/Bug/view.php?id=7757
+get_filename_component( current_list_path ${CMAKE_CURRENT_LIST_FILE} PATH )
+set( CSHARP_USE_FILE ${current_list_path}/UseCSharp.cmake )
Oops, something went wrong.

0 comments on commit 4317ff2

Please sign in to comment.