add eol-style property

(needed to compare with trunk version)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34572 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2010-06-01 10:26:05 +00:00
parent deabcc7c8d
commit fd5f7a7174
4 changed files with 227 additions and 227 deletions

View File

@ -1,14 +1,14 @@
:: fastest way to check if LyX compiles with cmake :: fastest way to check if LyX compiles with cmake
:: be sure there is a solution :: be sure there is a solution
cmake ..\trunk\development\cmake -Dmerge=1 cmake ..\trunk\development\cmake -Dmerge=1
:: clean :: clean
devenv lyx.sln /clean Debug devenv lyx.sln /clean Debug
:: rebuild all generated files :: rebuild all generated files
cmake ..\trunk\development\cmake -Dmerge_rebuild=1 cmake ..\trunk\development\cmake -Dmerge_rebuild=1
:: build release version :: build release version
devenv lyx.sln /build Debug devenv lyx.sln /build Debug

View File

@ -1,12 +1,12 @@
:: be sure there is a solution :: be sure there is a solution
cmake ..\trunk\development\cmake -Dmerge=1 cmake ..\trunk\development\cmake -Dmerge=1
:: clean :: clean
devenv lyx.sln /clean Release devenv lyx.sln /clean Release
:: rebuild all generated files :: rebuild all generated files
cmake ..\trunk\development\cmake -Dmerge_rebuild=1 cmake ..\trunk\development\cmake -Dmerge_rebuild=1
:: build release version :: build release version
devenv lyx.sln /build Release devenv lyx.sln /build Release

View File

