summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* BUG: also put a variable into the cache when defined using -D if no type isAlexander Neundorf2007-06-012-1/+53
| | | | | | | given, then STRING is used. Also add command line option -U as suggested for undefining cache variables. This fixes #4896 and #4264. Alex
* ENH: improve TRY_RUN() for crosscompiling: instead of just failing, it nowAlexander Neundorf2007-06-012-54/+288
| | | | | | | | | | | | | | | creates two cache variables, one for the RUN_RESULT, one for the RUN_OUTPUT (if required), which can be set or preset by the user. It has now also two new arguments: RUN_OUTPUT_VARIABLE and COMPILE_OUTPUT_VARIABLE (the old OUTPUT_VARIABLE merges both), so if only COMPILE_OUTPUT_VARIABLE is used the run time output of the TRY_RUN is unused and the user doesn't have to care about the output when crosscompiling. This is now used in FindThreads.cmake, CheckC/CXXSourceRuns.cmake and TestBigEndian.cmake, which used the output only for the logfile (compile output is still there). Test/TryCompile/ now also tests the behaviour of OUTPUT_VARIABLE, RUN_OUTPUT_VARIABLE and COMPILE_OUTPUT_VARIABLE. Alex
* ENH: also handle comments for variables which contain newlinesAlexander Neundorf2007-06-011-17/+20
| | | | Alex
* BUG: fix crash, bug 5121Bill Hoffman2007-06-011-1/+1
|
* STYLE: Nightly Version updateAndy Cedilnik2007-06-011-1/+1
|
* ENH: if get_target_property() doesn't find a target with the given name, itAlexander Neundorf2007-05-311-3/+3
| | | | | | | returns now "<NAME_OF_VAR>-NOTFOUND" instead of just "NOTFOUND", which can help in finding problems Alex
* STYLE: Nightly Version updateAndy Cedilnik2007-05-301-1/+1
|
* COMP: less warnings with msvc8Alexander Neundorf2007-05-291-1/+1
| | | | Alex
* STYLE: Nightly Version updateAndy Cedilnik2007-05-291-1/+1
|
* BUG: Finished previous fix.Brad King2007-05-281-1/+1
|
* COMP: Fixed shadowed local warning.Brad King2007-05-281-3/+3
|
* ENH: Removed unused methods that should never be used anyway.Brad King2007-05-281-3/+0
|
* STYLE: Fixed comment for Generate() method.Brad King2007-05-281-8/+1
|
* ENH: Moved link library related code from GenerateSourceFilesFromSourceLists ↵Brad King2007-05-281-8/+13
| | | | to AnalyzeLibDependencies to make the former do no more than what its name says.
* ENH: Removed "Used" mark from custom commands. It is no longer needed or ↵Brad King2007-05-283-18/+0
| | | | checked by any generators.
* ENH: Remove unused build rules from Xcode. This change was made in the VS ↵Brad King2007-05-281-52/+4
| | | | generators on 2006-03-23 and should have been made for the Xcode generator too. Also commented out some debug print statements.
* COMP: Fix build on mac after change to GetSourceFiles signature.Brad King2007-05-281-1/+1
|
* COMP: Fix build of XCode generator after change to GetSourceFiles signature.Brad King2007-05-281-7/+7
|
* STYLE: Nightly Version updateAndy Cedilnik2007-05-281-1/+1
|
* COMP: Fix build for windows-only generators after change to GetSourceFiles ↵Brad King2007-05-283-8/+8
| | | | signature.
* ENH: Made cmTarget::GetSourceFiles method return reference to const so ↵Brad King2007-05-284-7/+9
| | | | addition of cmSourceFile pointers must be done with an access method in cmTarget.
* ENH: Made cmSourceFile::GetDepends return reference to const so dependencies ↵Brad King2007-05-285-9/+9
| | | | can be added only by an access method in cmSourceFile.
* ENH: Made cmTarget::GetSourceLists return a reference to const so that all ↵Brad King2007-05-283-6/+11
| | | | additions of sources must go through access methods in cmTarget.
* COMP: fix warning on MSVC 8: conversion from 'size_t' to 'unsigned int', ↵Alexander Neundorf2007-05-281-1/+1
| | | | | | possible loss of data Alex
* STYLE: Nightly Version updateAndy Cedilnik2007-05-271-1/+1
|
* ENH: @ must be escaped in xcode projectsBill Hoffman2007-05-271-1/+1
|
* STYLE: Nightly Version updateAndy Cedilnik2007-05-271-1/+1
|
* STYLE: Nightly Version updateAndy Cedilnik2007-05-261-1/+1
|
* ENH: add option to FILE(STRINGS NO_HEX_CONVERSION) to disable automaticAlexander Neundorf2007-05-252-10/+78
| | | | | | | | | | | | | | | | | | | conversion of hex and srec files to binary. Without this automatic conversion, everywhere where a compiled file is parsed for strings the a file(HEX2BIN somefile binfile) command has to be added otherwise it will not work for these compilers. I tried this with DetermineCompiler and CheckTypeSize and nobody will do this except the users who work with such compilers. For them it will break if they don't add this conversion command in all these places. If FILE(STRINGS) is used with a text file, it will in most cases still work as expected, since it will only convert hex and srec files. If a user actually wants to get text out of hex files, he knows what he's doing and will see the hint in the documentation. Anyway, it should work without having to create a temporary file, will work on this later. Alex
* COMP: less warnings (signed vs. unsigned)Alexander Neundorf2007-05-251-2/+2
| | | | Alex
* 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: make the compiler id detection work, even if the output file name ofAlexander Neundorf2007-05-255-4/+315
| | | | | | | the compiler is completely unknown and even if it produces intel hex or motorola s-record files, with test Alex
* BUG: remove debug outputAlexander Neundorf2007-05-251-2/+0
| | | | Alex
* BUG: Fix FILES mode after recent changes.Brad King2007-05-252-0/+8
|
* BUG: Fixed INSTALL_FILES and INSTALL_PROGRAMS commands to install under the ↵Brad King2007-05-252-2/+14
| | | | prefix like they did before the recent changes.
* STYLE: Nightly Version updateAndy Cedilnik2007-05-251-1/+1
|
* ENH: add copy header stuffBill Hoffman2007-05-242-2/+70
|
* STYLE: remove debug output, fix indentationAlexander Neundorf2007-05-241-4/+0
| | | | | | | the tests run again successfully, but since CheckTypeSize will switch to a TRY_COMPILE soon I will look at it again after this change Alex
* COMP: try to fix the test failures on dash2Alexander Neundorf2007-05-241-0/+6
| | | | Alex
* ENH: add COPY_FILE argument to TRY_COMPILE, so the compiled executable canAlexander Neundorf2007-05-243-7/+40
| | | | | | be used e.g. for getting strings out of it. Alex
* ENH: add two simple tests for TRY_RUN()Alexander Neundorf2007-05-247-443/+497
| | | | | | | | STYLE: create a new base class cmCoreTryCompile, from which cmTryCompileCommand and cmTryRunCommand are derived, so there are no public static functions with lots of arguments anymore Alex
* ENH: move output file search to cmTryCompileCommand.cxx, so it can be usedAlexander Neundorf2007-05-243-126/+128
| | | | | | there too... many public static functions with lots of arguments... :-/ Alex
* BUG: don't use non-imported target when cross compiling as commands in ↵Alexander Neundorf2007-05-244-7/+9
| | | | | | | | custom commands STYLE: remove now invalid comments, use this-> Alex
* STYLE: use "items" instead od "item"Alexander Neundorf2007-05-241-2/+2
| | | | Alex
* STYLE: Nightly Version updateAndy Cedilnik2007-05-241-1/+1
|
* ENH: Removed unused code now that INSTALL_FILES and INSTALL_PROGRAMS are not ↵Brad King2007-05-231-1/+0
| | | | targets.
* ENH: Removed unused code now that INSTALL_FILES and INSTALL_PROGRAMS are not ↵Brad King2007-05-231-28/+0
| | | | targets.
* BUG: Need to use GetRealDependency for custom command file-level dependencies.Brad King2007-05-231-18/+5
|
* ENH: Fixed INSTALL_FILES and INSTALL_PROGRAMS commands to not create ↵Brad King2007-05-2314-95/+64
| | | | 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.
* BUG: Target names in the COMMAND part of a custom command should not create ↵Brad King2007-05-233-41/+52
| | | | a file-level dependency that forces the command to rerun when the executable target rebuilds, but the target-level dependency should still be created. Target names in a DEPENDS should do both a target-level and file-level dependency. Updated the BuildDepends test to check that this works.