summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* BUG: Fix issue #7833: Add file extension handling to CPack generated ↵David Cole2009-01-212-0/+9
| | | | installers for OSXX11 applications. Also modify the X11 test to build such an installer on Mac builds that test CPack and have X11 available. Thanks to Wes Turner for the patch.
* ENH: Enforce logical blocks in functions/macrosBrad King2009-01-212-0/+6
| | | | | This teaches function() and macro() to enforce matching logical blocks inside the recorded bodies. This makes the error message more specific.
* ENH: Better handling of mismatched blocksBrad King2009-01-217-8/+24
| | | | | | | | | | | | | | | | If a logical block terminates with mismatching arguments we previously failed to remove the function blocker but replayed the commands anyway, which led to cases in which we failed to report the mismatch (return shortly after the ending command). The recent refactoring of function blocker deletion changed this behavior to produce an error on the ending line by not blocking the command. Furthermore, the function blocker would stay in place and complain at the end of every equal-level block of the same type. This teaches CMake to treat the begin/end commands (if/endif, etc.) as correct and just warns when the arguments mismatch. The change allows cases in which CMake 2.6.2 silently ignored a mismatch to run as before but with a warning.
* ENH: Better error message for unclosed blocksBrad King2009-01-2113-73/+30
| | | | | | This centralizes construction of the error message for an unclosed logical block (if, foreach, etc.). We record the line at which each block is opened so it can be reported in the error message.
* ENH: Refactor logical block enforcementBrad King2009-01-212-40/+86
| | | | | | This uses a stack of 'barriers' to efficiently divide function blockers into groups corresponding to each input file. It simplifies detection of missing block close commands and factors it out of ReadListFile.
* STYLE: Nightly Date StampBrad King2009-01-211-1/+1
|
* BUG: Fix LOCATION property for Mac AppBundlesBrad King2009-01-203-17/+11
| | | | | | | Previously cmTarget::GetLocation and cmTarget::GetFullPath would return for Mac AppBundles the top-level bundle directory but without the .app extension. We worked around this at the call sites. This fixes the methods and removes the work-arounds. See issue #8406.
* ENH: Refactor function blocker deletionBrad King2009-01-208-47/+27
| | | | | | | | | When a function blocker decides to remove itself we previously removed it at every return point from the C++ scope in which its removal is needed. This teaches function blockers to transfer ownership of themselves from cmMakefile to an automatic variable for deletion on return. Since this removes blockers before they replay their commands, we no longer need to avoid running blockers on their own commands.
* ENH: Improve response to bad if or elseifBrad King2009-01-203-22/+28
| | | | | | | Previously bad arguments to an if() or elseif() would cause some subsequent statements in the corresponding block to execute. This teaches CMake to stop processing commands with a fatal error. It also provides context to bad elseif() error messages.
* BUG: Fix for issue #7470. Allow spaces in the path names of installed files ↵David Cole2009-01-201-11/+16
| | | | with the NSIS CPack generator and component-based installs. Add an installed file to the CPackComponents test: it failed before the fix; now it passes.
* BUG: fix crash with cmd.exe shell and cmake in the pathBill Hoffman2009-01-201-0/+9
|
* STYLE: Nightly Date StampBrad King2009-01-201-1/+1
|
* STYLE: Nightly Date StampBrad King2009-01-191-1/+1
|
* BUG: add output on failure to ctest #8255Bill Hoffman2009-01-183-0/+34
|
* BUG: fix crash with empty propertiesBill Hoffman2009-01-181-2/+8
|
* STYLE: Nightly Date StampBrad King2009-01-181-1/+1
|
* STYLE: Nightly Date StampBrad King2009-01-171-1/+1
|
* STYLE: Nightly Date StampBrad King2009-01-161-1/+1
|
* BUG: Fix find_package docs for refind featureBrad King2009-01-151-2/+1
| | | | | | Recently we taught find_package to re-find a package configuration file if it is given a wrong answer. This fixes the documentation to reflect the change.
* BUG: Enforce matching policy PUSH/POP in all filesBrad King2009-01-152-14/+19
| | | | | | The documentation of cmake_policy PUSH and POP states that they must always match. Previously we enforced this only for the top scope of each CMakeLists.txt file. This enforces the requirement for all files.
* ENH: fix part submission to not have memory of the last part submissionBill Hoffman2009-01-152-5/+6
|
* BUG: fix for bug #8174Bill Hoffman2009-01-152-2/+14
|
* ENH: Provide variable CMAKE_VERSIONBrad King2009-01-152-0/+13
| | | | | | This creates the variable CMAKE_VERSION containing the full version of cmake in "major.minor.patch" format. It is particularly useful with the component-wise version comparison provided by the if() command.
* ENH: Document variable CMAKE_PATCH_VERSIONBrad King2009-01-151-0/+6
| | | | | This adds documentation of CMAKE_PATCH_VERSION to the generated variables documentation.
* STYLE: Nightly Date StampBrad King2009-01-151-1/+1
|
* BUG: Pop a function scope even on errorBrad King2009-01-142-3/+12
| | | | | | This uses an automatic variable to push and pop variable scope inside a function call. Previously if the function failed its scope would not be popped. This approach guarantees a balanced push/pop.
* ENH: fix return value to ctest_build and remove debug print in cmProcessBill Hoffman2009-01-142-8/+3
|
* ENH: allow ctest_build to return error and warning countsBill Hoffman2009-01-145-6/+49
|
* COMP: Fix const set find for Borland 5.5Brad King2009-01-142-3/+6
| | | | | | The Borland 5.5 compiler's STL set does not define correct signatures for its find() members, leading to build errors. This works around the problem.
* STYLE: Nightly Date StampBrad King2009-01-141-1/+1
|
* STYLE: Nightly Date StampBrad King2009-01-131-1/+1
|
* COMP: Remove unused variableBrad King2009-01-121-1/+0
|
* ENH: Teach ctest_submit about partsBrad King2009-01-124-4/+88
| | | | | This adds a PARTS option to the ctest_submit command which tells it to submit only parts whose names are listed with the option.
* ENH: Divide CTest file submission list by partBrad King2009-01-1210-36/+50
| | | | | | This splits the list of files for CTest to submit into those belonging to each part. The set is recombined just before submission. Later this will allow piecewise submissions.
* ENH: Refactor cmCTest test part representationBrad King2009-01-122-74/+88
| | | | | | | | This introduces the name "part" to denote a portion of the testing and submission process performed by ctest. We generalize the boolean indicating whether each part is enabled into a structure to which more information can be added later. We provide bi-directional mapping between part id and part names.
* ENH: Teach ctest_* to create appending XML filesBrad King2009-01-1211-9/+27
| | | | | This adds an APPEND option to the ctest_* commands which tells them to put the Append="true" attribute in the Site element of their XML file.
* ENH: Refactor CTest command argument handlingBrad King2009-01-122-50/+64
| | | | | | | The previous approach to handling of arguments to ctest_* commands worked only for keyword/value arguments with a single value. This refactors the approach to allow some commands to define alternative argument forms.
* STYLE: Nightly Date StampBrad King2009-01-121-1/+1
|
* ENH: patch from Miguel,Alexander Neundorf2009-01-112-34/+58
| | | | | | | | | | | | | | | | | | | | | As it is today the generator creates linked resources to LIBRARY_OUTPUT_PATH and EXECUTABLE_OUTPUT_PATH if they are not a subdirectory of the binary dir, so that the IDE can detect the Binaries (this was addressed previously as a result of a bug report). Reduces code redundancy by encapsulating common behaviour for LIBRARY_OUTPUT_PATH and EXECUTABLE_OUTPUT_PATH in AppendLinkedResource. Addresses the two new variable names for these locations, CMAKE_LIBRARY_OUTPUT_DIRECTORY and CMAKE_RUNTIME_OUTPUT_DIRECTORY respectively. Finally, it is addressing a bug in the current code for relative paths in these variables. If it is a relative path to the binary dir, the IsSubdirectory call returns false and so it creates the linked resource. The created linked resource produces an error in the Eclipse IDE because the IDE expects it to be a full path. The patch now addresses this by concatenating the binary dir if it is a relative path.
* STYLE: Nightly Date StampBrad King2009-01-111-1/+1
|
* BUG: don't create empty <itemizedlist>s (#7289), dblatex didn't like thatAlexander Neundorf2009-01-101-10/+13
| | | | Alex
* STYLE: document CMAKE_COLOR_MAKEFILE (#7878)Alexander Neundorf2009-01-101-2/+9
| | | | Alex
* STYLE: Nightly Date StampBrad King2009-01-101-1/+1
|
* COMP: forgot to commit this fileAlexander Neundorf2009-01-101-0/+1
| | | | Alex
* STYLE: remove debug outputAlexander Neundorf2009-01-101-1/+0
| | | | Alex
* BUG: fix #8073: also show targets created using add_custom_targets()Alexander Neundorf2009-01-101-34/+62
| | | | | | | -additionally also create the target/fast targets for Eclipse -skip preinstall and install/local, they should be only rarely used Alex
* BUG: remove the call to EnableInstallTarget(), don't know why it was there.Alexander Neundorf2009-01-101-1/+0
| | | | | | | This caused that always an install target was created which installed nothing, even if there was no install rule in the project. Alex
* BUG: fix #8105: don't hardcode "gcc" and "make" but use CMAKE_C_COMPILER andAlexander Neundorf2009-01-092-5/+21
| | | | | | CMAKE_MAKE_PROGRAM instead Alex
* BUG: fix #8203: codeblocks + mingw doesn't like the extra quotes around theAlexander Neundorf2009-01-091-0/+7
| | | | | | path to the makefile if it contains spaces, under Linux it works with spaces Alex
* ENH: Add missing newline to CTest-generated xmlBrad King2009-01-091-1/+1
| | | | | | The Generator="ctest..." attribute of Site elements in CTest-generated XML files was missing a newline, causing the next attribute to appear on the same line. This adds the newline.