@ -1,181 +1,181 @@
/* /*
* \file configCompiler.h * \file configCompiler.h
* This file is part of LyX, the document processor. * This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING. * Licence details can be found in the file COPYING.
* *
* This is the compilation configuration file for LyX. * This is the compilation configuration file for LyX.
* It was generated by autoconfs configure. * It was generated by autoconfs configure.
* You might want to change some of the defaults if something goes wrong * You might want to change some of the defaults if something goes wrong
* during the compilation. * during the compilation.
*/ */
#ifndef _CONFIG_COMPILER_H #ifndef _CONFIG_COMPILER_H
#define _CONFIG_COMPILER_H #define _CONFIG_COMPILER_H
#define HAVE_IO_H 1 #define HAVE_IO_H 1
#define HAVE_LIMITS_H 1 #define HAVE_LIMITS_H 1
#define HAVE_LOCALE_H 1 #define HAVE_LOCALE_H 1
#define HAVE_PROCESS_H 1 #define HAVE_PROCESS_H 1
#define HAVE_STDLIB_H 1 #define HAVE_STDLIB_H 1
#define HAVE_SYS_STAT_H 1 #define HAVE_SYS_STAT_H 1
/* #undef HAVE_SYS_TIME_H 1 */ /* #undef HAVE_SYS_TIME_H 1 */
#define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_UTIME_H 1 #define HAVE_SYS_UTIME_H 1
/* #undef HAVE_SYS_SOCKET_H 1 */ /* #undef HAVE_SYS_SOCKET_H 1 */
/* #undef HAVE_UNISTD_H 1 */ /* #undef HAVE_UNISTD_H 1 */
/* #undef HAVE_INTTYPES_H 1 */ /* #undef HAVE_INTTYPES_H 1 */
/* #undef HAVE_UTIME_H 1 */ /* #undef HAVE_UTIME_H 1 */
#define HAVE_STRING_H 1 #define HAVE_STRING_H 1
/* #undef HAVE_STRINGS_H 1 */ /* #undef HAVE_STRINGS_H 1 */
/* #undef HAVE_ISTREAM 1 */ /* #undef HAVE_ISTREAM 1 */
/* #undef HAVE_OSTREAM 1 */ /* #undef HAVE_OSTREAM 1 */
/* #undef HAVE_IOS 1 */ /* #undef HAVE_IOS 1 */
/* #undef HAVE_LOCALE 1 */ /* #undef HAVE_LOCALE 1 */
#define HAVE_OPEN 1 #define HAVE_OPEN 1
#define HAVE_CHMOD 1 #define HAVE_CHMOD 1
#define HAVE_CLOSE 1 #define HAVE_CLOSE 1
/* #undef HAVE_POPEN 1 */ /* #undef HAVE_POPEN 1 */
/* #undef HAVE_PCLOSE 1 */ /* #undef HAVE_PCLOSE 1 */
#define HAVE__OPEN 1 #define HAVE__OPEN 1
#define HAVE__CLOSE 1 #define HAVE__CLOSE 1
#define HAVE__POPEN 1 #define HAVE__POPEN 1
#define HAVE__PCLOSE 1 #define HAVE__PCLOSE 1
#define HAVE_GETPID 1 #define HAVE_GETPID 1
#define HAVE__GETPID 1 #define HAVE__GETPID 1
#define HAVE_MKDIR 1 #define HAVE_MKDIR 1
#define HAVE__MKDIR 1 #define HAVE__MKDIR 1
#define HAVE_PUTENV 1 #define HAVE_PUTENV 1
#define HAVE_MKTEMP 1 #define HAVE_MKTEMP 1
/* #undef HAVE_MKSTEMP 1 */ /* #undef HAVE_MKSTEMP 1 */
#define HAVE_STRERROR 1 #define HAVE_STRERROR 1
/* #undef HAVE_STD_COUNT 1 */ /* #undef HAVE_STD_COUNT 1 */
/* #undef HAVE_ASPRINTF 1 */ /* #undef HAVE_ASPRINTF 1 */
#define HAVE_WPRINTF 1 #define HAVE_WPRINTF 1
/* #undef HAVE_SNPRINTF 1 */ /* #undef HAVE_SNPRINTF 1 */
#define HAVE_POSIX_PRINTF 1 #define HAVE_POSIX_PRINTF 1
/* #undef HAVE_FCNTL 1 */ /* #undef HAVE_FCNTL 1 */
/* #undef HAVE_INTMAX_T 1 */ /* #undef HAVE_INTMAX_T 1 */
/* #undef HAVE_INTTYPES_H_WITH_UINTMAX 1 */ /* #undef HAVE_INTTYPES_H_WITH_UINTMAX 1 */
#define HAVE_DECL_ISTREAMBUF_ITERATOR 1 #define HAVE_DECL_ISTREAMBUF_ITERATOR 1
/* #undef CXX_GLOBAL_CSTD 1 */ /* #undef CXX_GLOBAL_CSTD 1 */
#define HAVE_GETCWD 1 #define HAVE_GETCWD 1
/* #undef HAVE_STPCPY 1 */ /* #undef HAVE_STPCPY 1 */
/* #undef HAVE_STRCASECMP 1 */ /* #undef HAVE_STRCASECMP 1 */
#define HAVE_STRDUP 1 #define HAVE_STRDUP 1
#define HAVE_STRTOUL 1 #define HAVE_STRTOUL 1
/* #undef HAVE___FSETLOCKING 1 */ /* #undef HAVE___FSETLOCKING 1 */
/* #undef HAVE_MEMPCPY 1 */ /* #undef HAVE_MEMPCPY 1 */
/* #undef HAVE___ARGZ_COUNT 1 */ /* #undef HAVE___ARGZ_COUNT 1 */
/* #undef HAVE___ARGZ_NEXT 1 */ /* #undef HAVE___ARGZ_NEXT 1 */
/* #undef HAVE___ARGZ_STRINGIFY 1 */ /* #undef HAVE___ARGZ_STRINGIFY 1 */
#define HAVE_SETLOCALE 1 #define HAVE_SETLOCALE 1
/* #undef HAVE_TSEARCH 1 */ /* #undef HAVE_TSEARCH 1 */
/* #undef HAVE_GETEGID 1 */ /* #undef HAVE_GETEGID 1 */
/* #undef HAVE_GETGID 1 */ /* #undef HAVE_GETGID 1 */
/* #undef HAVE_GETUID 1 */ /* #undef HAVE_GETUID 1 */
#define HAVE_WCSLEN 1 #define HAVE_WCSLEN 1
/* #undef HAVE_MKFIFO 1 */ /* #undef HAVE_MKFIFO 1 */
#define HAVE_WPRINTF 1 #define HAVE_WPRINTF 1
#define HAVE_LONG_DOUBLE 1 #define HAVE_LONG_DOUBLE 1
#define HAVE_LONG_LONG 1 #define HAVE_LONG_LONG 1
/* #undef HAVE_WCHAR_T 1 */ /* #undef HAVE_WCHAR_T 1 */
/* #undef HAVE_WINT_T 1 */ /* #undef HAVE_WINT_T 1 */
/* #undef HAVE_STDINT_H_WITH_UINTMAX 1 */ /* #undef HAVE_STDINT_H_WITH_UINTMAX 1 */
/* #undef HAVE_LC_MESSAGES 1 */ /* #undef HAVE_LC_MESSAGES 1 */
/* #undef HAVE_SSTREAM 1 */ /* #undef HAVE_SSTREAM 1 */
/* #undef HAVE_ARGZ_H 1 */ /* #undef HAVE_ARGZ_H 1 */
#define SIZEOF_WCHAR_T_IS_2 1 #define SIZEOF_WCHAR_T_IS_2 1
/* #undef SIZEOF_WCHAR_T_IS_4 1 */ /* #undef SIZEOF_WCHAR_T_IS_4 1 */
#ifdef SIZEOF_WCHAR_T_IS_2 #ifdef SIZEOF_WCHAR_T_IS_2
# define SIZEOF_WCHAR_T 2 # define SIZEOF_WCHAR_T 2
#else #else
# ifdef SIZEOF_WCHAR_T_IS_4 # ifdef SIZEOF_WCHAR_T_IS_4
# define SIZEOF_WCHAR_T 4 # define SIZEOF_WCHAR_T 4
# endif # endif
#endif #endif
/* #undef HAVE_ALLOCA 1 */ /* #undef HAVE_ALLOCA 1 */
#define HAVE_SYMBOL_ALLOCA 1 #define HAVE_SYMBOL_ALLOCA 1
#if defined(HAVE_SYMBOL_ALLOCA) && !defined(HAVE_ALLOCA) #if defined(HAVE_SYMBOL_ALLOCA) && !defined(HAVE_ALLOCA)
#define HAVE_ALLOCA #define HAVE_ALLOCA
#endif #endif
#define HAVE_ICONV_CONST 1 #define HAVE_ICONV_CONST 1
#ifdef HAVE_ICONV_CONST #ifdef HAVE_ICONV_CONST
#define ICONV_CONST const #define ICONV_CONST const
#else #else
#define ICONV_CONST #define ICONV_CONST
#endif #endif
#ifdef _MSC_VER #ifdef _MSC_VER
#undef HAVE_OPEN // use _open instead #undef HAVE_OPEN // use _open instead
#define pid_t int #define pid_t int
#define PATH_MAX 512 #define PATH_MAX 512
#endif #endif
#ifdef _WIN32 #ifdef _WIN32
#undef HAVE_MKDIR // use _mkdir instead #undef HAVE_MKDIR // use _mkdir instead
#endif #endif
#define BOOST_ALL_NO_LIB 1 #define BOOST_ALL_NO_LIB 1
#if defined(HAVE_OSTREAM) && defined(HAVE_LOCALE) && defined(HAVE_SSTREAM) #if defined(HAVE_OSTREAM) && defined(HAVE_LOCALE) && defined(HAVE_SSTREAM)
# define USE_BOOST_FORMAT 1 # define USE_BOOST_FORMAT 1
#else #else
# define USE_BOOST_FORMAT 0 # define USE_BOOST_FORMAT 0
#endif #endif
#ifdef _DEBUG #ifdef _DEBUG
# define ENABLE_ASSERTIONS 1 # define ENABLE_ASSERTIONS 1
#endif #endif
#ifndef ENABLE_ASSERTIONS #ifndef ENABLE_ASSERTIONS
# define BOOST_DISABLE_ASSERTS 1 # define BOOST_DISABLE_ASSERTS 1
#endif #endif
#define BOOST_ENABLE_ASSERT_HANDLER 1 #define BOOST_ENABLE_ASSERT_HANDLER 1
#define BOOST_DISABLE_THREADS 1 #define BOOST_DISABLE_THREADS 1
#define BOOST_NO_WSTRING 1 #define BOOST_NO_WSTRING 1
#ifdef __CYGWIN__ #ifdef __CYGWIN__
# define BOOST_POSIX 1 # define BOOST_POSIX 1
# define BOOST_POSIX_API 1 # define BOOST_POSIX_API 1
# define BOOST_POSIX_PATH 1 # define BOOST_POSIX_PATH 1
#endif #endif
/* /*
* the FreeBSD libc uses UCS4, but libstdc++ has no proper wchar_t * the FreeBSD libc uses UCS4, but libstdc++ has no proper wchar_t
* support compiled in: * support compiled in:
* http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#3_9 * http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#3_9
* And we are not interested at all what libc * And we are not interested at all what libc
* does: What we need is a 32bit wide wchar_t, and a libstdc++ that * does: What we need is a 32bit wide wchar_t, and a libstdc++ that
* has the needed wchar_t support and uses UCS4. Whether it * has the needed wchar_t support and uses UCS4. Whether it
* implements this with the help of libc, or whether it has own code * implements this with the help of libc, or whether it has own code
* does not matter for us, because we don't use libc directly (Georg) * does not matter for us, because we don't use libc directly (Georg)
*/ */
#if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4 && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) #if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4 && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__)
# define USE_WCHAR_T # define USE_WCHAR_T
#endif #endif
#if defined(MAKE_INTL_LIB) && defined(_MSC_VER) #if defined(MAKE_INTL_LIB) && defined(_MSC_VER)
#define __attribute__(x) #define __attribute__(x)
#define inline #define inline
#define uintmax_t UINT_MAX #define uintmax_t UINT_MAX
#endif #endif
#ifdef _MSC_VER #ifdef _MSC_VER
#ifdef HAVE_CHMOD #ifdef HAVE_CHMOD
#undef HAVE_CHMOD #undef HAVE_CHMOD
#endif #endif
#endif #endif
#ifdef HAVE_CHMOD #ifdef HAVE_CHMOD
#define HAVE_MODE_T #define HAVE_MODE_T
#endif #endif
#endif #endif

