summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* STYLE: Spelling fixes on documentationAmitha Perera2008-01-101-1/+1
|
* ENH: change raise_scope signature to be safer for returned varuablesKen Martin2008-01-031-2/+5
|
* BUG: Make RAISE_SCOPE function work when variable is not defined.Brad King2008-01-021-2/+16
|
* ENH: add ability to have manifest files and incremental linking with make ↵Bill Hoffman2008-01-011-1/+5
| | | | and nmake
* STYLE: nicer error message:Alexander Neundorf2007-12-191-1/+1
| | | | | | | "Command options() is not scriptable" is IMO better to understand than "Command options not scriptable" (with all uppercase commands it was easier to see) Alex
* ENH: add functions and raise scopeKen Martin2007-12-031-17/+58
|
* ENH: different way of testing propertiesKen Martin2007-11-061-12/+6
|
* COMP: fix for when STRICT is defined, and fix for props that have no docsKen Martin2007-10-231-2/+4
|
* ENH: change to make the documentation class more generic, about halfway ↵Ken Martin2007-10-221-0/+20
| | | | there, also provides secitons for Variables now
* COMP: explicitely cast to int to silence warning with msvc8Alexander Neundorf2007-08-281-1/+1
| | | | Alex
* COMP: parent is not used anymore with this patch, since now the name isAlexander Neundorf2007-08-261-5/+3
| | | | | | given as a vector of components Alex
* BUG: fix #4057 (which had several duplicates): handle recursivew source ↵Alexander Neundorf2007-08-241-77/+71
| | | | | | groups better, i.e. multiple sourcegroups with the same end component work now Alex
* ENH: set UNIX, WIN32 and APPLE in cmMakefile.cxx as it was before, so itAlexander Neundorf2007-08-101-0/+15
| | | | | | | works for scripts, then reset them in CMakeSystemSpecificInformation.cxx, so the platform modules can set them again for the target system Alex
* ENH: UNIX, CYGWIN, WIN32, APPLE, QNXNTO and BEOS are not longer set inAlexander Neundorf2007-08-091-11/+4
| | | | | | | | | | | | | | cmMakefile.cxx, but now in the platform files and are now valid for the target platform, not the host platform. New variables CMAKE_HOST_WIN32, CMAKE_HOST_UNIX, CMAKE_HOST_APPLE and CMAKE_HOST_CYGWIN have been added in cmMakefile.cxx (...and have now to be used in all cmake files which are executed before CMakeSystemSpecificInformation.cmake is loaded). For compatibility the old set is set to the new one in CMakeDetermineSystem.cmake and reset before the system platform files are loaded, so custom language or compiler modules which use these should still work. Alex
* BUG: Target exclusion-from-all tests should always use the root local ↵Brad King2007-08-031-4/+4
| | | | generator associated with the all target being tested.
* STYLE: even more output when --debug-output is usedAlexander Neundorf2007-07-201-1/+12
| | | | Alex
* STYLE: fix line lengthsAlexander Neundorf2007-07-201-1/+1
| | | | Alex
* STYLE: fix some typos, nicer debug outputAlexander Neundorf2007-07-191-3/+3
| | | | Alex
* ENH: produce a lot more output when running with --debug-outputAlexander Neundorf2007-07-171-12/+19
| | | | | | -try to fix build error on HPUX Alex
* BUG: GET_DIRECTORY_PROPERTY(INCLUDE_DIRECTORIES|LINK_DIRECTORIES) wasn'tAlexander Neundorf2007-07-161-35/+30
| | | | | | | | | | | | | | working, for both the result was always empty, since cmMakefile::GetProperty() recognized it as a special property, constructed a correct return value and called cmMakefile::SetProperty() with this list of directories, which then didn't actually set the property, but applied it to the internal vector of include/link directories. The following getPropertyValue in cmMakefile::GetProperty() then still didn't find it and returned nothing. Now for all special property the static string output is used and its content is returned. I'm not sure it is the right way to fix this problem but at least it seems to work and it fixes the Paraview3 build Alex
* ENH: change the way #cmakedefine is changed to #undef, so it is similar toAlexander Neundorf2007-07-111-3/+2
| | | | | | | | | | | | | | | | | | | | | | | what autoconf does. This makes porting software from autoconf to cmake easier, since it's easier to diff the resulting config headers. Now the following #cmakedefine HAVE_STRING_H 1 #cmakedefine HAVE_STRLCAT 1 produce: #define HAVE_STRING_H 1 /* #undef HAVE_STRLCAT */ whereas before they produced: #define HAVE_STRING_H 1 /* #undef HAVE_STRLCAT 1 */ Since it's commented out anyway, it's now change in behaviour. Alex
* ENH: some cleanup of get property commandsKen Martin2007-07-101-0/+73
|
* ENH: add OPTIONAL keyword to ENABLE_LANGUAGE, so it will be possible to doAlexander Neundorf2007-06-281-3/+5
| | | | | | | | | | | | | something like this: ENABLE_LANGUAGE(ASM-ATT) IF(CMAKE_ASM-ATT_COMPILER_WORKS) ... do assembler stufff ELSE(CMAKE_ASM-ATT_COMPILER_WORKS) ... fallback to generic C/C++ ENDIF(CMAKE_ASM-ATT_COMPILER_WORKS) Alex
* ENH: some property cleanup and added GetPropertyKen Martin2007-06-251-0/+35
|
* ENH: add IMPORT keyword to ADD_LIBRARY, dependencies are not yet workingAlexander Neundorf2007-06-221-21/+18
| | | | | | STYLE: fix line lengths and indentation, use enum as argument to AddLibrary() instead of int (which was initialized from a bool in some cases) Alex