Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | GenerateExportHeader: Use dllexport/dllimport on Cygwin | Tony Kelman | 2015-08-27 | 1 | -2/+2 |
| | | | | | | | Cygwin sits on top of Windows and so can use explicit symbol export and import markup too. Co-Author: Yaakov Selkowitz <yselkowitz@cygwin.com> | ||||
* | HP aCC: record compiler flag for Ansi C++98 support for version 3.80 onwards | Rolf Eike Beer | 2014-04-25 | 1 | -0/+9 |
| | | | | | | Old versions of aCC need a special compiler flag to get full C++98 template support as e.g. CMake itself or the Complex and ComplexOneConfig tests need. The same versions need a special flag to get a proper C++ library, too. | ||||
* | Merge some GenerateExportHeader subtests. | Stephen Kelly | 2013-12-15 | 15 | -143/+28 |
| | |||||
* | Speed up the GenerateExportHeader unit test (#14453). | Stephen Kelly | 2013-12-15 | 17 | -183/+567 |
| | | | | | | | | Instead of running many small tests with many cmake projects, simply compare the generated export header against a reference. Remove the helper macros and the try_compiles which are duplicates of the library build tests. | ||||
* | Merge topic 'VISIBILITY_PRESET-property' | Brad King | 2013-06-05 | 5 | -0/+48 |
|\ | | | | | | | | | | | cd1fa53 Add a COMPILE_OPTION for a VISIBILITY_INLINES_HIDDEN target property. 0e9f4bc Introduce target property <LANG>_VISIBILITY_PRESET | ||||
| * | Add a COMPILE_OPTION for a VISIBILITY_INLINES_HIDDEN target property. | Stephen Kelly | 2013-06-02 | 1 | -0/+4 |
| | | | | | | | | | | | | | | This corresponds to the g++ and clang++ option -fvisibility-inlines-hidden on linux. On Windows with MinGW, this corresponds to -fno-keep-inline-dllexport. That option is not supported by clang currently. | ||||
| * | Introduce target property <LANG>_VISIBILITY_PRESET | Stephen Kelly | 2013-06-02 | 5 | -0/+44 |
| | | | | | | | | | | | | This is initialized by CMAKE_<LANG>_VISIBILITY_PRESET. The target property is used as the operand to the -fvisibility= compile option with GNU compilers and clang. | ||||
* | | Merge topic 'geh-cleanup-identifiers' | Brad King | 2013-05-24 | 5 | -0/+44 |
|\ \ | | | | | | | | | | | | | 7e24997 GenerateExportHeader: Generate only C identifiers as defines | ||||
| * | | GenerateExportHeader: Generate only C identifiers as defines | Stephen Kelly | 2013-05-24 | 5 | -0/+44 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The variables in this module are used to configure a header file with defines whose name depends on the name of the target. As valid names of targets may be invalid for use as defines, convert the names of the defines used to C identifiers first. This is already done in C++ code for the DEFINE_SYMBOL property. This is not as simple as ensuring that the BASE_NAME is a C identifier, because most of the define names are configurable, and because use of a BASE_NAME which is not a C identifier, such as 4square can become a C identifier by specifying a prefix in the generate_export_header macro. | ||||
* | | Merge topic 'geh-add-missing-test' | Brad King | 2013-05-24 | 1 | -0/+1 |
|\ \ | | | | | | | | | | | | | 74f24b2 Tests/Module/GenerateExportHeader: Test exported free-function | ||||
| * | | Tests/Module/GenerateExportHeader: Test exported free-function | Stephen Kelly | 2013-05-24 | 1 | -0/+1 |
| |/ | |||||
* | | GenerateExportHeader: Add newlines to separate the compiler output. | Stephen Kelly | 2013-05-23 | 1 | -2/+2 |
|/ | | | | Make the error logs more readable. | ||||
* | GenerateExportHeader test: add newlines before end of file | Rolf Eike Beer | 2012-01-17 | 5 | -5/+5 |
| | |||||
* | Build each library only once instead of once for each test. | Stephen Kelly | 2011-10-09 | 4 | -5/+58 |
| | |||||
* | Remove unused define. | Stephen Kelly | 2011-10-09 | 1 | -8/+0 |
| | |||||
* | Add some more unit tests. | Stephen Kelly | 2011-09-02 | 10 | -0/+114 |
| | |||||
* | Fix Compiler id variable name. | Stephen Kelly | 2011-08-24 | 1 | -1/+1 |
| | |||||
* | Disable the tests for Watcom. | Stephen Kelly | 2011-08-24 | 1 | -0/+15 |
| | | | | They are timing out and showing up on the dashboard. | ||||
* | Quote paths in case there is a space in one of them. | Stephen Kelly | 2011-08-24 | 1 | -3/+3 |
| | |||||
* | Possibly fix test on HPUX. | Stephen Kelly | 2011-08-23 | 1 | -1/+1 |
| | |||||
* | Disable testing of deprecated macros. | Stephen Kelly | 2011-08-14 | 3 | -19/+19 |
| | | | | | It is not possible to test for it sanely across multiple ancient compilers supported by cmake. | ||||
* | Try to error on deprecated on Intel and SunCC. | Stephen Kelly | 2011-08-13 | 1 | -7/+23 |
| | |||||
* | Perform the -Werror test only once. | Stephen Kelly | 2011-08-13 | 1 | -3/+6 |
| | | | | This way, the output of the test should be visible on CDash. | ||||
* | Add some messaging output to make remaining issues findable. | Stephen Kelly | 2011-08-12 | 1 | -0/+4 |
| | |||||
* | Test -Werror instead of enabling it per compiler. | Stephen Kelly | 2011-08-12 | 1 | -1/+3 |
| | | | | Maybe the Intel compiler supports it too. | ||||
* | Expect the tests to pass if hidden visibilty is not enabled. | Stephen Kelly | 2011-08-12 | 2 | -9/+27 |
| | |||||
* | Don't change the expected build result based on the platform. | Stephen Kelly | 2011-08-11 | 1 | -5/+1 |
| | | | | Hopefully the compiler feature tests will cover those cases. | ||||
* | Test for compiler features, instead of for specific platforms. | Stephen Kelly | 2011-08-11 | 1 | -2/+2 |
| | |||||
* | Split the deprecated available check from setting macro values. | Stephen Kelly | 2011-08-11 | 3 | -3/+3 |
| | |||||
* | Don't export methods on already exported classes. | Stephen Kelly | 2011-08-11 | 3 | -10/+1 |
| | | | | This is always a mistake. | ||||
* | Remember to surround the other deprecated test in the Borland check. | Stephen Kelly | 2011-08-10 | 1 | -1/+4 |
| | |||||
* | Export deprecated free methods too. | Stephen Kelly | 2011-08-10 | 2 | -2/+2 |
| | | | | That way they can be linked to even after being deprecated. | ||||
* | Another attempt at fixing Borland. | Stephen Kelly | 2011-08-10 | 3 | -4/+15 |
| | | | | | Apparently it still needs to be exported, but only declspec(deprecated) does not work. | ||||
* | Use the correct project name compiletest not compilefail | Stephen Kelly | 2011-08-10 | 1 | -1/+1 |
| | | | | Should fix windows VS solution based builds. | ||||
* | Only set the COMPILER_HAS_HIDDEN_VISIBILITY if GCC >= 4.2 | Stephen Kelly | 2011-08-10 | 1 | -16/+1 |
| | | | | | | Hearsay has it that before that version it didn't work properly. Hopefully this will fix more dashboard builds. | ||||
* | Set the CMAKE_RUNTIME_OUTPUT_DIRECTORY for windows builds. | Stephen Kelly | 2011-08-10 | 1 | -0/+4 |
| | |||||
* | Only run the failure tests with gcc >= 4.2 | Stephen Kelly | 2011-08-10 | 1 | -1/+16 |
| | |||||
* | Fix typo and tests failing as a result. | Stephen Kelly | 2011-08-10 | 1 | -1/+1 |
| | |||||
* | Fix tests with clang. | Stephen Kelly | 2011-08-10 | 1 | -4/+5 |
| | |||||
* | Test expected no-op instead of aborting the build. | Stephen Kelly | 2011-08-10 | 1 | -7/+4 |
| | | | | Aborting causes make clean to fail if the executable is not created. | ||||
* | Short-circuit the tests on unsupported compilers. | Stephen Kelly | 2011-08-10 | 1 | -0/+6 |
| | |||||
* | Add a newline at the end of the file. | Stephen Kelly | 2011-08-09 | 1 | -1/+1 |
| | | | | Hopefully fix the test execution reported on CDash. | ||||
* | Add a newline at the end of the file. | Stephen Kelly | 2011-08-08 | 1 | -1/+1 |
| | | | | Hopefully fix the test execution reported on CDash. | ||||
* | Handle the case where the user changes the DEFINE_SYMBOL property. | Stephen Kelly | 2011-08-08 | 5 | -0/+37 |
| | | | | This eases porting of KDE code. | ||||
* | Add the GenerateExportMacro with unit tests. | Stephen Kelly | 2011-08-07 | 14 | -0/+733 |
Reviewed-by: Marcus D. Hanwell <marcus.hanwell@kitware.com> |