summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* COMP: fix warning about unused parameterAlexander Neundorf2007-06-281-1/+1
| | | | 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: use CMAKE_SYSTEM instead of CMAKE_SYSTEM_NAME, sinceAlexander Neundorf2007-06-261-2/+2
| | | | | | | CMAKE_SYSTEM_NAME may already have been set when crosscompiling Alex
* COMP: fix broken tests for nowAlexander Neundorf2007-06-261-3/+3
| | | | Alex
* ENH: check for CMAKE_HOST_SYSTEM_NAME to decide whether to loadAlexander Neundorf2007-06-261-2/+2
| | | | | | | | | CMakeDetermineSystem.cmake, since CMAKE_SYSTEM_NAME might already be preset when using cmake for cross compiling use type STRING instead of FILEPATH since otherwise a strange filename was generated Alex
* ENH: add INSTALL(EXPORT ...) mode and INSTALL( TARGETS ... EXPORT <set> ) ,Alexander Neundorf2007-06-191-2/+40
| | | | | | tests still have to be added Alex
* ENH: Merging changes from branch CMake-SourceFile2-b between tagsBrad King2007-06-181-23/+17
| | | | | | | | | | | | | | | | | | | | | | | | 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-0/+4
| | | | Alex
* COMP: remove warning about unused variableAlexander Neundorf2007-06-121-1/+1
| | | | Alex
* STYLE: add a comment about SetLanguageEnabled()Alexander Neundorf2007-06-111-0/+7
| | | | | | -add a Generic.cmake for target platforms without operating system Alex
* ENH: split cmGlobalGenerator::SetLanguageEnabled() in two parts, where theAlexander Neundorf2007-06-111-13/+38
| | | | | | | | second part copies the values from the cmake variables into internal maps. So this can now be done after the compiler-specific information has been loaded, which can now overwrite more settings. Alex
* STYLE: determineLanguageCalled removed, now the conditional code is directlyAlexander Neundorf2007-06-111-8/+4
| | | | | | called in the only place where it could be set to true Alex
* ENH: add cmExternalMakefileProjectGenerator, which should make it easier toAlexander Neundorf2007-06-081-146/+171
| | | | | | | | | write generators for IDE projects, which use already existing makefiles (current the kdevelop generator) -first stept of the export interface, iniitial export() command -more replacements for the FIND_XXX docs Alex
* BUG: fix #5137, now with the modified CMakeDetermineSystem.cmake theAlexander Neundorf2007-06-071-1/+1
| | | | | | | CMAKE_HOST_SYSTEM_xxx variables have to be preset, not the CMAKE_SYSTEM_xxx ones Alex
* BUG: fix crash, bug 5121Bill Hoffman2007-06-011-1/+1
|
* BUG: Need to create global targets before AddHelperCommands is called. We ↵Brad King2007-05-251-13/+13
| | | | should investigate creating global targets at the beginning of the configure step even if their commands are not populated or if they will not actually be generated later.
* ENH: add the IMPORT keyword to ADD_EXECUTABLE(), which generates anAlexander Neundorf2007-05-221-12/+35
| | | | | | | | | | "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
* ENH: add install/strip target for makefile generators if strip was foundAlexander Neundorf2007-05-181-2/+21
| | | | Alex
* BUG: fix problem for non-C/CXX languages with Visual Studio, theAlexander Neundorf2007-05-091-13/+16
| | | | | | | dependencies for the custom commands added for java were not handled correctly. Needs more work. Alex
* ENH: now target names can be used in add_custom_command() andAlexander Neundorf2007-05-091-4/+14
| | | | | | | | | | 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
* ENH: fix seg fault in ccmake when hitting configure twiceBill Hoffman2007-04-241-2/+4
|
* ENH: some code consolidation and cleanupKen Martin2007-04-121-25/+81
|
* ENH: add project to target map, not used yet, but createdBill Hoffman2007-03-131-0/+110
|
* ENH: some code cleanupKen Martin2007-03-121-3/+3
|
* ENH: Moved ConvertToRelativePath from cmGlobalGenerator to cmLocalGenerator. ↵Brad King2007-03-071-160/+0
| | | | This is in preparation for setting up each local generator to have its own RelativePathTopSource and RelativePathTopBinary based on its ancestor directories.
* BUG: Removed legacy SetupTests method that was causing RUN_TESTS to test twice.Brad King2007-03-051-77/+0
|
* ENH: get rid of some extra erase callsBill Hoffman2007-02-211-3/+0
|
* BUG: fixes so that --build-and-test will honor timeoutsKen Martin2007-01-301-5/+7
|
* ENH: make properties a bit more formal with documentation and chainingKen Martin2006-12-071-0/+1
|
* ENH: unify version stuff, get rid of it out of cmake and cmMakefile and only ↵Bill Hoffman2006-11-291-2/+3
| | | | use cmVersion
* ENH: remove warningBill Hoffman2006-11-101-2/+2
|
* BUG: fix for broken borland compilerBill Hoffman2006-11-101-2/+3
|
* ENH: commit fix for putting everything in the build on vsBill Hoffman2006-11-091-0/+23
|
* ENH: Cleanup of install component list. There was already the list in the ↵Andy Cedilnik2006-10-311-3/+1
| | | | global generator. Use that one
* ENH: Add support for displaying the list of componentsAndy Cedilnik2006-10-301-3/+38
|
* BUG: Use variable instead of retrieving again. Fixes bug: Bug #3476Andy Cedilnik2006-10-121-1/+1
|
* BUG: fix for bug #3517 seg fault with enable language before project commandBill Hoffman2006-10-041-1/+1
|
* ENH: fix dashbaord error do not exclude root project from itself.Bill Hoffman2006-10-031-0/+4
|
* BUG: fix for bug#3714 execlude_from_all not working on vsBill Hoffman2006-10-031-1/+1
|
* ENH: Added SYMBOLIC source file property to mark custom command outputs that ↵Brad King2006-10-021-0/+3
| | | | 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.
* ENH: Cleaned up signature of cmMakefile::AddUtilityCommand. It is not valid ↵Brad King2006-09-281-2/+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.
* STYLE: Fixed line-too-long warning.Brad King2006-09-011-1/+2
|
* ENH: Do not generate install target unless some INSTALL or INSTALL_* ↵Brad King2006-08-311-52/+63
| | | | commands have been used. This addresses bug#2827.
* ENH: Adding install/local global target for Makefile generators. This runs ↵Brad King2006-08-291-0/+14
| | | | installation only in the current directory and not subdirectories.
* BUG: Make sure targets of type GLOBAL_TARGET have a makefile set.Brad King2006-08-261-2/+3
|
* BUG: Delay relative path configuration until as late as possible to make ↵Brad King2006-06-191-3/+10
| | | | sure the source/binary dir are set. This is a work-around for lack of a more structured way of creating the global generator.
* ENH: Added generation of link rules into script files executed by a cmake -E ↵Brad King2006-06-151-0/+3
| | | | command in order to support longer link lines. This is needed only on platforms without response file support and that may have weak shells.
* ENH: centralized locaiton of CMakeFiles settingKen Martin2006-06-141-2/+2
|
* BUG: cmGlobalGenerator::Build should not always use the /fast target name ↵Brad King2006-06-011-5/+5
| | | | because dependency checking is often required. It now takes an argument specifying whether to use the /fast target name, and the argument is currently only true for try-compiles.
* BUG: Updated Makefile dependency scanning to provide a full local generator ↵Brad King2006-05-251-2/+9
| | | | to the dependency scanner to do proper path conversions. This allows the rules written into the depend.make files to use the same relative path conversion as those written into the build.make files. Several previous changes added more and more information for use by the dependency scanner and it was converging to having the full local generator anyway.