summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Allow custom commands with VERBATIM option to have $(SomeVar) make ↵Brad King2008-06-041-0/+2
| | | | variable replacement.
* COMP: fix warningKen Martin2008-06-021-4/+4
|
* ENH: make end of file checking for close if, foreach, macro, functions etc ↵Ken Martin2008-05-311-8/+9
| | | | enabled. Not sure why it was disabled to start with, but I suspect I will find out. In reponse to Bill email about a ctest -S script with a function that waqs not closed. Closure was only checked for regular listfiles not other files.
* ENH: Allow users to specify macro-like #include line transforms for ↵Brad King2008-05-141-0/+26
| | | | | | | | dependency scanning. - Define IMPLICIT_DEPENDS_INCLUDE_TRANSFORM property on targets and directories. - Make the directory version inherited. - See issue #6648.
* BUG: Remove check for files written by file(WRITE) being loaded.Brad King2008-04-301-27/+0
| | | | | | | | | | | | - CMake 1.8 and below did not do the check but could get in infinite loops due to the local generate step. - CMake 2.0 added the check but failed to perform it in directories with no targets (see bug #678). - CMake 2.2 removed the local generate which fixed the problem but did not remove the check. - Between CMake 2.4 and 2.6.0rc6 the check was fixed to work even when no targets appear in a directory (see bug #6923). - Bottom line: the check is no longer needed.
* ENH: add support for Intel Fortran Visual studio IDEBill Hoffman2008-04-301-1/+1
|
* ENH: In cmMakefile::IssueMessage report the directory-level context even if ↵Brad King2008-04-291-4/+13
| | | | no list file is currently being processed.
* ENH: Allow policy CMP0000 to be set explicitlyBrad King2008-03-311-11/+56
| | | | | | | | - Message for missing cmake_minimum_required is not issued until the end of processing the top CMakeLists.txt file - During processing a cmake_policy command may set behavior - OLD behavior is to silently ignore the problem - NEW behavior is to issue an error instead of a warning
* BUG: Fix impl of CMP0005 regex to match value-less definitions.Brad King2008-03-131-1/+1
|
* ENH: Add policy CMP0005 to decide whether add_definitions should escape defs.Brad King2008-03-131-5/+33
|
* ENH: Improve error message when invalid policy is given.Brad King2008-03-131-4/+5
|
* ENH: Improve new error/warning message generationBrad King2008-03-131-91/+31
| | | | | | | | | | - Add cmListFileBacktrace to record stack traces - Move main IssueMessage method to the cmake class instance (make the backtrace an explicit argument) - Change cmMakefile::IssueMessage to construct a backtrace and call the cmake instance version - Record a backtrace at the point a target is created (useful later for messages issued by generators)
* ENH: change CMP_ to CMPKen Martin2008-03-131-5/+5
|
* ENH: remove abort calls and replace with an IssueMessage INTERANL_ERROR, ↵Bill Hoffman2008-03-131-1/+8
| | | | better to not crash on the end user.
* STYLE: fix line lenBill Hoffman2008-03-121-2/+4
|
* ENH: fix warning message a bitBill Hoffman2008-03-111-1/+5
|
* ENH: add a way to suppress the new policy warnings, still need ccmake and gui'sBill Hoffman2008-03-111-2/+20
|
* ENH: add enum to IssueMessageBill Hoffman2008-03-111-20/+10
|
* ENH: Enforce matching PUSH/POP calls for cmake_policy.Brad King2008-03-101-7/+19
|
* ENH: Add directory-level context information to error/warning messages when ↵Brad King2008-03-101-0/+15
| | | | no call stack is present.
* COMP: Avoid using operator-> on const_reverse_iterator to help old compilers.Brad King2008-03-081-3/+3
|
* ENH: Cleanup policy generic documentation. Cleanup some policy ↵Brad King2008-03-081-3/+4
| | | | error/warning messages.
* ENH: Finish creating, documenting, and enforcing policy CMP_0002.Brad King2008-03-071-30/+3
|
* ENH: In cmMakefile::IssueMessage use cmDocumentationFormatterText to format ↵Brad King2008-03-071-30/+9
| | | | the message nicely.
* ENH: Improve handling of old-style compatibility.Brad King2008-03-071-19/+24
| | | | | | | | | | | | | | | | | | | - Remove CMP_0001 (no slash in target name) and restore old CMAKE_BACKWARDS_COMPATIBILITY check for it - Replace all checks of CMAKE_BACKWARDS_COMPATIBILITY with cmLocalGenerator::NeedBackwardsCompatibility calls - Create new CMP_0001 to determine whether or not CMAKE_BACKWARDS_COMPATIBILITY is used. (old = use, new = ignore) - Show CMAKE_BACKWARDS_COMPATIBILITY in cache only when CMP_0001 is set to OLD or WARN - Update documentation of cmake_policy and cmake_minimum_required to indicate their relationship and the 2.4 version boundary - When no cmake policy version is set in top level makefile implicitly call cmake_policy(VERSION 2.4) which restores CMAKE_BACKWARDS_COMPATIBILITY and other 2.4 compatibility - Fix tests MakeClean and Preprocess to call cmake_policy(VERSION 2.6) because they depend on new policies
* BUG: Do not produce whitespace-only lines when indenting messages in new ↵Brad King2008-03-071-1/+1
| | | | error/warning format.
* ENH: New format for warning and error messagesBrad King2008-03-071-49/+163
| | | | | | | | | | | | | - Add cmMakefile methods IssueError and IssueWarning - Maintain an explicit call stack in cmMakefile - Include context/call-stack info in messages - Nested errors now unwind the call stack - Use new mechanism for policy warnings and errors - Improve policy error message - Include cmExecutionStatus pointer in call stack so that errors deeper in the C++ stack under a command invocation will become errors for the command
* BUG: change the handling of CMAKE_MINIMUM_REQUIRED and ↵Ken Martin2008-03-061-6/+9
| | | | BACKWARDS_COMPATIBILITY and extend the documentaiton quite a bit
* ENH: Improve cmake_policy command signatureBrad King2008-03-051-6/+9
| | | | | - Replace NEW and OLD modes with a SET mode for clarity - Enforce VERSION argument validity (major.minor[.patch])
* BUG: some fixes, still a few to goKen Martin2008-03-051-1/+3
|
* BUG: Make sure at least one policy stack entry is created for every ↵Brad King2008-03-041-1/+4
| | | | cmMakefile instance.
* COMP: fix warningKen Martin2008-03-021-1/+2
|
* BUG: bad loop index unsigned compared to zeroKen Martin2008-03-011-1/+2
|
* COMP: fix some warningsKen Martin2008-03-011-1/+2
|
* ENH: add first cut and policies still need to add the doc supportKen Martin2008-03-011-19/+129
|
* ENH: make CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS the default and remove the ↵Bill Hoffman2008-02-291-9/+0
| | | | property. If any value is specified in an endif, endforeach, endwhile, etc then make sure it matches the start string. If no values are given then it is no longer an error.
* ENH: Add global property ALLOW_DUPLICATE_CUSTOM_TARGETS to help existing ↵Brad King2008-02-141-13/+69
| | | | projects that depend on having duplicate custom targets. It is allowed only for Makefile generators. See bug#6348.
* ENH: Re-enable diagnosis of non-unique target names.Brad King2008-02-141-5/+4
| | | | | | | | - Re-enable enforcement in cmMakefile::EnforceUniqueName - Improve error message to help user resolve the problem - Fix Modules/CTestTargets.cmake to not duplicate testing targets - Move commands used by the changes to Modules/CTestTargets.cmake to build during bootstrap: DEFINE_PROPERTY, GET_PROPERTY
* BUG: Disable enforcement of unique target names until CTestTargets can be fixed.Brad King2008-02-121-0/+2
|
* ENH: Enforce global target name uniqueness.Brad King2008-02-111-0/+39
| | | | | | | | - Error if imported target is involved in conflict - Error for non-imported target conflict unless CMAKE_BACKWARDS_COMPATIBILITY <= 2.4 - Include OUTPUT_NAME property in error message - Update add_executable and add_library command documentation
* ENH: Add cmMakefile::NeedBackwardsCompatibility method to pass through to ↵Brad King2008-02-111-0/+15
| | | | cmLocalGenerator::NeedBackwardsCompatibility for convenience.
* BUG: Fix misuse of stl vector that caused definitions to be dropped by ↵Brad King2008-01-301-1/+8
| | | | cmMakefile::PushScope.
* ENH: Updated exporting and importing of targets to support libraries and ↵Brad King2008-01-281-31/+56
| | | | | | | | | | | | | | | | | | configurations. - Created cmExportFileGenerator hierarchy to implement export file generation - Installed exports use per-config import files loaded by a central one. - Include soname of shared libraries in import information - Renamed PREFIX to NAMESPACE in INSTALL(EXPORT) and EXPORT() commands - Move addition of CMAKE_INSTALL_PREFIX to destinations to install generators - Import files compute the installation prefix relative to their location when loaded - Add mapping of importer configurations to importee configurations - Rename IMPORT targets to IMPORTED targets to distinguish from windows import libraries - Scope IMPORTED targets within directories to isolate them - Place all properties created by import files in the IMPORTED namespace - Document INSTALL(EXPORT) and EXPORT() commands. - Document IMPORTED signature of add_executable and add_library - Enable finding of imported targets in cmComputeLinkDepends
* ENH: Added cmMakefile::NeedCacheCompatibility method and support for it in ↵Brad King2008-01-241-20/+6
| | | | cmCacheManager. This will allow commands to modify their behavior when running with a cache loaded from an earlier CMake version.
* ENH: add return and break support to cmake, also change basic command ↵Ken Martin2008-01-231-8/+14
| | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class
* BUG: don't crash if cmMakefile::RaiseScope() is called from a cmake file inAlexander Neundorf2008-01-181-2/+2
| | | | | | the top level directory in normal code (i.e. not within a function) Alex
* ENH: Make per-configuration COMPILE_DEFINITIONS_<CONFIG> directory property ↵Brad King2008-01-181-3/+28
| | | | initialized from parent.
* BUG: COMPILE_DEFINITIONS directory property needs to be inherited from ↵Brad King2008-01-181-0/+4
| | | | parent when a directory is created.
* ENH: Converted cmMakefile DefineFlags added by ADD_DEFINITIONS command into ↵Brad King2008-01-181-0/+102
| | | | a COMPILE_DEFINITIONS directory property.
* ENH: Add AppendProperty methods for use by C++ code in CMake. Simplify ↵Brad King2008-01-171-0/+36
| | | | implementation of SET_PROPERTY command by using them.