lyx_mirror/development/cmake/TODO.txt
Jean-Marc Lasgouttes 9fe8190364 Make "devel mode" configurable at run time
Traditionally LyX behaves differently when the directive DEVEL_VERSION
is defined at compile time. This covers
* more detailed description of current position in status bar
* the help files are open in read/write mode
* more detailed debug output in the View Source panel

This patch introduces the new function devel-mode-toggle that allows
to use devel mode in stable releases, and vice versa.

The information is saved in the session file. The default is to
disable devel mode.

Remove all traces of DEVEL_VERSION in autoconf and cmake
2017-07-24 22:00:44 +02:00

66 lines
2.8 KiB
Plaintext

Defaults:
* DONE: NLS should be enabled by default.
* Eventually, cmake without option should generate a makefile that has reasonable defaults for everything
(nls, spellcheck, build type, ...), at least when released.
Help:
* DONE: I do not know how to have a list of variables from the command line
(before I actually run it). cmake --help is not useful.
* how can I see what the command line was. With autoconf I'd just
do "make V=1", what shall I do with cmake?
ANSWER: "make VERBOSE=1"
Bug fixing
* DONE: Run in place, without using LYX_DIR_21x
copy the resources (bind/ ui/ layouts/ dicts/ thes/ ...) to the build stage (?)
This is what I do: copy them from an autotools install into the cmake project.
Package.cpp and config.h.cmake has to be fixed.
* check that .tar.gz and .xz are identical to those from autotools
* *.po are too often generated by Visual Studio
* show correct values in cmake-gui: write forced to cache
Documentation
* Better documentation, variable naming, more automake-like
* how do I specify whether I want debug informations (-g flag) for unix?
Features
* I would like to see a BUILD_TYPE flag like in autotools, with automatic selection from lyx version
* Disbale merging selectively
* STARTED: Make .dmg
* STARTED: Bundles for Mac OSX
with support for universal binaries (don't know if it currently is a problem to build them)
* from the maintainer point of view these task are needed:
- DONE: *.po remerge of strings in po/ (ie "make update-po")
- DONE: tarball creation, most notably i dont see any list of files which should go into tarball, we dont want everything to go there
(ie "make distcheck" to check tree is prepared for release, "make dist" for actual release)
ANSWER: "make package_source"
these are nice to have and present in autotools, though not critical
- DONE: target for regenaration of lfuns manual would be nice (ie make lfundoc)
- DONE: target for doxygen generation (ie make doxydoc)
* DONE: get patch version from configure.ac (regex)
* DONE: Automatically generate package dependencies for debian
Cleanup
* stdlib-debug mode should be merged with windows debug mode, since it is the same basically
* DONE: I do not like the weird paths where built files go. I really cannot find my way there
* Shouldn't we use lower case names everywhere (when possible)?
Then the cmake files doesn't look that antiquated. And seeing an uppercase variable means
that this variable wasn't introduced by lyx and is a cmake default name.
* DONE: port 'development/cmake/doc/ReplaceValues.pl' to python
* STARTED: split master CMakeLists somehow: cpack, pcs, warnings, dependencies, defaults, install, options, ...
remove dependencies between these modules
DONE for cpack