lyx_mirror/development/cmake/TODO.txt

69 lines
3.0 KiB
Plaintext
Raw Normal View History

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
* DONE: Fix libintl, LYX_EXTERNAL_LIBINTL=OFF triggers compilation in intl even when LYX_NLS is OFF
* *.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
* what does LYX_DEVEL_VERSION do?
* What is the difference with LYX_RELEASE=OFF?
* 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