Stephen Kelly
df4615e338
Add the COMPILER_HAS_DEPRECATED only if it has a declspec variant
...
_check_cxx_compiler_attribute does it in the alternative.
2011-08-12 00:23:00 +02:00
Stephen Kelly
78a6e1c122
Exclude the XL compiler from the hidden-visibility test.
2011-08-12 00:18:43 +02:00
Stephen Kelly
e1f7ee3de7
Test for compiler features, instead of for specific platforms.
2011-08-11 19:06:23 +02:00
Stephen Kelly
9554e1013e
Split the deprecated available check from setting macro values.
2011-08-11 18:17:12 +02:00
Stephen Kelly
1590d5fe4f
Don't export methods on already exported classes.
...
This is always a mistake.
2011-08-11 10:55:12 +02:00
Stephen Kelly
750b67c5a1
Don't use hidden visibility on non-mingw windows either.
2011-08-11 10:53:58 +02:00
Stephen Kelly
1f3be45048
Make sure the hidden visibility variables never get set on MINGW.
2011-08-11 10:39:51 +02:00
Stephen Kelly
399f415b15
Only set the deprecated attribute if hidden visibilty is enabled.
...
This is what is tested in the unit test. If it makes sense, another
option can be added later.
2011-08-11 10:28:50 +02:00
Stephen Kelly
1c6b41bee7
Remember to surround the other deprecated test in the Borland check.
2011-08-11 00:19:53 +02:00
Stephen Kelly
3f7e03643d
Export deprecated free methods too.
...
That way they can be linked to even after being deprecated.
2011-08-11 00:18:33 +02:00
Stephen Kelly
7fa559232e
Add some debug output to narrow down deprecation test issues
...
Particularly Borland and VS7.0 seem to still be failing.
2011-08-10 23:57:04 +02:00
Stephen Kelly
7924c1d6a8
Another attempt at fixing Borland.
...
Apparently it still needs to be exported, but only declspec(deprecated)
does not work.
2011-08-10 22:19:39 +02:00
Stephen Kelly
50460ea9de
Fix off-by-not in test for Borland.
2011-08-10 21:53:58 +02:00
Stephen Kelly
b4434591fb
Use the correct project name compiletest not compilefail
...
Should fix windows VS solution based builds.
2011-08-10 21:50:06 +02:00
Stephen Kelly
fc3772edc9
Another attempt to fix the tests on Borland.
2011-08-10 21:43:16 +02:00
Stephen Kelly
bab4a22036
Disable all export macros on Borland.
2011-08-10 21:28:42 +02:00
Stephen Kelly
cff9493598
Only set the COMPILER_HAS_HIDDEN_VISIBILITY if GCC >= 4.2
...
Hearsay has it that before that version it didn't work properly.
Hopefully this will fix more dashboard builds.
2011-08-10 21:14:46 +02:00
Stephen Kelly
af443b830b
Set the CMAKE_RUNTIME_OUTPUT_DIRECTORY for windows builds.
2011-08-10 21:01:42 +02:00
Stephen Kelly
61726f867e
Only run the failure tests with gcc >= 4.2
2011-08-10 15:17:01 +02:00
Stephen Kelly
002ddf253c
Fix typo and tests failing as a result.
2011-08-10 14:58:00 +02:00
Stephen Kelly
44430379b7
Fix tests with clang.
2011-08-10 13:43:48 +02:00
Stephen Kelly
ffaa127b19
Test expected no-op instead of aborting the build.
...
Aborting causes make clean to fail if the executable is not created.
2011-08-10 11:54:35 +02:00
Stephen Kelly
6aca0e257b
Short-circuit the tests on unsupported compilers.
2011-08-10 10:41:38 +02:00
Stephen Kelly
d123bce1eb
Add some debug output.
...
Hopefully this shows up in continuous test output.
2011-08-10 10:36:24 +02:00
Stephen Kelly
3574b75916
Simplify the compiler feature check
2011-08-10 10:36:23 +02:00
Stephen Kelly
c7a937b712
Simplify. We already know we have hidden visibility at this point.
2011-08-10 10:28:15 +02:00
Stephen Kelly
3b188c833b
Test for features, not specific compilers.
2011-08-10 10:26:16 +02:00
Stephen Kelly
4718233a37
Remove the fatal_warnings option which is no longer used.
2011-08-10 10:24:36 +02:00
Stephen Kelly
b19911ecab
Add missing licence header.
2011-08-09 19:03:45 +02:00
Stephen Kelly
706ed2b1b0
Add a newline at the end of the file.
...
Hopefully fix the test execution reported on CDash.
2011-08-09 15:02:48 +02:00
Stephen Kelly
8963716615
Add a newline at the end of the file.
...
Hopefully fix the test execution reported on CDash.
2011-08-09 00:18:00 +02:00
Stephen Kelly
def0a54e0a
Handle the case where the user changes the DEFINE_SYMBOL property.
...
This eases porting of KDE code.
2011-08-08 02:08:10 +02:00
Stephen Kelly
30880707c0
Add the GenerateExportMacro with unit tests.
...
Reviewed-by: Marcus D. Hanwell <marcus.hanwell@kitware.com>
2011-08-07 18:33:47 +02:00
KWSys Robot
955d5133ab
KWSys Nightly Date Stamp
2011-08-06 00:14:05 -04:00
KWSys Robot
ec4e4ce695
KWSys Nightly Date Stamp
2011-08-05 00:13:08 -04:00
Brad King
5f0eba49f2
KWSys: Avoid conversion warning in SystemTools::GetTime
...
Convert struct timeval members to double explicitly to avoid a GCC
warning with -Wconversion.
2011-08-04 08:30:05 -04:00
KWSys Robot
f31def8c62
KWSys Nightly Date Stamp
2011-08-04 00:10:14 -04:00
Brad King
74e1156bc2
KWSys: Simplify SystemTools::GetTime implementation ( #12261 )
...
We already use GetSystemTimeAsFileTime() and gettimeofday()
unconditionally on supported Windows and non-Windows platforms,
respectively. Remove outdated portability complexity.
2011-08-03 14:50:04 -04:00
KWSys Robot
14e54c4c44
KWSys Nightly Date Stamp
2011-08-03 00:14:04 -04:00
David Cole
80ef23d83f
Merge topic 'CodeBlocksIncludeDirsAndDefines'
...
e2e8c0a
Also put builtin include dirs into CodeBlocks project file
92c0dc5
Remove useless line of code
a5683f8
Patch by Campbell Barton: puts definitions into C::B project file
2011-08-02 15:11:58 -04:00
David Cole
6a11727154
Merge topic 'FindGIFAndFreetypeCleanupAndEnhancements'
...
81a70c6
Add basic version check for giflib
2462f65
FindGif: add giflib4 as one more name for the library under Windows
f97620e
FindGIF/FindFreetype.cmake: remove standard search paths from find-calls
7c38523
Strip trailing whitespace
2011-08-02 15:11:53 -04:00
David Cole
737be8f6f6
Merge topic 'FindPostgresqlImprovements'
...
825c457
FindPostgreSQL: fix PATH_SUFFIXES, better output for FPHSA
e159bb5
Mark the results from find() as advanced
da1bdaf
Use FPHSA(), remove unnecessary stuff and don't recommend link_directories()
217d068
More PATH_SUFFIXES for finding Postgresql and also search catalog/pg_type.h
2011-08-02 15:11:45 -04:00
David Cole
bd54141d5d
Merge topic 'fix-11866-add-watcom-sys-libs'
...
ff59716
Watcom: Use correct args for execute_process call (#11866 )
80769cd
Add Watcom support to InstallRequiredSystemLibraries (#11866 )
2011-08-02 15:11:35 -04:00
David Cole
11ca173731
Merge topic 'doc-WIN32-cygwin'
...
1f641de
Documentation: WIN32 not defined on Cygwin (#12334 )
2011-08-02 15:11:20 -04:00
David Cole
e9a6d86d91
Merge topic 'ExcludeCMakesFilesFromCodeBlocksProject'
...
f32f6f0
Don't put files from CMAKE_ROOT into CodeBlocks projects (#12110 )
2011-08-02 15:11:01 -04:00
David Cole
ab24bdeecc
Merge topic 'cpack-nsis-multi-installs'
...
e6d2bcf
CPack/NSIS: Fix reinstall and multiple install issues when using components.
2011-08-02 15:10:47 -04:00
David Cole
abc8586716
Merge topic 'fix-12299-add-vs10-scc-support'
...
05ddfbf
VS10: Add SCC support
2011-08-02 15:10:31 -04:00
David Cole
b01167161c
Merge topic 'fix-12245-add-wlib--c-flag'
...
a0974ae
Watcom: Add -c flag to wlib calls (#12245 )
2011-08-02 15:10:21 -04:00
David Cole
7824885960
Merge topic 'adjust-path-for-all-generators-test'
...
0baf565
Ensure libgmp-10.dll is in the PATH for CMakeTestAllGenerators
2011-08-02 15:10:15 -04:00
David Cole
330577ce87
Merge topic 'fix-updategit-test'
...
0375865
Fix machine-specific UpdateGIT test failures
2011-08-02 15:10:12 -04:00