summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Made cmTarget::GetSourceLists return a reference to const so that all ↵Brad King2007-05-281-4/+4
| | | | additions of sources must go through access methods in cmTarget.
* ENH: Fixed INSTALL_FILES and INSTALL_PROGRAMS commands to not create ↵Brad King2007-05-231-2/+0
| | | | targets. No targets of type cmTarget::INSTALL_FILES or cmTarget::INSTALL_PROGRAMS are created, so we do not need to check for them everywhere anymore.
* ENH: add the IMPORT keyword to ADD_EXECUTABLE(), which generates anAlexander Neundorf2007-05-221-39/+53
| | | | | | | | | | "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-3/+23
| | | | 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-1/+7
| | | | with IF(DEFINED VAR).
* COMP: GCC 2.95 does not have std::string::clear() method.Brad King2007-05-171-1/+1
|
* ENH: merge CMake-CrossCompileBasic to HEADAlexander Neundorf2007-05-171-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | -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: now target names can be used in add_custom_command() andAlexander Neundorf2007-05-091-12/+0
| | | | | | | | | | add_custom_target() as COMMAND, and cmake will recognize them and replace them with the actual output path of these executables. Also the dependency will be added automatically. Test included. ENH: moved TraceVSDependencies() to the end of GlobalGenerator::Configure(), so it is done now in one central place Alex
* COMP: fix warning on VS8: conversion unsigned int -> size_tAlexander Neundorf2007-05-041-1/+1
| | | | Alex
* BUG: fix cmake listfile stack: if a file could not be opened, remove it fromAlexander Neundorf2007-05-011-10/+15
| | | | | | | | | | the stack (usually CMakeCInformation.cmake and CMakeCXXInformation.cmake which both put Linux-gcc.cmake on the stack without removing it again: INCLUDE(... OPTIONAL) ) STYLE: better readable output formatting of the listfile stack, now in the same order as in gdb or with include files Alex
* ENH: Add variable watch commandAndy Cedilnik2007-04-111-8/+13
|
* STYLE: Fix line-too-long.Brad King2007-04-051-1/+2
|
* ENH: Add variable for the current list fileAndy Cedilnik2007-04-041-4/+13
|
* ENH: Added target property ENABLE_EXPORTS for executable targets. It ↵Brad King2007-03-221-2/+5
| | | | enables the executables for linking by loadable modules that import symbols from the executable. This finishes the executable import library support mentioned in bug #4210.
* BUG: change in how set cache overrides local definitions. Should mainly be a ↵Ken Martin2007-03-151-1/+2
| | | | NOP change for most cases
* ENH: some more cleanupKen Martin2007-03-131-5/+9
|
* ENH: add project to target map, not used yet, but createdBill Hoffman2007-03-131-12/+19
|
* ENH: some code cleanupKen Martin2007-03-121-9/+12
|
* BUG: improve bad argument handling for INCLUDE_DIRECTORIES and ↵Ken Martin2007-03-071-1/+27
| | | | ADD_DEFINITIONS bug 4364
* BUG: cleanup paths in GetSourceFile to handle bug 2724Ken Martin2007-02-281-0/+1
|
* ENH: Make EXCLUDE_FROM_ALL a target and directory properties. Also, make ↵Andy Cedilnik2007-02-231-0/+8
| | | | IsInAll use EXCLUDE_FROM_ALL. Also, enable the test that tests this
* ENH: add atonly support to cmCommandArgumentParserHelper.cxx and remove old ↵Bill Hoffman2007-02-091-200/+31
| | | | non-yacc parser code from cmMakefile.cxx
* ENH: allow source file properties to chain to Directories and upKen Martin2006-12-131-2/+5
|
* ENH: make properties a bit more formal with documentation and chainingKen Martin2006-12-071-17/+74
|
* ENH: merge in changes for beos supportBill Hoffman2006-12-041-0/+3
|
* COMP: fix compile issue on Sun hopefullyKen Martin2006-11-291-1/+1
|
* ENH: unify version stuff, get rid of it out of cmake and cmMakefile and only ↵Bill Hoffman2006-11-291-21/+4
| | | | use cmVersion
* COMP: fix compile issue on SunKen Martin2006-11-291-2/+4
|
* ENH: updated handling of debug and optimized target link librariesKen Martin2006-11-291-20/+0
|
* ENH: add rc to version stuffBill Hoffman2006-11-281-2/+7
|
* ENH: fix for when a library is tagged both debug and optimizedBill Hoffman2006-11-201-2/+7
|
* BUG: undo bug fix 2722, still replace @foo@ in cmake filesBill Hoffman2006-11-171-1/+1
|
* ENH: fix a bug with useing debuf optimized libs from other buildsKen Martin2006-11-161-0/+15
|
* ENH: Adding SYSTEM option to INCLUDE_DIRECTORIES command. This addresses ↵Brad King2006-10-051-0/+15
| | | | bug #3462.
* ENH: Added COMMENT option to ADD_CUSTOM_TARGET. This addresses bug#3461.Brad King2006-10-041-3/+8
|
* BUG: Do not replace @VAR@ syntax in list files. This addresses bug #2722.Brad King2006-10-041-2/+5
|
* ENH: Added NOT_IN_ALL option for ADD_LIBRARY and ADD_EXECUTABLE to avoid ↵Brad King2006-10-021-4/+6
| | | | building the targets by default.
* ENH: Added SYMBOLIC source file property to mark custom command outputs that ↵Brad King2006-10-021-0/+11
| | | | are never actually created on disk. This is used by the Watcom WMake generator to generate the .SYMBOLIC mark on the files in the make system.
* BUG: Fix/cleanup custom commands and custom targets. Make empty comment ↵Brad King2006-09-281-4/+14
| | | | strings work. Fix ZERO_CHECK target always out of date for debugging. Fix Makefile driving of custom commands in a custom target. Fix dependencies on custom targets not in ALL in VS generators.
* ENH: Cleaned up signature of cmMakefile::AddUtilityCommand. It is not valid ↵Brad King2006-09-281-7/+1
| | | | 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-5/+12
| | | | commands. This option enables full escaping of custom command arguments on all platforms. See bug#3786.
* BUG: Reverting previous change until it is further tested.Brad King2006-08-261-10/+2
|
* BUG: ConfigureFile must read/write in binary mode to avoid windows newline ↵Brad King2006-08-261-2/+10
| | | | trouble. The problem occurred when configuring a file in cygwin from a path starting with a windows drive letter instead of a posix path.
* ENH: Added platform identifier for QNXNTO. This partially addresses bug#3556.Brad King2006-08-011-0/+3
|
* ENH: Adding .hh file as a C++ header file extension. Remove duplicate code ↵Brad King2006-08-011-1/+2
| | | | from implementation of unique object name computation for VS generators. This addresses bug#3565.
* COMP: Handle both ansi and non-ansi CAndy Cedilnik2006-07-261-1/+1
|
* ENH: Add a copy constructor to copy the valuesAndy Cedilnik2006-07-091-0/+41
|
* ENH: fix subdir issueKen Martin2006-06-261-2/+13
|
* ENH: DIsplay the list file stack when displaying errorsAndy Cedilnik2006-06-221-2/+18
|
* ENH: Provide access to CMAKE_PATCH_VERSION in CMake code.Brad King2006-06-151-0/+2
|