mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 15:01:58 +00:00
a116e04b8b
* src/buffer.C (Buffer::insertStringAsLines): Uncomment isPrintable test * src/support/lstrings.C (compare_no_case): Use char_type and not int for the docstring version (ascii_tolower): Convert to a template (compare_ascii_no_case): Do not use a template anymore, because we need int for the string version and char_type for the docstring version as intermediate type (lowercase): Use towlower if possible (uppercase): Use towupper if possible * src/support/textutils.h (isLetterChar): Use iswalpha if possible (isPrintable): Use iswprint if possible (isPrintableNonspace): Use iswprint and iswspace if possible (isDigit): Use iswdigit if possible * src/paragraph.C (Paragraph::asString): remove obsolete FIXME (Paragraph::transformChar): add FIXME * configure.ac: Add definition of LIBC_WCTYPE_USES_UCS4 to config.h * development/cmake/config.h.cmake: ditto * development/scons/SConstruct: ditto git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15893 a592a061-630c-0410-9148-cb99ea01b6c8 |
||
---|---|---|
.. | ||
boost | ||
intl | ||
modules | ||
src | ||
CMakeLists.txt | ||
config.C.cmake | ||
config.h.cmake | ||
ConfigureChecks.cmake | ||
pcheaders.h | ||
README.cmake |
Building LyX with CMake For all builds: - CMake 2.4 or CVS version from www.cmake.org - install Qt 4 and make sure qmake 4 is found (add the folder with qmake to the environment variable PATH) - by default it builds the Qt4 frontend - with GNUWIN32_DIR you could point to your gnuwin32 packages (eg. -DGNUWIN32_DIR=c:\gnuwin32) by default it searches in your program folder Building Visual C++ 2005 project files: - install Visual C++ 2005 - install Platform SDK 2005, "Core" and "Web Workshop" - add include and library paths of the SDK to the IDE search paths, menu: Tools->Options->VC++ directories->Library files + Include files - install zlib (www.zlib.net) into %ProgramFiles%/GnuWin32/include+lib or %ProgramFiles%/zlib/include+lib - create a build directory, e.g. .../trunk/../build - call in the build directory 'cmake ..\trunk\development\cmake' - start lyx.sln TIPS: - rename Microsoft Visual Studio 8\VC\vcpackages\feacp.dll to disable Intellisense - the Release build links much faster - for the Debug and Release build all precompiled headers are enabled to compile without pch (to check if all necessary headers are included) * use MinSizeRel which only precompiles the STL and Boost headers * use RelWithDebInfo which does not use any precompiled headers Building with GCC/Linux: - create a build directory, e.g. .../trunk/../build - call in the build directory 'cmake ..\trunk\development\cmake' Building with GCC/Windows (Win2k only works with MSYS, XP?): - install zlib (www.zlib.net) into %ProgramFiles%/GnuWin32/include+lib - create a build directory, e.g. .../trunk/../build - call: export QMAKESPEC=win32-g++ (MSYS) or set QMAKESPEC=win32-g++ (CMD) - call in the build directory 'cmake ..\trunk\development\cmake' To generate other build files call 'cmake' which shows a list of possibilities. The build process tries to find aspell on Windows in %ProgramFiles%/GnuWin32/ and in /usr/ or in /usr/local under Linux. If it is not found the support is disabled.