Commit Graph

607 Commits

Author SHA1 Message Date
Peter Kümmel
4f8939dd3d cmake: precompiled headers
- enable by default, could be disabled with -Ddisable-pch
    - use different pch files for Debug/Release/...
    - use only one config_pch.C 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15549 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-25 17:57:04 +00:00
Peter Kümmel
cd0b5b6ca9 cmake precompile:
- only precompile boost and stl headers
- for qt4 also precompile QtGui and QtGui
- don't use one global precomiled header file
  to get out of the dependency hell 





git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15517 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-23 19:04:29 +00:00
Peter Kümmel
5c26b24d17 fix wrong usage of precompiled headers, now it's really faster, more to come
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15509 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-23 14:32:12 +00:00
Peter Kümmel
9105f374a1 update to HEAD
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15507 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-23 13:49:18 +00:00
Peter Kümmel
dc5c8be0f0 add support of precompiled headers for msvc, enable with -Dpch=1, disable headers by defining LYX_DONT_PRECOMPILE_* macros in config.C.cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15506 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-23 13:34:22 +00:00
Peter Kümmel
2ceb5e2769 add support of precompiled headers for msvc, enable with -Dpch=1, disable headers by defining LYX_DONT_PRECOMPILE_* macros in config.C.cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15505 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-23 13:32:46 +00:00
André Pönitz
35a1a95cfe compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15467 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 11:22:14 +00:00
André Pönitz
de6418f377 use more unicode in math
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15462 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 10:15:23 +00:00
André Pönitz
a63cddf51c remove qt3 frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15432 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 08:35:47 +00:00
Peter Kümmel
4cc5d0825d cmake: don't forget command line options
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15403 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-20 12:46:30 +00:00
Peter Kümmel
4656a5e16a fix wrong line endings of generated Qt4 ui files on Windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15398 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-20 11:28:45 +00:00
Peter Kümmel
3459b8d89d cmake files:
- mathed: remove InsetMathMox.C fro the build process
- config: enable assertions by default



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15396 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-20 10:38:33 +00:00
Peter Kümmel
6d6a9ddad6 cmake: use src/support/package.C.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15389 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-19 21:42:28 +00:00
Peter Kümmel
97efe6289f - use version.C.in file instead of a simple copy
- generate lyx2lyx_version.py



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15388 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-19 21:35:44 +00:00
Peter Kümmel
19739b63aa add instruction to change search path for gnuwin32 + small corrections
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15144 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-25 15:34:04 +00:00
Peter Kümmel
de161c40b1 move definition of variables to the main cmake file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15104 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-21 10:51:50 +00:00
Peter Kümmel
4e4ee8433a create binary in <build_dir>/bin
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15103 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-21 10:50:27 +00:00
Edwin Leuven
513b57cfaa correct filenames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15060 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-19 09:15:47 +00:00
Peter Kümmel
134bc3ea2c propdel svn:executable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15055 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-18 20:46:16 +00:00
Peter Kümmel
406b997b98 add libaspell as possible name
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15047 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-18 18:28:17 +00:00
Peter Kümmel
7c9876766c add copyright notice
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15012 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-15 17:05:20 +00:00
Peter Kümmel
d6cc4b9f0b test for the size of wchar_t and define the macro SIZEOF_WCHAR_T with the size
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14992 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-13 21:45:52 +00:00
Enrico Forestieri
1435670790 Add defines needed on cygwin
* configure.ac: define BOOST_POSIX_API and BOOST_POSIX_PATH
	on cygwin (needed by boost 1.34).

	* development/scons/SConstruct: ditto.

	* development/cmake/config.h.cmake: ditto.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14980 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-12 00:54:07 +00:00
Abdelrazak Younes
a6444784dc A bunch of conversion to docstring.
- bformat(): contributed by Georg Beaum
- Alert::XXX
- error(): in SpellBase, ispell, psell, aspell, buffer, etc.
- message(), message signal
- displayMessage(), setMessage,
- ErrorItems
- prettyName()
- makeDisplayPath()

and maybe some more...


