| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
d4b77eb Avoid discovering system infos for documentation. Adding some path is enough.
9002f73 Fix non existent std::string::clear on VS6
02ccb32 Create getDocumentedModulesListInDir which may be used in other context.
24fbc28 Add missing section markup for CPackComponent
bafd8a9 Example of builtin variable documentation (i.e. only used in C++ source code).
543f1ad Make the load of script documentation more efficient and dynamic.
cdbd1a9 Fix another compiler warning due to a typo
52c53de Really avoid compiler warning about unused vars
37f90ed Calm down compiler warning about unused var
7c82b7f Fix potential bad memory access, thanks to Eike
62b589b Suppress unused var, beautify code, avoid 1 extra newline.
751713f Update bash completion file in order to handle new CPack doc options.
1629615 CPack Documentation extraction from CMake script begins to work
83e34dd Implement simple CMake script comment markup language.
c6a0169 CPack begin the implementation of --help-command* and --help-variables*
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Enhance extract doc parser. Seems robust now. The legacy
module documentation parser works as before ignoring
the new markup.
- Proof of concept for CPack (generic), CPack RPM and CPack Deb
generator for macro and variables.
Try cpack --help-command and cpack --help-variables
|
|\ \
| | |
| | |
| | |
| | | |
c8ef643 Allow directory names containing '=' and warn if necessary (#12934)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The approach taken by commit 8704525f (Reject directory names containing
'=', 2011-01-14) was perhaps too heavy-handed for avoiding the obscure
cases when '=' in the path fails due to limitations of Make syntax.
Only two CMake tests:
LinkDirectory
OutOfSource
fail when the path contains '=' and they cover obscure cases. Instead
of rejecting such paths outright just warn when the problem may occur.
|
| |/
|/|
| |
| |
| |
| |
| | |
CMake doesn't find Visual C++ Express and uses "NMake Makefiles"
generator by default when one calls cmake WITHOUT using the -G options.
Teach CMake to find VC Express to use it as the default generator just
like the commercial versions.
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
96d106a CMake: Remove documentation for -E build (#12446)
|
| | |
| | |
| | |
| | |
| | |
| | | |
The '-E build build_dir' command was created and documented, but then
morphed into '--build build_dir' instead, ... and then the -E documentation
was never removed. This commit fixes that oversight.
|
|/ /
| |
| |
| |
| |
| |
| | |
Without this call, recent refactoring changes in the Visual
Studio generators yield no GUIDs saved in the cache. Putting
the SaveCache here *once* avoids scattering many calls to it
in specific generators.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
59238dc Fix --find-package mode on Cygwin, where enable_language(RC) is called
98472e4 Require the current cmake version in --find-package mode
a6ccf3c Use $(CXXFLAGS) and $(LDFLAGS) in the --find-package test Makefile
4386918 Fix line length
7d69310 Only enable the test when using GNU make
3011149 Make the test harder by always having a space in the include dirs
ab57ff6 Make the --find-package test harder
626fc71 Much improved test, should now be executed on all UNIXes
ec6982d Disable any STATUS output in --find-package mode
e552ae7 Dont check for -isysroot and -mmacosx-version on OSX in --find-package mode
e589589 Rename helper macros print_compile_flags() to set_compile_flags_var()
aecfc1f Fix test on OpenBSD with BSD make
6bb4ca3 The makefile for the test was kindof wrong
fd15b5e Only run the test if we are using a makefile generator under UNIX
9fc87c6 Add a test for the new --find-package mode
d3ae0ff Improve documentation for --find-package mode
bf07375 Add a cmake.m4 for using cmake in autoconf projects instead of pkgconfig
b0e3578 Use the file-utility to test for 64bit if there is no /usr/lib64
53edfb2 Better support for lib64 and Debian multiarch
b8fdaa1 Fix copyright notice in new CMakeFindPackageMode.cmake
7690edf Replace cmake::GetScriptMode() with GetWorkingMode()
e4f603b Implement find-package mode of cmake
a91d662 Add find-package mode, which does nothing yet
b976e70 Make clLocalGenerator::GetTargetFlags() public
|
| | |
| | |
| | |
| | | |
Alex
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
GetWorkingMode() returns a new enum WorkingMode, which is one of
NORMAL_MODE, SCRIPT_MODE and FIND_PACKAGE_MODE.
Alex
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In find-package mode, cmake executes Modules/CMakeFindPackage.cmake,
which calls find_package(), and this is then evaluated in cmake.cxx,
which prints an appropriate message to stdout, so it can be used
e.g. in a normal Makefile:
$ /opt/cmake-HEAD/bin/cmake --find-package -DNAME=JPEG
-DCOMPILER_ID=GNU -DLANGUAGE=C -DMODE=EXIST
JPEG found.
$ /opt/cmake-HEAD/bin/cmake --find-package -DNAME=JPEG
-DCOMPILER_ID=GNU -DLANGUAGE=C -DMODE=COMPILE
$ /opt/cmake-HEAD/bin/cmake --find-package -DNAME=JPEG
-DCOMPILER_ID=GNU -DLANGUAGE=C -DMODE=LINK
-rdynamic -ljpeg
Alex
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
-add command line argument --find-package and handle it,
i.e. call an empty function cmake::FindPackage()
-add basic help
Alex
|
| | |
| | |
| | |
| | | |
Alex
|
| | |
| | |
| | |
| | | |
Alex
|
| | |
| | |
| | |
| | | |
Alex
|
| | |
| | |
| | |
| | | |
Alex
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
a343bc1 RunSingleCommand: Avoid assignment in condition
642f100 RunSingleCommand: Add a OUTPUT_NORMAL flag.
856a9e4 RunSingleCommand: Replace verbose boolean with enum
4096066 RunSingleCommand: Fix indentation
|
| | | |
| | | |
| | | |
| | | |
| | | | |
OUTPUT_NORMAL does no processing of the output streams, it just passes
them through the same streams as they were received on.
|
| |/ /
| | |
| | |
| | |
| | | |
No behaviour change, this prepares for adding a flag to skip the merging
of output streams.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
9dbba1b Fix #12342: Add APPEND_STRING option to set_property()
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
set_property() has APPEND, which creates a list. E.g. when
appending to COMPILE_FLAGS a string is needed, not a list.
With the APPEND_STRING option the value is append as string,
not as list.
Alex
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
08fa5dd Also generate dependers-graphviz files.
4f96a76 GRAPHVIZ_IGNORE_TARGETS is now a list of regular expressions
5698ad2 Make it possible to exlude external libs from dot files
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
With this commit, the --graphviz option now also generates dot files
which show which other targets depend on some target.
So, now there is
* a global dot-file which shows all targets and dependencies
* a dot file which shows on what a target Foo depends
* a dot file which shows which other targets depend on Foo
Alex
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
a4335a6 Fix unused cache warning after multiple configure iterations
a75ebe3 Refine unused cache variable warning
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The curses dialog (ccmake) allows variables to be specified on the
command line. If any of these variables is used during any configure
iteration or during generate we must not warn about it.
The Qt dialog (cmake-gui) allows variables to be added and removed in
the GUI interactively. If a variable is added, removed, and then added
again we must still warn if it is unused.
|
| |/ /
| | |
| | |
| | |
| | | |
List all unused variables in one warning. Cleanup implementation to run
the check exactly once at the end of generation.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
a58ace6 Fix KWStyle line-too-long complaint (#2828)
106958c Add CMAKE_ARGC and CMAKE_ARGV0..N-1 variables (#2828)
94d1684 Add CMAKE_SCRIPT_MODE_FILE variable (#2828)
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
For now, these variables are only available in -P script mode.
|
| |/ /
| | |
| | |
| | |
| | | |
New CMake variable is set when processing a -P script file,
but not when configuring a project.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
fbca267 VS: Only use /MANIFEST if hasManifest is true (#11216)
98b448e VS2010: Fixed GenerateManifest flag (#10704)
|
| |/ /
| | |
| | |
| | | |
Thanks to Jörg Riedel for the patch.
|
|\ \ \
| | |/
| |/|
| | |
| | | |
8704525 Reject directory names containing '=' (#11689)
|
| | |
| | |
| | |
| | |
| | |
| | | |
Some characters are not well-supported by native build systems. Reject
paths containing such characters before even trying to configure a
project.
|
| |/
|/|
| |
| | |
Alphabetize both lists. Put platform-specific docs in both places too.
|
|\ \
| |/
| |
| |
| | |
Conflicts:
Tests/CMakeLists.txt
|
| |
| |
| |
| |
| |
| | |
VS2010 deprecated /INCREMENTAL:YES. This change makes
/INCREMENTAL the flag to use for incremental linking with
VS2010.
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
8b143fa Condense parsing of cache entries
122ebf1 Support manual cache entries
90abc3a Use cmCacheManager to load entries from the cache
6fe8624 Fix parsing of cache variables without a type
|
| | |
| | |
| | |
| | |
| | | |
If a cache line is being parsed, it shouldn't matter whether it has a
type or not; just parse it however possible.
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
Conflicts:
Source/cmake.cxx
|
| | |
| | |
| | |
| | | |
Alex
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The big all-in-one file is basically unusable for e.g. kdelibs, it contains
around 1000 nodes and the created image is huuuuge !
Too big actually to be displayable or viewable or comprehensable.
Alex
|
| | |
| | |
| | |
| | | |
Alex
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Found bug: targets which don't link to anything don't get inserted in
the dot file.
Alex
|