summaryrefslogtreecommitdiffstats
path: root/Source/cmExportTryCompileFileGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Remove some c_str() calls.Stephen Kelly2014-03-111-2/+2
| | | | | | Use the clang RemoveCStrCalls tool to automatically migrate the code. This was only run on linux, so does not have any positive or negative effect on other platforms.
* stringapi: Use strings for property namesBen Boeckel2014-03-081-2/+3
| | | | Property names are always generated by CMake and should never be NULL.
* cmMakefile: make some methods take const std::string& instead of const char*Rolf Eike Beer2014-01-161-1/+1
| | | | | | | | Most callers already have a std::string, on which they called c_str() to pass it into these methods, which internally converted it back to std::string. Pass a std::string directly to these methods now, avoiding all these conversions. Those methods that only pass in a const char* will get the conversion to std::string now only once.
* Undefine local preprocessor loop variables.Stephen Kelly2014-01-061-0/+2
| | | | | Most occurances of this pattern already contain the undef, so add it to the rest too.
* Genex: Simplify the preprocessor looper for interface properties.Stephen Kelly2013-11-091-1/+1
| | | | By removing the INTERFACE_ prefix, we can use this in more contexts.
* cmTarget: Make GetProperty() const.Stephen Kelly2013-10-311-9/+9
| | | | | | This has follow-on effects for other methods and classes. Further work on making the use of const cmTarget pointers common can be done, particularly with a view to generate-time methods.
* try_compile: Extract IMPORTED targets from INTERFACE_LINK_LIBRARIESStephen Kelly2013-08-261-1/+2
|
* try_compile: Extract IMPORTED targets from LINK_DEPENDENT_LIBRARIESStephen Kelly2013-08-261-1/+2
|
* Use a preprocessor loop to manage the valid transitive properties.Stephen Kelly2013-06-101-3/+4
| | | | | Hopefully this will prevent regressions when adding further transitive properties in the future.
* Find targets in INTERFACE_COMPILE_OPTIONS when exporting for try_compile.Stephen Kelly2013-06-101-0/+1
| | | | | This was missing from commit 80ca9c4b (Add COMPILE_OPTIONS target property., 2013-05-16).
* OS X: Add support for @rpath in export files.Clinton Stimpson2013-06-031-0/+15
| | | | | Also expand the IMPORTED_SONAME property for targets to match the install_name.
* Add a new Export generator for IMPORTED targets.Stephen Kelly2013-02-221-0/+114
This is to be used during try_compile using LINK_LIBRARIES in the srcfile signature and, in the future, TARGETS in the binary dir signature.