summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* ENH: Created new install script generation framework. The INSTALL command ↵Brad King2006-02-191-7/+6
| | | | creates the generators which are later used by cmLocalGenerator to create the cmake_install.cmake files. A new target installation interface is provided by the INSTALL command which fixes several problems with the INSTALL_TARGETS command. See bug#2691. Bugs 1481 and 1695 are addressed by these changes.
* ENH: Added INSTALL command as a placeholder for a future generic install ↵Brad King2006-02-101-1/+9
| | | | specification interface. Currently it supports only a SCRIPT option specifying a script to run during the install stage.
* ENH: add working directory supportBill Hoffman2006-02-081-2/+4
|
* ENH: Improved support for user-configured search paths. Paths given in the ↵Brad King2006-01-271-0/+8
| | | | CMAKE_LIBRARY_PATH cmake variable are searched first, then those in the CMAKE_LIBRARY_PATH environment variable, then those listed in the call to the FIND_LIBRARY command and finally those listed in the PATH environment variable. The support is similar for finding include files with FIND_PATH, but the variable is CMAKE_INCLUDE_PATH.
* ENH: add new cmakedefine01 feature from bug report 2603Bill Hoffman2006-01-031-0/+1
|
* ENH: Add set and get test propety commandAndy Cedilnik2005-07-311-0/+1
|
* FIX: apply patch from bug# 1965Bill Hoffman2005-07-131-13/+13
|
* ENH: cleaned up some old methods and varsKen Martin2005-07-071-29/+11
|
* ENH: make LOCATION an computed property of the target and get rid of a bunch ↵Ken Martin2005-06-221-2/+1
| | | | of const junk
* ENH: Improve handling of escaped charactersAndy Cedilnik2005-06-171-0/+1
|