- etc... 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14970 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-11 08:54:10 +00:00
Abdelrazak Younes
35515415a3 upgrade to latest package.C.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14961 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-10 10:28:41 +00:00
Peter Kümmel
3a4c53e206 check PATH for iconv.dll
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14901 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-06 08:43:48 +00:00
Peter Kümmel
0f40c394ce update to boost 1.34 cvs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14900 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-06 08:43:10 +00:00
Peter Kümmel
6ceff16584 move project_source_group macro into an extra file: ProjectSourceGroup.cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14888 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-03 23:52:51 +00:00
Peter Kümmel
1fbce8c2b6 more flexible msvc project folder generation, flat is default
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14887 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-03 23:50:16 +00:00
Peter Kümmel
2d8f06d61e don't overwrite the command line value
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14884 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-03 18:04:23 +00:00
Peter Kümmel
92d84f2a04 Headers and .C files are now in The Golden Code folder
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14883 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-03 17:51:53 +00:00
Peter Kümmel
cf3ec5d31f search also for other names of iconv.dll
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14880 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-03 13:46:47 +00:00
Peter Kümmel
f81e924143 also work with MSYS
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14878 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-03 13:20:38 +00:00
Peter Kümmel
6611e3843b add \n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14875 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-03 10:51:46 +00:00
Peter Kümmel
8f8f581316 also check vor env. variable GNUWIN32_DIR
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14874 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-03 10:51:20 +00:00
Peter Kümmel
55b3fd5874 also work with spaces in the path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14873 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-03 09:10:18 +00:00
Peter Kümmel
7dc7f5b335 add -DGNUWI32_DIR=my/path/to/gnuwin32 option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14872 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-03 08:48:58 +00:00
Peter Kümmel
3dca656ae4 also remove BOOST_NO_WREGEX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14848 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-28 17:59:14 +00:00
Peter Kümmel
bbc672ae98 qt should not pollute the namespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14847 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-28 16:41:48 +00:00
Michael Schmitt
fb9eb996fa do not define QT3_SUPPORT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14820 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-23 10:58:54 +00:00
Peter Kümmel
d308909bee check for ICONV_CONST
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14675 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-14 16:38:04 +00:00
Peter Kümmel
1fbbe9636e enable nls with option >all<, print instruction to enable nls
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14670 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-14 11:46:57 +00:00
Peter Kümmel
1f3b82f3ba require iconv
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14669 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-14 11:18:51 +00:00
Peter Kümmel
4a14a050b4 use module to find support libraries, also search for win32libs( http://www.kdelibs.com/wiki/index.php/3rd-party_libraries_required_for_KDElibs_4 )
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14668 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-14 11:10:43 +00:00
Peter Kümmel
63b5b965df unicode.C needs inconv.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14666 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-14 09:15:37 +00:00
Peter Kümmel
ee07d30cbf search for alloca also in malloc.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14664 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-14 08:59:30 +00:00
Peter Kümmel
6400bd38cc cmake 2.4.3 is out: update Readme.cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14540 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-04 20:04:16 +00:00
Peter Kümmel
bc720fa2df add release option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14167 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-21 10:32:17 +00:00
Peter Kümmel
6aa29e1b9d add qt3 support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14157 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-20 09:59:48 +00:00
Peter Kümmel
118cdb2bd3 add qt3 support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14156 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-20 09:57:19 +00:00
Peter Kümmel
9ae369d22f move uic files into its own folder in the msvc project
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14147 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-19 15:49:48 +00:00
Peter Kümmel
4e7ca2d6f4 use glob instead of lists
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14131 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-16 17:26:32 +00:00
Peter Kümmel
585b386088 add item for QMAKESPEC
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14130 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-16 17:02:42 +00:00
Peter Kümmel
82db64c958 use glob instead of lists
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14129 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-16 16:43:17 +00:00
Peter Kümmel
330db5cce1 correct svn properties, upadte aspell handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14121 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-15 15:11:25 +00:00
Peter Kümmel
34424bb42d add Linux/Win GCC instructions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14097 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-14 07:49:44 +00:00
Peter Kümmel
7c00f14cc1 Initial cmake support.
trunk/development/cmake/README.cmake:

Building LyX with CMake

CMake 2.4.2 or CVS version from www.cmake.org


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


To generate other build files call "cmake" 
which shows a list of possibilities.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14071 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-11 11:57:25 +00:00