summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Add a dependency from the PACKAGE target to the ALL target so that ↵David Cole2007-12-311-0/+9
| | | | "make package" will first (essentially) do a "make all"... A similar chunk of code already existed for the make install target. This change makes it easy to build an installer package as part of a dashboard run simply by setting CTEST_BUILD_TARGET to "package".
* COMP: Fix build on VS6.Brad King2007-12-241-1/+5
|
* ENH: Moved global inter-target dependency analysis and cycle-prevention code ↵Brad King2007-12-231-54/+123
| | | | up from cmGlobalUnixMakefileGenerator3 to cmGlobalGenerator. Simplified cmGlobalUnixMakefileGenerator3 to use it. Later other generators may be modified to use it also.
* ENH: Add a depends check step to custom targets. Add support for the ↵Brad King2007-12-211-7/+0
| | | | IMPLICIT_DEPENDS feature of custom commands when building in custom targets. Convert multiple-output pair checks to be per-target instead of global.
* STYLE: Fixed line-too-long. COMP: Fixed warnings about lossy conversions.Brad King2007-11-201-1/+3
|
* ENH: Add ability to call Visual Studio macros from CMake. Add a CMake Visual ↵David Cole2007-11-161-0/+18
| | | | Studio macro to reload a solution file automatically if CMake makes changes to .sln files or .vcproj files. Add code to call the macro automatically for any running Visual Studio instances with the .sln file open at the end of the Visual Studio Generate call. Only call the macro if some .sln or .vcproj file changed during Generate. Also, add handling for REG_EXPAND_SZ type to SystemTools::ReadRegistryValue - returned string has environment variable references expanded.
* ENH: add f stuff to avoid warningsBill Hoffman2007-11-131-3/+3
|
* ENH: add guess progress for first time configuring a project.Bill Hoffman2007-11-131-0/+32
|
* ENH: change to make the documentation class more generic, about halfway ↵Ken Martin2007-10-221-3/+3
| | | | there, also provides secitons for Variables now
* ENH: Finish up the Framework creation code restructuring. Frameworks build ↵David Cole2007-10-101-0/+22
| | | | and install now. More work needed on the packaging step. See Tests/Framework for example use.
* STYLE: the temporary variable is not necessaryAlexander Neundorf2007-08-311-3/+1
| | | | Alex
* ENH: add support for Fortran to the KDevelop generatorAlexander Neundorf2007-08-311-2/+4
| | | | | | -minor optimization for GetLanguageEnabled() Alex
* ENH: add install files generators for targets which have PUBLIC_HEADER,Alexander Neundorf2007-08-271-2/+3
| | | | | | | PRIVATE_HEADER or RESOURCE_FILES property, use the destination for the public headers as include directory property for exported libraries Alex
* ENH: Handle FRAMEWORK and BUNDLE arguments in the INSTALL TARGETS command. ↵David Cole2007-08-221-2/+5
| | | | Work in progress... More to come.
* COMP: include windows.h first, as it is done in the other source filesAlexander Neundorf2007-08-171-6/+4
| | | | Alex
* COMP: quick windows name mangling fix (otherwise the compiler complains ↵Alexander Neundorf2007-08-161-0/+2
| | | | | | about cmMakefile::GetCurrentDirectoryA(), which doesn't exist) Alex
* ENH: move the code for the NOTFOUND checking into its own function, soAlexander Neundorf2007-08-161-60/+88
| | | | | | | | | | Configure() gets easier to overview -improve the error message, now it also says in which directories and for which targets the missing variables are used -minor speedup: the include directories don't have to be checked per target, per directory is enough Alex
* STYLE: I think the comment (and the book) were wrong about the naming ofAlexander Neundorf2007-08-071-1/+1
| | | | | | this file Alex
* BUG: Target exclusion-from-all tests should always use the root local ↵Brad King2007-08-031-91/+59
| | | | generator associated with the all target being tested.
* STYLE: fix line lengthsAlexander Neundorf2007-07-201-5/+7
| | | | Alex
* ENH: produce a lot more output when running with --debug-outputAlexander Neundorf2007-07-171-0/+3
| | | | | | -try to fix build error on HPUX Alex
* ENH: second try for handling the linker language with integer priority ↵Alexander Neundorf2007-07-121-11/+31
| | | | | | values (returning a pointer to a string on the stack is no good idea) Alex
* COMP: revert last commit for now, broke Visual StudioAlexander Neundorf2007-07-111-31/+11
| | | | Alex
* ENH: CMAKE_<LANG>_LINKER_PREFERENCE is now an integer priority, not aAlexander Neundorf2007-07-111-11/+31
| | | | | | | | | | | | | | | | | | | two-step priority (None or Prefered) Current order: ASM 0, C 10, Fortran 20, CXX 30, Java 40 This is the same order as automake choses: http://www.gnu.org/software/automake/manual/html_node/How-the-Linker-is-Chosen.html This change should be backward compatible: if there is a project using fortran and CXX, they had to set the LINKER_LANGUAGE explicitely, otherwise cmake complained (but still generated the project files). Explicitely setting the linker language still overrides automatic detection. If somebody has a custom language for cmake and the PREFERENCE starts with "P", its changed to 100, which gives it preference over all other languages (except the other custom languages which have also "Prefered"). "None" is converted to 0. Alex
* 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
|