summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* BUG: Fix issue #7833: Add file extension handling to CPack generated ↵David Cole2009-01-219-4/+59
| | | | 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.
* STYLE: Fix if/endif mismatch in FindKDE4Brad King2009-01-211-1/+1
|
* 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-203-11/+33
| | | | 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
|
* BUG: Fix detection of boost libraries without any compiler encoding (e.g.Philip Lowman2009-01-201-0/+4
| | | | | Gentoo 1.37 system installed boost). Fixes issue #8404 reported on mailing list.
* BUG: Fixes Issue #8054 and more. DOXYGEN_DOT_FOUND now exists, errantPhilip Lowman2009-01-201-73/+96
| | | | | | | mark_as_advanced variables removed, documentation cleaned up and OSX stuff isolated to it's own section, support added for DOXYGEN_SKIP_DOT, support added to call FindPackageHandleStandardArgs to avoid output on every CMake run.
* BUG: Missing "icpc" as a possible CXX compiler for Intel C++. Also refactoredPhilip Lowman2009-01-201-13/+21
| | | | gcc -dumpversion code and regex to a function.
* BUG: Switch FindBoost.cmake to use CMAKE_COMPILER_IS_GNUCXX (Issue #8398)Philip Lowman2009-01-201-2/+2
|
* BUG: Fixed Issue #7331 Bugs in Findosg*.cmake. Also added ↵Philip Lowman2009-01-1919-647/+400
| | | | OPENTHREADS_LIBRARIES.
* BUG: Reverted change made in 1.27, should be unnecessary (Issue #7508)Philip Lowman2009-01-191-2/+0
|
* BUG: Resolve Issue #7508, FindBoost fails to find boost on SuSE 10.3Philip Lowman2009-01-191-0/+2
|
* ENH: Added 1.38 since it'll be out soon. More documentation and clarified ↵Philip Lowman2009-01-191-20/+37
| | | | examples, addressed autolinking issue on MSVC
* BUG: Do not check for GCC version encoding in filenames on Boost libraries ↵Philip Lowman2009-01-191-32/+41
| | | | prior to 1.35. Eliminate "lib" prefix except on MSVC.
* STYLE: Nightly Date StampBrad King2009-01-191-1/+1
|
* BUG: Fixed additional issues with autodetecting compiler tags properly ↵Philip Lowman2009-01-181-9/+15
| | | | including Issue #6926
* BUG: Fixes problem with _boost_ABI_TAG appending to itself if FindBoost is ↵Philip Lowman2009-01-181-0/+1
| | | | called more than once (Issue #7460)
* STYLE: minor cleanupPhilip Lowman2009-01-181-22/+28
|
* BUG: Removed some code which was squashing Boost_LIBRARIES on WIN32 under ↵Philip Lowman2009-01-181-7/+0
| | | | the auspices of forcing the user to use autolinking, but it only did this squashing on the first call to FindBoost. Subsequent calls to FindBoost would not have Boost_LIBRARIES squashed so this code was doing nothing. If you link your target_link_libraries() against dynamic boost libraries it appears from tools like Dependency Walker that the pragma calls to autolink to the static boost libraries are ignored. It's therefore too late to make this squash apply to all calls to FindBoost because that would break users that have not setup autolinking properly. For now this fix is largely cosmetic since the original code never worked anyways (see version 1.5 introduced on 4/22/08).
* BUG: Fixed documentation bug with Boost_USE_MULTITHREADED, removed OPTION() ↵Philip Lowman2009-01-181-6/+8
| | | | call since it would be useless and confusing after an initial configure.
* BUG: Fixed superfluous and duplicate dirs in Boost_LIBRARY_DIR. Employed ↵Philip Lowman2009-01-181-3/+21
| | | | workaround for Issue #8378. Resolves Issue #8099
* 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
|
* BUG: Fixed issues using FindBoost with BoostPro packaged releases. FixedPhilip Lowman2009-01-161-57/+86
| | | | | regression for bjam users on Win32 introduced in 1.4.2.4 (7/13/08). This commit partially or completely resolves Issues #8173, #8326, #7943, #7725!
* 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.
* BUG: fixed bug #7529: FindBoost fails to find boost on SuSE 11.0 due to GCCPhilip Lowman2009-01-151-2/+2
| | | | reporting version x.y and not x.y.z
* BUG: Fixes bug #8059. Also added Boost_DEBUG variable for troubleshooting.Philip Lowman2009-01-151-47/+152
|
* 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.
* ENH: Test find_package re-find featureBrad King2009-01-141-0/+3
| | | | | | | Recently we taught find_package to re-find a package if its <package>_DIR result variable was set to a location not containing the package (instead of reporting an error as before). This tests the feature.
* STYLE: Nightly Date StampBrad King2009-01-141-1/+1
|