summaryrefslogtreecommitdiffstats
path: root/Source/cmProjectCommand.cxx
Commit message (Collapse)AuthorAgeFilesLines
* cmMakefile: Use std::string in ProjectName API.Stephen Kelly2015-08-251-1/+1
|
* cmMakefile: Move IsRoot API from cmLocalGenerator.Stephen Kelly2015-06-211-1/+1
|
* project(): Remove unused variable.Stephen Kelly2015-06-091-1/+0
|
* Use new top-level check abstraction.Stephen Kelly2015-05-141-1/+1
|
* Port to static cmPolicies API.Stephen Kelly2015-05-041-2/+1
|
* cmMakefile: Rename GetCurrent{Output,Binary}Directory.Stephen Kelly2015-04-201-2/+2
| | | | Match names used in CMake code.
* cmMakefile: Rename GetCurrent{,Source}Directory.Stephen Kelly2015-04-201-2/+2
| | | | Match the names used in cmake code.
* cmMakefile: Add wrapper for reading listfiles which have an origin.Stephen Kelly2015-04-181-2/+1
| | | | | | Such files are delegates from other files, and so they set the CMAKE_PARENT_LIST_FILE to the originator. They also may set a policy scope.
* cmState: Move CacheEntryType enum from cmCacheManager.Stephen Kelly2015-04-131-3/+3
|
* Port all cmOStringStream to std::ostringstream.Stephen Kelly2015-01-111-1/+1
| | | | All compilers hosting CMake support the std class.
* Remove some c_str() calls.Stephen Kelly2014-03-111-13/+13
| | | | | | Use the clang RemoveCStrCalls tool to automatically migrate the code. This was only run on linux, so does not have any positive or negative effect on other platforms.
* project: Manage VERSION variablesBrad King2014-01-291-1/+136
| | | | | | | | | | | | | | | | Teach the project() command to set variables {PROJECT,<PROJECT-NAME>}_VERSION{,_MAJOR,_MINOR,_PATCH,_TWEAK} holding the project version number and its components. Add project() command option "VERSION" to specify the version explicitly, and default to the empty string when it is not given. Since this clears variables when no VERSION is given, this may change behavior for existing projects that set the version variables themselves prior to calling project(). Add policy CMP0048 for compatibility. Suggested-by: Alex Neundorf <neundorf@kde.org>
* project: Add optional LANGUAGES keywordBrad King2014-01-291-3/+21
| | | | | | | Teach the project() command to recognize an optional "LANGUAGES" keyword after the project name and prior to the list of languages. Do not allow multiple copies of the keyword. If the keyword is specified and no languages are listed, imply NONE.
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-3/+3
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* Fix typo in error message, and remove redundent test.Bill Hoffman2012-03-011-1/+1
|
* Add ability to include a file in a project via a cache variable.Bill Hoffman2012-02-171-0/+18
| | | | | | If a variable exists called CMAKE_PROJECT_<projectName>_INCLUDE, the file pointed to by that variable will be included as the last step of the project command.
* Fix the case where cmake --build failed with two project cmds in one file.Bill Hoffman2011-12-201-3/+7
| | | | | | | | This adds a test that uses two project commands in the same CMakeLists.txt file. It also adds a fix so that cmake --build will work in that case. The fix sets the name of the last project command in the top level CMakeLists.txt in the cache variable CMAKE_PROJECT_NAME. This variable is used by cmake --build to find the project name.
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* BUG: 4244, add a --build option to cmake that can build projects configured ↵Bill Hoffman2008-10-151-0/+4
| | | | by CMake
* ENH: add return and break support to cmake, also change basic command ↵Ken Martin2008-01-231-1/+2
| | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class
* 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
* STYLE: fix line lengthKen Martin2006-05-121-6/+8
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-13/+13
|
* ENH: Added CMAKE_PROJECT_NAME variable to play the role of CMAKE_SOURCE_DIR ↵Brad King2005-02-221-0/+8
| | | | and CMAKE_BINARY_DIR for the top-level project name.
* remove warningsBill Hoffman2004-09-221-2/+0
|
* ENH: major changes to support addition of languages from cmake modules ↵Bill Hoffman2004-09-221-0/+2
| | | | directory.
* ENH: try to initialize all languages at the same timeBill Hoffman2004-08-271-3/+5
|
* ENH: more uniform approach to enable language, one step closer to being able ↵Bill Hoffman2004-08-261-1/+3
| | | | to enable a language without modifing cmake source code
* ENH: Moved ExpandListVariables out of individual commands. Argument ↵Brad King2002-12-111-4/+2
| | | | evaluation rules are now very consistent. Double quotes can always be used to create exactly one argument, regardless of contents inside.
* ENH: Added reference to Copyright.txt. Removed old reference to ITK ↵Brad King2002-10-231-5/+5
| | | | copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
* expand ; argsBill Hoffman2002-04-051-3/+5
|
* ENH: add enable language support for PROJECT command, this means that a C ↵Bill Hoffman2002-04-021-1/+12
| | | | only project can be built with cmake, even without a cxx compiler
* make sure ; expansion is done in all commandsBill Hoffman2002-03-291-1/+1
|
* ENH:Updated copyrightWill Schroeder2002-01-211-29/+5
|
* Add PROJECT_NAME to the set of definitionsSebastien Barre2001-10-171-0/+2
|
* ENH: change InitialPass to take a const reference to the argument string, to ↵Bill Hoffman2001-09-201-1/+1
| | | | avoid changes to the file cache
* ENH: big change, only allow commands access to the cache via the cmMakefile ↵Bill Hoffman2001-08-081-12/+6
| | | | class and GetDefinition, also the cmMakefile is the only way for commands to add to the cache. Also, some changes to configure.in that check for for scoping
* ENH: rename Invoke to InitialPassBill Hoffman2001-06-061-1/+1
|
* added PROJECT_SOURCE_DIRKen Martin2001-05-231-0/+8
|
* ENH: unify make process on unixBill Hoffman2001-05-161-2/+2
|
* now adds src and bin dir into cacheKen Martin2001-05-081-0/+8
|
* ENH:New copyrightWill Schroeder2001-04-271-3/+28
|
* some cleanup and fixesKen Martin2001-02-151-0/+11
|
* ENH:Reworked CMake for consistencyWill Schroeder2001-01-181-0/+29