summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Add global property ALLOW_DUPLICATE_CUSTOM_TARGETS to help existing ↵Brad King2008-02-141-1/+2
| | | | projects that depend on having duplicate custom targets. It is allowed only for Makefile generators. See bug#6348.
* ENH: Enforce global target name uniqueness.Brad King2008-02-111-0/+5
| | | | | | | | - 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/+7
| | | | cmLocalGenerator::NeedBackwardsCompatibility for convenience.
* ENH: Updated exporting and importing of targets to support libraries and ↵Brad King2008-01-281-6/+12
| | | | | | | | | | | | | | | | | | 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-0/+4
| | | | 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-6/+9
| | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class
* ENH: Converted cmMakefile DefineFlags added by ADD_DEFINITIONS command into ↵Brad King2008-01-181-0/+2
| | | | a COMPILE_DEFINITIONS directory property.
* ENH: Add AppendProperty methods for use by C++ code in CMake. Simplify ↵Brad King2008-01-171-0/+1
| | | | implementation of SET_PROPERTY command by using them.
* ENH: change raise_scope signature to be safer for returned varuablesKen Martin2008-01-031-1/+1
|
* ENH: add functions and raise scopeKen Martin2007-12-031-1/+6
|
* COMP: parent is not used anymore with this patch, since now the name isAlexander Neundorf2007-08-261-3/+2
| | | | | | given as a vector of components Alex
* BUG: fix #4057 (which had several duplicates): handle recursivew source ↵Alexander Neundorf2007-08-241-2/+10
| | | | | | groups better, i.e. multiple sourcegroups with the same end component work now Alex
* STYLE: fix line lengthsAlexander Neundorf2007-07-201-1/+3
| | | | Alex
* ENH: add OPTIONAL keyword to ENABLE_LANGUAGE, so it will be possible to doAlexander Neundorf2007-06-281-1/+1
| | | | | | | | | | | | | 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: add IMPORT keyword to ADD_LIBRARY, dependencies are not yet workingAlexander Neundorf2007-06-221-1/+1
| | | | | | 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
* STYLE: GetProjectName() is constAlexander Neundorf2007-06-211-1/+1
| | | | Alex
* ENH: Merging changes from branch CMake-SourceFile2-b between tagsBrad King2007-06-181-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | CMake-SourceFile2-bp and CMake-SourceFile2-b-mp1 to trunk. This commit is surrounded by tags CMake-SourceFile2-b-mp1-pre and CMake-SourceFile2-b-mp1-post on the trunk. The changes re-implement cmSourceFile and the use of it to allow instances to be created much earlier. The use of cmSourceFileLocation allows locating a source file referenced by a user to be much simpler and more robust. The two SetName methods are no longer needed so some duplicate code has been removed. The strange "SourceName" stuff is gone. Code that created cmSourceFile instances on the stack and then sent them to cmMakefile::AddSource has been simplified and converted to getting cmSourceFile instances from cmMakefile. The CPluginAPI has preserved the old API through a compatibility interface. Source lists are gone. Targets now get real instances of cmSourceFile right away instead of storing a list of strings until the final pass. TraceVSDependencies has been re-written to avoid the use of SourceName. It is now called TraceDependencies since it is not just for VS. It is now implemented with a helper object which makes the code simpler.
* STYLE: minor fixesAlexander Neundorf2007-06-151-2/+2
| | | | Alex
* STYLE: remove duplicate non-const accessors GetLocalGenerator(int) andAlexander Neundorf2007-06-151-0/+4
| | | | | | | | | | | | GetLocaGenerators(cmLocalGenerators) from cmGlobalGenerator(). Now there is one const accessor which is even faster since it returns a reference (instead of copying a vector) -more const to ensure that this the returned local generators don't actually get modified -removed duplicated code in GetCTestCommand() and GetCPackCommand() -added some const accessors Alex
* BUG: More problems with cmMakefile copy-constructor. It seems the regular ↵Brad King2007-06-111-0/+1
| | | | expression class cannot be assigned but does not enforce this limitation at compile time.
* BUG: Fixed @ONLY configuration to not try to parse ${} syntax at all. This ↵Brad King2007-06-061-2/+3
| | | | fixes the original fix to bug#4393 and adds a test.
* ENH: add the IMPORT keyword to ADD_EXECUTABLE(), which generates anAlexander Neundorf2007-05-221-1/+5
| | | | | | | | | | "imported" executable target. This can then be used e.g. with ADD_CUSTOM_COMMAND() to generate stuff. It adds a second container for "imported" targets, and FindTarget() now takes an additional argument bool useImportedTargets to specify whether you also want to search in the imported targets or only in the "normal" targets. Alex
* BUG: All variable accesses should produce watch callbacks, including ↵Brad King2007-05-171-1/+1
| | | | IF(DEFINED <var>) ones. Instead we define a new access type for IF(DEFINED) so that the error does not show up for backward compatibility variables.
* BUG: Do not complain about missing watched variables when they are accessd ↵Brad King2007-05-171-0/+1
| | | | with IF(DEFINED VAR).
* ENH: merge CMake-CrossCompileBasic to HEADAlexander Neundorf2007-05-171-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | -add a RESULT_VARIABLE to INCLUDE() -add CMAKE_TOOLCHAIN_FILE for specifiying your (potentially crosscompiling) toolchain -have TRY_RUN() complain if you try to use it in crosscompiling mode (which were compiled but cannot run on this system) -use CMAKE_EXECUTABLE_SUFFIX in TRY_RUN(), probably TRY_RUN won't be able to run the executables if they have a different suffix because they are probably crosscompiled, but nevertheless it should be able to find them -make several cmake variables presettable by the user: CMAKE_C/CXX_COMPILER, CMAKE_C/CXX_OUTPUT_EXTENSION, CMAKE_SYSTEM_NAME, CMAKE_SYSTEM_INFO_FILE -support prefix for GNU toolchains (arm-elf-gcc, arm-elf-ar, arm-elf-strip etc.) -move ranlib on OSX from the file command to a command in executed in cmake_install.cmake -add support for stripping during install in cmake_install.cmake -split out cl.cmake from Windows-cl.cmake, first (very incomplete) step to support MS crosscompiling tools -remove stdio.h from the simple C program which checks if the compiler works, since this may not exist for some embedded platforms -create a new CMakeFindBinUtils.cmake which collects the search fro ar, ranlib, strip, ld, link, install_name_tool and other tools like these -add support for CMAKE_FIND_ROOT_PATH for all FIND_XXX commands, which is a list of directories which will be prepended to all search directories, right now as a cmake variable, turning it into a global cmake property may need some more work -remove cmTestTestHandler::TryExecutable(), it's unused -split cmFileCommand::HandleInstall() into slightly smaller functions Alex
* ENH: some more cleanupKen Martin2007-03-131-2/+2
|
* ENH: some code cleanupKen Martin2007-03-121-4/+4
|
* ENH: make properties a bit more formal with documentation and chainingKen Martin2006-12-071-2/+12
|
* ENH: unify version stuff, get rid of it out of cmake and cmMakefile and only ↵Bill Hoffman2006-11-291-8/+0
| | | | use cmVersion
* ENH: Adding SYSTEM option to INCLUDE_DIRECTORIES command. This addresses ↵Brad King2006-10-051-1/+11
| | | | bug #3462.
* ENH: Added COMMENT option to ADD_CUSTOM_TARGET. This addresses bug#3461.Brad King2006-10-041-1/+2
|
* BUG: Do not replace @VAR@ syntax in list files. This addresses bug #2722.Brad King2006-10-041-1/+2
|
* ENH: Added NOT_IN_ALL option for ADD_LIBRARY and ADD_EXECUTABLE to avoid ↵Brad King2006-10-021-2/+4
| | | | building the targets by default.
* ENH: Cleaned up signature of cmMakefile::AddUtilityCommand. It is not valid ↵Brad King2006-09-281-2/+0
| | | | to have an output from a utility rule and no calls to the method asked for an output anyway. The argument has been removed.
* ENH: Added VERBATIM option to ADD_CUSTOM_COMMAND and ADD_CUSTOM_TARGET ↵Brad King2006-09-281-4/+8
| | | | commands. This option enables full escaping of custom command arguments on all platforms. See bug#3786.
* ENH: Add a copy constructor to copy the valuesAndy Cedilnik2006-07-091-0/+1
|
* ENH: DIsplay the list file stack when displaying errorsAndy Cedilnik2006-06-221-1/+6
|
* STYLE: fix line lengthKen Martin2006-05-121-2/+4
|
* ENH: fix .. in the path of subdirsBill Hoffman2006-04-201-0/+4
|
* ENH: some performance optimizationsKen Martin2006-04-111-0/+1
|
* ENH: Added support for multiple outputs generated by a single custom ↵Brad King2006-04-111-0/+6
| | | | command. For Visual Studio generators the native tool provides support. For Xcode and Makefile generators a simple trick is used. The first output is considered primary and has the build rule attached. Other outputs simply depend on the first output with no build rule. During cmake_check_build_system CMake detects when a secondary output is missing and removes the primary output to make sure all outputs are regenerated. This approach always builds the custom command at the right time and only once even during parallel builds.
* BUG: Fixed typo in new cmake-rerun code.Brad King2006-04-111-1/+1
|
* ENH: add support for re-running cmake if the cmakefiles changeBill Hoffman2006-04-101-1/+9
|
* ENH: Allow blocking of writing into the source treeAndy Cedilnik2006-03-221-0/+5
|
* ENH: added some new functionalityKen Martin2006-03-221-1/+4
|
* ENH: Remove things from bootstrapAndy Cedilnik2006-03-221-1/+16
|
* STYLE: minor comment cleanupsKen Martin2006-03-161-3/+2
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-81/+83
|
* ENH: fix line length style stuffBill Hoffman2006-03-101-5/+9
|
* ENH: removed unused methods after find changesBill Hoffman2006-03-021-14/+0
|