View File

@ -1,20 +1,20 @@
# MACRO_BOOL_TO_01( VAR RESULT0 ... RESULTN ) # MACRO_BOOL_TO_01( VAR RESULT0 ... RESULTN )
# This macro evaluates its first argument # This macro evaluates its first argument
# and sets all the given vaiables either to 0 or 1 # and sets all the given vaiables either to 0 or 1
# depending on the value of the first one # depending on the value of the first one
# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> # Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org>
# #
# Redistribution and use is allowed according to the terms of the BSD license. # Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file. # For details see the accompanying COPYING-CMAKE-SCRIPTS file.
MACRO(MACRO_BOOL_TO_01 FOUND_VAR ) MACRO(MACRO_BOOL_TO_01 FOUND_VAR )
FOREACH (_current_VAR ${ARGN}) FOREACH (_current_VAR ${ARGN})
IF(${FOUND_VAR}) IF(${FOUND_VAR})
SET(${_current_VAR} 1) SET(${_current_VAR} 1)
ELSE(${FOUND_VAR}) ELSE(${FOUND_VAR})
SET(${_current_VAR} 0) SET(${_current_VAR} 0)
ENDIF(${FOUND_VAR}) ENDIF(${FOUND_VAR})
ENDFOREACH(_current_VAR) ENDFOREACH(_current_VAR)
ENDMACRO(MACRO_BOOL_TO_01) ENDMACRO(MACRO_BOOL_TO_01)