diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-11-20 13:53:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-01-23 19:15:41 (GMT) |
commit | e3b5eb6b23e5d2b6034e1c13716abb73ab6b3397 (patch) | |
tree | 835263e83ceabd38952b943b25d83a6efb0cf78d /Source/cmTarget.h | |
parent | 6c8d8afe344aa2e0ba0c5c881d397a28a559dcbd (diff) | |
download | CMake-e3b5eb6b23e5d2b6034e1c13716abb73ab6b3397.zip CMake-e3b5eb6b23e5d2b6034e1c13716abb73ab6b3397.tar.gz CMake-e3b5eb6b23e5d2b6034e1c13716abb73ab6b3397.tar.bz2 |
Automatically link to the qtmain library when linking to QtCore.
When using QAxServer, ensure that the qtmain library is excluded
by reporting an error at CMake time if it is not.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 69a00c1..ea3b823 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -102,6 +102,10 @@ public: cmPolicies::PolicyStatus GetPolicyStatusCMP0008() const { return this->PolicyStatusCMP0008; } + /** Get the status of policy CMP0020 when the target was created. */ + cmPolicies::PolicyStatus GetPolicyStatusCMP0020() const + { return this->PolicyStatusCMP0020; } + /** * Get the list of the custom commands for this target */ @@ -656,6 +660,7 @@ private: cmPolicies::PolicyStatus PolicyStatusCMP0003; cmPolicies::PolicyStatus PolicyStatusCMP0004; cmPolicies::PolicyStatus PolicyStatusCMP0008; + cmPolicies::PolicyStatus PolicyStatusCMP0020; // Internal representation details. friend class cmTargetInternals; |