summaryrefslogtreecommitdiffstats
path: root/Tests/ExternalOBJ
Commit message (Collapse)AuthorAgeFilesLines
* Remove CMake-language block-end command argumentsKitware Robot2012-08-132-8/+8
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Convert CMake-language commands to lower caseKitware Robot2012-08-132-36/+36
| | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
* VS10: Fix external objects generated outside target (#13047)Brad King2012-03-202-0/+5
| | | | | | | | | | | | | Commit 9a6ff950 (Fix for bug where VS2010 did not use .obj files, 2011-04-01) assumed that if an external object is GENERATED that it is the output of a custom command in the current target. If it is generated by another target then VS will not automatically include the external object in the current target. This bug was preserved by the refactoring in the parent commit. Instead use <None> for external objects generated by a custom command in the current target and <Object> for all other external objects. Update the ExternalOBJ test to cover this case.
* Fix for bug where VS2010 did not use .obj files as part of the build.Bill Hoffman2011-04-011-0/+6
| | | | | | | For VS2010 if a precompiled .obj file was the output of a custom commad, it was used as part of the build. If it was not, then VS did not use it as part of the build. This commit updates the test to check for this issue, and fixes the problem. This fixes bugs #0011891 and
* BUG: make test more robustKen Martin2008-03-251-2/+1
|
* BUG: add debugging into to check out a problemKen Martin2008-03-251-0/+2
|
* ENH: preclean some warningsKen Martin2008-03-252-0/+2
|
* BUG: Do not remove the source file extension when computing an object file ↵Brad King2007-12-291-17/+6
| | | | name. This addresses bug #6169. If CMAKE_BACKWARDS_COMPATIBILITY is 2.4 or lower maintain the old behavior so that existing build trees and old project releases are not affected.
* ENH: some cleanup, condensing some tests, removing arguments that were not ↵Ken Martin2007-05-181-1/+1
| | | | needed but rather were cut and paste copies etc
* ENH: add support for universal binariesBill Hoffman2006-03-242-0/+19
|
* BUG: Fixed support for external object files built by custom commands. Also ↵Brad King2005-11-171-1/+10
| | | | added a test to keep it working.
* BUG: We still want to print out the location where the object was found if ↵Brad King2005-02-181-5/+5
| | | | it was found by the glob.
* ENH: all tests are passing for XCodeBill Hoffman2005-02-181-1/+5
|
* ENH: Adding test for external object file feature.Brad King2005-02-045-0/+57