summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'add_preprocessor_def_vs2010_resources'Brad King2011-01-041-1/+4
|\ | | | | | | | | | | | | 8c7b19d Only run resource test for MSVC compilers. 753e208 Disable incremental testing for this test, it crashes vs9 linker. 16e7d4b Add flags to resource builds on vs 2010 with a test.
| * Add flags to resource builds on vs 2010 with a test.Bill Hoffman2010-12-211-1/+4
| |
* | KWSys Nightly Date StampKWSys Robot2011-01-041-1/+1
| |
* | KWSys: Remove useless include <sys/procfs.h> (#11648)Brad King2011-01-031-1/+0
| | | | | | | | | | | | The header was included only under "#ifdef __linux", but not all Linux distributions provide the header. SystemInformation uses no symbols from this header, so do not include it.
* | KWSys Nightly Date StampKWSys Robot2011-01-031-1/+1
| |
* | KWSys Nightly Date StampKWSys Robot2011-01-021-1/+1
| |
* | KWSys Nightly Date StampKWSys Robot2011-01-011-3/+3
| |
* | KWSys Nightly Date StampKWSys Robot2010-12-311-1/+1
| |
* | KWSys Nightly Date StampKWSys Robot2010-12-301-1/+1
| |
* | KWSys Nightly Date StampKWSys Robot2010-12-291-1/+1
| |
* | Merge topic 'FixCrashInEclipseGenerator'Brad King2010-12-281-1/+1
|\ \ | | | | | | | | | | | | d18c8d6 Fix crash in Eclipse generator with empty project (#11616)
| * | Fix crash in Eclipse generator with empty project (#11616)Alex Neundorf2010-12-211-1/+1
| | | | | | | | | | | | | | | | | | | | | If there was no language at all enabled, CMAKE_BUILD_TYPE was empty, which was not expected, and made the generator crash. Alex
* | | Merge topic 'dev/add_test-working-directory'Brad King2010-12-284-2/+31
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 667a90a Fix sentence break in add_test documentation 96309fc Make TestsWorkingDirectory test a C file a4a5e37 Use iostream to make Borland happy cfe53cd Fully specify the path to old-signature add_test 017d4e9 Group adding tests with its properties 561cc33 Only test the default cwd with Makefiles d87bae7 Simplify the _default_cwd derivation 992c74f Use --><-- markers to denote the path 5249551 Flip slashes around on Windows 0a014da Add ctype.h include for toupper() af12f83 Fix header includes for C++ and Visual Studio 5597aa2 Rename the project to match the test 9bf4165 Add tests for WORKING_DIRECTORY arg to add_test 42de5d0 Add WORKING_DIRECTORY argument to add_test 7679f9f Rename WorkingDirectory test d95f817 Add the WORKING_DIRECTORY property to tests
| * | | Fix sentence break in add_test documentationBrad King2010-12-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Commit 42de5d02 (Add WORKING_DIRECTORY argument to add_test, 2010-12-16) added a new sentence to a paragraph without separating it by " " from the previous sentence. Add the missing spaces.
| * | | Add WORKING_DIRECTORY argument to add_testBen Boeckel2010-12-162-0/+20
| | | |
| * | | Add the WORKING_DIRECTORY property to testsRolf Eike Beer2010-12-162-1/+10
| | | |
* | | | KWSys: Avoid passing string literal as char*Brad King2010-12-282-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | Pass the lpClass argument of RegCreateKeyEx as a real char[] instead of a string literal. At least one platform declares the argument as char* instead of "const char*".
* | | | KWSys Nightly Date StampKWSys Robot2010-12-281-1/+1
| | | |
* | | | KWSys Nightly Date StampKWSys Robot2010-12-271-1/+1
| | | |
* | | | KWSys Nightly Date StampKWSys Robot2010-12-261-1/+1
| | | |
* | | | KWSys Nightly Date StampKWSys Robot2010-12-251-1/+1
| | | |
* | | | KWSys Nightly Date StampKWSys Robot2010-12-241-1/+1
| | | |
* | | | KWSys Nightly Date StampKWSys Robot2010-12-231-1/+1
| | | |
* | | | KWSys Nightly Date StampKWSys Robot2010-12-221-1/+1
| |/ / |/| |
* | | Merge topic 'cygwin'Brad King2010-12-211-4/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 85c0a69 Cygwin: Do not define 'WIN32' (#10122) 62c6d2d Merge branch 'cmake_--system-information_min-version' into cygwin 72db20f Merge branch 'tests-if-CYGWIN' into cygwin 5adef16 Merge branch 'cygwin-module-prefix' into cygwin cbc3258 Merge branch 'try-compile-min-version' into cygwin
| * | | Cygwin: Do not define 'WIN32' (#10122)Brad King2010-12-171-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | One of Cygwin's goals is to build projects using the POSIX API with no Windows awareness. Many CMake-built projects have been written to test for UNIX and WIN32 but not CYGWIN. The preferred behavior under Cygwin in such projects is to take the UNIX path but not the WIN32 path. Unfortunately this change is BACKWARDS INCOMPATIBLE for Cygwin-aware CMake projects! Some projects that previously built under Cygwin and are Cygwin-aware when they test for WIN32 may now behave differently. Eventually these projects will need to be updated, but to help users build them in the meantime we print a warning about the change in behavior. Furthermore, one may set CMAKE_LEGACY_CYGWIN_WIN32 to request old behavior during the transition. Normally we avoid backwards incompatible changes, but we make an exception in this case for a few reasons: (1) This behavior is preferred by Cygwin's design goals. (2) A warning provides a clear path forward for everyone who may see incompatible behavior, and CMAKE_LEGACY_CYGWIN_WIN32 provides a compatibility option. The warning and compatibility option both disappear when the minimum required version of CMake in a project is sufficiently new, so this issue will simply go away over time as projects are updated to account for the change. (3) The fixes required to update projects are fairly insignificant. Furthermore, the Cygwin distribution has no releases itself so project versions that predate said fixes tend to be difficult to build anyway. (4) This change enables many CMake-built projects that did not previously build under Cygwin to work out-of-the-box. From bug #10122: "I have built over 120 different source packages with (my patched) CMake, including most of KDE4, and have found that NOT defining WIN32 on Cygwin is much more accurate." -- Yaakov Selkowitz A fully compatible change would require patches on top of these project releases for Cygwin even though they otherwise need not be aware of it. (5) Yaakov has been maintaining a fork of CMake with this change for the Cygwin Ports distribution. It works well in practice. By accepting the change in upstream CMake we avoid confusion between the versions. CMake itself builds without WIN32 defined on Cygwin. Simply disable CMAKE_LEGACY_CYGWIN_WIN32 explicitly in our own CMakeLists.txt file.
| * | | Merge branch 'try-compile-min-version' into cygwinBrad King2010-12-141-2/+3
| |\ \ \
* | \ \ \ Merge topic 'custom-command-generator-expressions'Brad King2010-12-2115-31/+128
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4499d50 Mark CustomCommand test perconfig.out as SYMBOLIC f0cdb60 Introduce "generator expression" syntax to custom commands (#11209) 4749e4c Record set of targets used in cmGeneratorExpression ef9e9de Optionally suppress errors in cmGeneratorExpression 45e1953 Factor per-config sample targets out of 'Testing' test 4091bca Factor generator expression docs out of add_test bfb7288 Record backtrace in cmCustomCommand
| * | | | | Introduce "generator expression" syntax to custom commands (#11209)Brad King2010-12-154-5/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evaluate in the COMMAND arguments of custom commands the generator expression syntax introduced in commit d2e1f2b4 (Introduce "generator expressions" to add_test, 2009-08-11). These expressions have a syntax like $<TARGET_FILE:mytarget> and are evaluated during build system generation. This syntax allows per-configuration target output files to be referenced in custom command lines.
| * | | | | Record set of targets used in cmGeneratorExpressionBrad King2010-12-152-0/+7
| | | | | |
| * | | | | Optionally suppress errors in cmGeneratorExpressionBrad King2010-12-152-4/+7
| | | | | |
| * | | | | Factor generator expression docs out of add_testBrad King2010-12-153-13/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This documentation may be reused wherever generator expressions are supported.
| * | | | | Record backtrace in cmCustomCommandBrad King2010-12-156-9/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be used to report custom command errors to the user with a backtrace pointing at the add_custom_command or add_custom_target call.
* | | | | | Merge topic 'custom-command-refactor'Brad King2010-12-2112-144/+136
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 53ea8b3 Merge branch 'imported-target-dependencies' into custom-command-refactor 1a29cca Remove cmLocalGenerator::GetRealLocation 542b517 Factor out common custom command generator 6fe5b3d Simplify VS generator ConstructScript interface
| * | | | | Merge branch 'imported-target-dependencies' into custom-command-refactorBrad King2010-12-081-4/+4
| |\ \ \ \ \
| * | | | | | Remove cmLocalGenerator::GetRealLocationBrad King2010-12-083-24/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The cmCustomCommandGenerator::GetCommand method completely replaces the purpose of this method. Re-implement GetRealLocation inline at the only remaining call site and remove it.
| * | | | | | Factor out common custom command generatorBrad King2010-12-086-76/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Makefile, VS, and Xcode generators previously duplicated some custom command line generation code. Factor this out into a separate class cmCustomCommandGenerator shared by all generators.
| * | | | | | Simplify VS generator ConstructScript interfaceBrad King2010-12-085-47/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pass to cmLocalVisualStudioGenerator::ConstructScript a cmCustomCommand instance instead of extracting arguments at all call sites.
* | | | | | | Merge topic 'ctest-git-send-committer'Brad King2010-12-213-22/+43
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5992526 CTest: Factor out duplicate Git author/committer code 307b8a6 CTest git update should pass the committer as well as the author
| * | | | | | | CTest: Factor out duplicate Git author/committer codeBrad King2010-12-201-44/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Factor out date/time format code into FormatDateTime function instead of duplicating it.
| * | | | | | | CTest git update should pass the committer as well as the authorZach Mullen2010-12-203-0/+37
| | | | | | | |
* | | | | | | | Merge topic 'fix_docs_for_language_property'Brad King2010-12-211-1/+3
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | afbfb7a Add more documentation for LANGUAGE property.
| * | | | | | | | Add more documentation for LANGUAGE property.Bill Hoffman2010-12-201-1/+3
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Make it clear that if you set the language on a file, it will be compiled.
* | | | | | | | Merge topic 'vs2010_header_only_fix'Brad King2010-12-211-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f578381 Fix vs2010 project generation error when HEADER_FILE_ONLY is set.
| * | | | | | | | Fix vs2010 project generation error when HEADER_FILE_ONLY is set.Bill Hoffman2010-12-201-1/+1
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In vs2010 a bad project file could be generated if a .c or .cxx file was marked with HEADER_FILE_ONLY, if it was in a library that contained both c and c++ code. This fixes the error in the code, and adds a test for this case.
* | | | | | | | Merge topic 'vs10-sln-msbuild-workaround'Brad King2010-12-213-10/+18
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e1442ac Avoid msbuild ".\" idiosyncrasy that builds multiple configs (#11594) 42a2e9d Revert "Avoid msbuild idiosyncrasy that builds multiple configs" (#11633) 2c2eee6 Revert "Remove unused parameter "root" in some VS generator methods"
| * | | | | | | | Avoid msbuild ".\" idiosyncrasy that builds multiple configs (#11594)Brad King2010-12-202-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a .sln file refers to a project file with a leading ".\", as in ".\foo.vcxproj" instead of just "foo.vcxproj" or a full path then msbuild behaves strangely. Whenever target foo is built as a dependency of another target, msbuild brings multiple configurations up to date instead of just the requested configuration! Avoid a leading ".\" in project file references to avoid this behavior. This alternative fix to that attempted by commit 57e71533 (Avoid msbuild idiosyncrasy that builds multiple configs, 2010-12-10) avoids use of full path project file references which vcbuild does not support.
| * | | | | | | | Revert "Avoid msbuild idiosyncrasy that builds multiple configs" (#11633)Brad King2010-12-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 57e71533f45601275afd7787d763664f9e6b9536. While "msbuild" can handle full paths to project files in solutions, the old "vcbuild" used for VS < 10 cannot. We will need another way to fix issue #11594.
| * | | | | | | | Revert "Remove unused parameter "root" in some VS generator methods"Brad King2010-12-203-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 10f01ae962feb68177f7bd698b01bbc18668920c.
* | | | | | | | | Merge topic 'always_enable_generate'Brad King2010-12-214-51/+146
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3f158c6 cmake-gui: always enable generate button.