lyx_mirror/development/cmake
Jean-Marc Lasgouttes 81d863fd41 Fix bug #8537: LyX creates the environment variable LC_ALL
The current code is not able to unset an environment variable, only to set it to an empty value. This patch refactors a bit the Message class and uses a new EnvChanger helper class that allows to change temporarily an environment variable and that is able to unset variables if needed.

The patch also adds new functions hasEnv and unsetEnv in environment.cpp.

Open issues:
 * there may be systems where unsetenv is not available and putenv("name=") does not do the right thing;
 * unsetenv may lead to leaks on some platforms.
 * when using unsetenv, we may need to remove strings from the internal map that setEnv uses.
2013-02-12 12:14:06 +01:00
..
doc Cmake build: Add .tex files to the list of doc-files. 2013-01-13 15:31:23 +01:00
man cmake: we have 2011 and more white space changes, won't call "use tabs" ;) 2011-01-10 23:24:00 +00:00
modules CMake: Put projects into subdirs 2012-12-15 11:02:06 +01:00
po cmake fix po generation/update: msguniq.exe doesn't like dos line endings (produces broken pot files) 2011-10-21 23:22:58 +00:00
scripts C&P error 2013-01-09 16:40:54 +01:00
build.bat cmake/build.bat: update build script for installations 2013-01-13 20:16:06 +01:00
config.cpp.cmake rename config.C.cmake to config.cpp.cmake 2007-10-07 11:10:45 +00:00
config.h.cmake Cmake build: 2012-10-15 13:16:08 +02:00
configCompiler.h.cmake Added libmagic to cmake build. Should to be also adapted to windows 2012-02-22 10:07:04 +00:00
configCompiler.h.msvc cmake: we already test on gettext 2011-05-12 04:22:14 +00:00
ConfigureChecks.cmake Fix bug #8537: LyX creates the environment variable LC_ALL 2013-02-12 12:14:06 +01:00
dmg cmake: build a .dmg file on Mac, looks not as nice as the official installer but it runs 2011-05-15 13:21:18 +00:00
Install.cmake Patch from Benjamin Piwowarski 2012-10-13 09:53:20 +02:00
lyx_date.h.cmake Cmake build: 2012-11-01 13:00:19 +01:00
LyX_description.txt Kornel really needs write access 2009-02-15 14:02:26 +00:00
LyX_license.txt Kornel really needs write access 2009-02-15 14:02:26 +00:00
LyX_summary.txt Kornel really needs write access 2009-02-15 14:02:26 +00:00
lyx.rc cmake: add icon on Windows 2010-06-30 08:35:52 +00:00
LyxPackaging.cmake Cmake build: 2012-11-02 13:33:22 +01:00
pcheaders.h cmake: add pch for gcc, it's sooo hairy, disable by default 2009-12-03 21:58:44 +00:00
PyCompile.cmake Make installed python scripts executable (as in autotools) 2011-05-08 07:28:19 +00:00
TODO.txt cmake: more to do 2011-06-05 10:37:42 +00:00