Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | BUG: also put a variable into the cache when defined using -D if no type is | Alexander Neundorf | 2007-06-01 | 2 | -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 now | Alexander Neundorf | 2007-06-01 | 2 | -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 newlines | Alexander Neundorf | 2007-06-01 | 1 | -17/+20 |
| | | | | Alex | ||||
* | BUG: fix crash, bug 5121 | Bill Hoffman | 2007-06-01 | 1 | -1/+1 |
| | |||||
* | STYLE: Nightly Version update | Andy Cedilnik | 2007-06-01 | 1 | -1/+1 |
| | |||||
* | ENH: if get_target_property() doesn't find a target with the given name, it | Alexander Neundorf | 2007-05-31 | 1 | -3/+3 |
| | | | | | | | returns now "<NAME_OF_VAR>-NOTFOUND" instead of just "NOTFOUND", which can help in finding problems Alex | ||||
* | STYLE: Nightly Version update | Andy Cedilnik | 2007-05-30 | 1 | -1/+1 |
| | |||||
* | COMP: less warnings with msvc8 | Alexander Neundorf | 2007-05-29 | 1 | -1/+1 |
| | | | | Alex | ||||
* | STYLE: Nightly Version update | Andy Cedilnik | 2007-05-29 | 1 | -1/+1 |
| | |||||
* | BUG: Finished previous fix. | Brad King | 2007-05-28 | 1 | -1/+1 |
| | |||||
* | COMP: Fixed shadowed local warning. | Brad King | 2007-05-28 | 1 | -3/+3 |
| | |||||
* | ENH: Removed unused methods that should never be used anyway. | Brad King | 2007-05-28 | 1 | -3/+0 |
| | |||||
* | STYLE: Fixed comment for Generate() method. | Brad King | 2007-05-28 | 1 | -8/+1 |
| | |||||
* | ENH: Moved link library related code from GenerateSourceFilesFromSourceLists ↵ | Brad King | 2007-05-28 | 1 | -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 King | 2007-05-28 | 3 | -18/+0 |
| | | | | checked by any generators. | ||||
* | ENH: Remove unused build rules from Xcode. This change was made in the VS ↵ | Brad King | 2007-05-28 | 1 | -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 King | 2007-05-28 | 1 | -1/+1 |
| | |||||
* | COMP: Fix build of XCode generator after change to GetSourceFiles signature. | Brad King | 2007-05-28 | 1 | -7/+7 |
| | |||||
* | STYLE: Nightly Version update | Andy Cedilnik | 2007-05-28 | 1 | -1/+1 |
| | |||||
* | COMP: Fix build for windows-only generators after change to GetSourceFiles ↵ | Brad King | 2007-05-28 | 3 | -8/+8 |
| | | | | signature. | ||||
* | ENH: Made cmTarget::GetSourceFiles method return reference to const so ↵ | Brad King | 2007-05-28 | 4 | -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 King | 2007-05-28 | 5 | -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 King | 2007-05-28 | 3 | -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 Neundorf | 2007-05-28 | 1 | -1/+1 |
| | | | | | | possible loss of data Alex | ||||
* | STYLE: Nightly Version update | Andy Cedilnik | 2007-05-27 | 1 | -1/+1 |
| | |||||
* | ENH: @ must be escaped in xcode projects | Bill Hoffman | 2007-05-27 | 1 | -1/+1 |
| | |||||
* | STYLE: Nightly Version update | Andy Cedilnik | 2007-05-27 | 1 | -1/+1 |
| | |||||
* | STYLE: Nightly Version update | Andy Cedilnik | 2007-05-26 | 1 | -1/+1 |
| | |||||
* | ENH: add option to FILE(STRINGS NO_HEX_CONVERSION) to disable automatic | Alexander Neundorf | 2007-05-25 | 2 | -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 Neundorf | 2007-05-25 | 1 | -2/+2 |
| | | | | Alex | ||||
* | BUG: Need to create global targets before AddHelperCommands is called. We ↵ | Brad King | 2007-05-25 | 1 | -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 of | Alexander Neundorf | 2007-05-25 | 5 | -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 output | Alexander Neundorf | 2007-05-25 | 1 | -2/+0 |
| | | | | Alex | ||||
* | BUG: Fix FILES mode after recent changes. | Brad King | 2007-05-25 | 2 | -0/+8 |
| | |||||
* | BUG: Fixed INSTALL_FILES and INSTALL_PROGRAMS commands to install under the ↵ | Brad King | 2007-05-25 | 2 | -2/+14 |
| | | | | prefix like they did before the recent changes. | ||||
* | STYLE: Nightly Version update | Andy Cedilnik | 2007-05-25 | 1 | -1/+1 |
| | |||||
* | ENH: add copy header stuff | Bill Hoffman | 2007-05-24 | 2 | -2/+70 |
| | |||||
* | STYLE: remove debug output, fix indentation | Alexander Neundorf | 2007-05-24 | 1 | -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 dash2 | Alexander Neundorf | 2007-05-24 | 1 | -0/+6 |
| | | | | Alex | ||||
* | ENH: add COPY_FILE argument to TRY_COMPILE, so the compiled executable can | Alexander Neundorf | 2007-05-24 | 3 | -7/+40 |
| | | | | | | be used e.g. for getting strings out of it. Alex | ||||
* | ENH: add two simple tests for TRY_RUN() | Alexander Neundorf | 2007-05-24 | 7 | -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 used | Alexander Neundorf | 2007-05-24 | 3 | -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 Neundorf | 2007-05-24 | 4 | -7/+9 |
| | | | | | | | | custom commands STYLE: remove now invalid comments, use this-> Alex | ||||
* | STYLE: use "items" instead od "item" | Alexander Neundorf | 2007-05-24 | 1 | -2/+2 |
| | | | | Alex | ||||
* | STYLE: Nightly Version update | Andy Cedilnik | 2007-05-24 | 1 | -1/+1 |
| | |||||
* | ENH: Removed unused code now that INSTALL_FILES and INSTALL_PROGRAMS are not ↵ | Brad King | 2007-05-23 | 1 | -1/+0 |
| | | | | targets. | ||||
* | ENH: Removed unused code now that INSTALL_FILES and INSTALL_PROGRAMS are not ↵ | Brad King | 2007-05-23 | 1 | -28/+0 |
| | | | | targets. | ||||
* | BUG: Need to use GetRealDependency for custom command file-level dependencies. | Brad King | 2007-05-23 | 1 | -18/+5 |
| | |||||
* | ENH: Fixed INSTALL_FILES and INSTALL_PROGRAMS commands to not create ↵ | Brad King | 2007-05-23 | 14 | -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 King | 2007-05-23 | 3 | -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. |