Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | GenerateExportHeader: Avoid if() quoted auto-dereference | Brad King | 2014-09-29 | 1 | -7/+7 |
| | | | | | | When testing CMAKE_CXX_COMPILER_ID values with if(MATCHES), do not explicitly dereference or quote CMAKE_CXX_COMPILER_ID. We want if() to auto-dereference the variable and not its value. | ||||
* | GenerateExportHeader: support exporting from OBJECT libraries | Ben Boeckel | 2014-07-03 | 1 | -0/+1 |
| | |||||
* | Update CDash server URL | Brad King | 2014-06-24 | 1 | -1/+0 |
| | | | | It is now at open.cdash.org and does not start in "/CDash". | ||||
* | GenerateExportHeader: Reformat docs. | Stephen Kelly | 2014-01-04 | 1 | -64/+51 |
| | |||||
* | Convert builtin help to reStructuredText source files | Kitware Robot | 2013-10-15 | 1 | -98/+150 |
| | | | | | | | | Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it. | ||||
* | GenerateExportHeader: Port to use message(DEPRECATION) | Stephen Kelly | 2013-10-08 | 1 | -9/+1 |
| | |||||
* | GenerateExportHeader: Deprecate add_compiler_export_flags function. | Stephen Kelly | 2013-09-02 | 1 | -13/+34 |
| | | | | | This is made obsolete by the CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties. | ||||
* | Merge topic 'geh-cleanup-identifiers' | Brad King | 2013-05-24 | 1 | -0/+6 |
|\ | | | | | | | | | 7e24997 GenerateExportHeader: Generate only C identifiers as defines | ||||
| * | GenerateExportHeader: Generate only C identifiers as defines | Stephen Kelly | 2013-05-24 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | GenerateExportHeader: Allow use of of this macro with MODULEs. | Stephen Kelly | 2013-05-23 | 1 | -5/+3 |
|/ | | | | | | | | | | | The significant issue with MODULEs is that on Windows, the exported symbols must be dllexported and they are not imported. In other export macro implementations this is done by defining an export macro outside of any ifdef which depends on definitions set on the command line. However, with cmake we already expect the DEFINE_SYMBOL to be defined, so the regular EXPORT macro can be used by such plugins. | ||||
* | Merge topic 'generate-export-header-warnings' | Brad King | 2013-02-25 | 1 | -4/+0 |
|\ | | | | | | | | | 1e0891e Removed GenerateExportHeader warnings about old compilers | ||||
| * | Removed GenerateExportHeader warnings about old compilers | Marcus D. Hanwell | 2013-02-20 | 1 | -4/+0 |
| | | | | | | | | | | These warnings tend to flood the dashboard submissions, and it is doing what it should (degrade gracefully with older compilers). | ||||
* | | Fix GenerateExportHeader documentation #13936 | Stephen Kelly | 2013-02-20 | 1 | -1/+1 |
|/ | | | | | There is no CMAKE_CURRENT_BUILD_DIR. CMAKE_CURRENT_BINARY_DIR is the correct variable here. | ||||
* | Merge topic 'improve-generateexportheader' | David Cole | 2012-03-02 | 1 | -35/+9 |
|\ | | | | | | | | | | | c28e276 GenerateExportHeader: improve compiler identification 4412fc0 GenerateExportHeader: remove unneeded code | ||||
| * | GenerateExportHeader: improve compiler identification | Rolf Eike Beer | 2012-02-24 | 1 | -28/+9 |
| | | | | | | | | | | | | Use CMAKE_<LANG>_COMPILER_VERSION instead of calling the compiler. This macro predates those useful variables. This also fixes the issue that g++ version detection was not working if C language was not enabled. | ||||
| * | GenerateExportHeader: remove unneeded code | Rolf Eike Beer | 2012-02-24 | 1 | -7/+0 |
| | | | | | | | | | | These expressions check for command line arguments unsupported by the compiler. We don't pass any custom flags here anyway so this isn't needed. | ||||
* | | Fix documented function signature to match reality. | Stephen Kelly | 2012-02-21 | 1 | -1/+1 |
|/ | | | | The function description is already correct. | ||||
* | GenerateExportHeader: use double quotes around _gcc_version | Alex Neundorf | 2012-02-18 | 1 | -1/+1 |
| | | | | | | | | | | | The GenerateExportHeaders test was failing on one machine, the version could not be determined there, so the _gcc_version was empty, so the first argument to if() was empty, so it complained: http://open.cdash.org/testDetails.php?test=135623436&build=2016288 Use double quotes to turn the non-existant first argument into an empty string. Alex | ||||
* | GenerateExportHeader: Fix wrong use of IS_ABSOLUTE (#12645) | Michael Wild | 2012-01-02 | 1 | -1/+1 |
| | | | | | | Test content of _GEH_EXPORT_FILE_NAME, not variable name. Signed-off-by: Michael Wild <themiwi@users.sourceforge.net> | ||||
* | Make add_compiler_export_flags a function again. | Marcus D. Hanwell | 2011-09-20 | 1 | -6/+6 |
| | | | | | | Making this a macro had unintended issues on (among others) Windows compilers. Moving it back to being a function using PARENT_SCOPE still satisfies the use case where we simply want to obtain the extra flags. | ||||
* | Made ADD_COMPILER_EXPORT_FLAGS into a macro. | Marcus D. Hanwell | 2011-09-19 | 1 | -7/+18 |
| | | | | | It adds to the CMAKE_CXX_FLAGS (as before), or populates the supplied optional argument with the CXX_FLAGS for symbol import/export. | ||||
* | Don't warn when nothing to do in visibility function. | Marcus D. Hanwell | 2011-09-19 | 1 | -1/+1 |
| | |||||
* | Just code style changes. | Marcus D. Hanwell | 2011-09-19 | 1 | -30/+50 |
| | |||||
* | Don't use a variable name that might be used in other files. | David Faure | 2011-08-27 | 1 | -3/+3 |
| | | | | | myDir is also used in the Grantlee config file, so if Grantlee was found, this call failed. | ||||
* | Fix up verbatim code sections of the dox. | Stephen Kelly | 2011-08-25 | 1 | -17/+1 |
| | |||||
* | Don't start a line with a dash(-) | Stephen Kelly | 2011-08-25 | 1 | -2/+2 |
| | | | | That is a special character in cmake dox. | ||||
* | Remove blank line at the start of the file. | Stephen Kelly | 2011-08-25 | 1 | -2/+0 |
| | | | | A blank line excludes the file from documentation processing. | ||||
* | Add documentation about the prefix and no_deprecated options. | Stephen Kelly | 2011-08-25 | 1 | -0/+42 |
| | |||||
* | Fix the feature of using a specific prefix for macros. | Stephen Kelly | 2011-08-25 | 1 | -11/+11 |
| | |||||
* | Add quotes in case cmake is installed in a prefix with a space. | Stephen Kelly | 2011-08-25 | 1 | -2/+2 |
| | |||||
* | Add missing NO_EXPORT macro variant. | Stephen Kelly | 2011-08-23 | 1 | -2/+11 |
| | |||||
* | More consistency in the macro options. | Stephen Kelly | 2011-08-23 | 1 | -6/+6 |
| | |||||
* | Try to make the macros do almost nothing for Watcom. | Stephen Kelly | 2011-08-23 | 1 | -2/+12 |
| | |||||
* | Test for too-old-intel compilers. | Stephen Kelly | 2011-08-23 | 1 | -1/+12 |
| | |||||
* | Exclude PGI from exports and deprecated. | Stephen Kelly | 2011-08-15 | 1 | -2/+2 |
| | |||||
* | Exclude cygwin from the hidden visibility feature. | Stephen Kelly | 2011-08-15 | 1 | -1/+1 |
| | |||||
* | Don't enable deprecated on old GCC | Stephen Kelly | 2011-08-15 | 1 | -1/+1 |
| | | | | | Hopefully a fix for http://www.cdash.org/CDash/testDetails.php?test=109688480&build=1432057 | ||||
* | Don't enable deprecated on HP. | Stephen Kelly | 2011-08-15 | 1 | -1/+1 |
| | |||||
* | Fixup forgotten part of aed84517c942a4c40f493fcf997cdf6a047349f8 | Stephen Kelly | 2011-08-14 | 1 | -3/+3 |
| | |||||
* | Borland can't do deprecated. | Stephen Kelly | 2011-08-13 | 1 | -4/+8 |
| | |||||
* | Test for deprecated attribute before declspec. | Stephen Kelly | 2011-08-13 | 1 | -4/+4 |
| | | | | | The attribute seems more common, and some compilers seem to silently ignore the declspec. | ||||
* | Add the COMPILER_HAS_DEPRECATED only if it has a declspec variant | Stephen Kelly | 2011-08-11 | 1 | -2/+1 |
| | | | | _check_cxx_compiler_attribute does it in the alternative. | ||||
* | Exclude the XL compiler from the hidden-visibility test. | Stephen Kelly | 2011-08-11 | 1 | -1/+4 |
| | |||||
* | Test for compiler features, instead of for specific platforms. | Stephen Kelly | 2011-08-11 | 1 | -16/+22 |
| | |||||
* | Split the deprecated available check from setting macro values. | Stephen Kelly | 2011-08-11 | 1 | -4/+18 |
| | |||||
* | Don't use hidden visibility on non-mingw windows either. | Stephen Kelly | 2011-08-11 | 1 | -1/+1 |
| | |||||
* | Make sure the hidden visibility variables never get set on MINGW. | Stephen Kelly | 2011-08-11 | 1 | -2/+2 |
| | |||||
* | Only set the deprecated attribute if hidden visibilty is enabled. | Stephen Kelly | 2011-08-11 | 1 | -1/+3 |
| | | | | | This is what is tested in the unit test. If it makes sense, another option can be added later. | ||||
* | Add some debug output to narrow down deprecation test issues | Stephen Kelly | 2011-08-10 | 1 | -0/+2 |
| | | | | Particularly Borland and VS7.0 seem to still be failing. | ||||
* | Another attempt at fixing Borland. | Stephen Kelly | 2011-08-10 | 1 | -4/+2 |
| | | | | | Apparently it still needs to be exported, but only declspec(deprecated) does not work. |