diff options
author | Brad King <brad.king@kitware.com> | 2008-07-09 14:09:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-07-09 14:09:00 (GMT) |
commit | da4f142cc12cf603f7d34562d558c0ed7bd65d5f (patch) | |
tree | cc4edfa216e0fc4485e1f094f94578d30305c3ef /Source/cmTarget.h | |
parent | ba8452420738a1adf58186367eeb24de3c7a56e5 (diff) | |
download | CMake-da4f142cc12cf603f7d34562d558c0ed7bd65d5f.zip CMake-da4f142cc12cf603f7d34562d558c0ed7bd65d5f.tar.gz CMake-da4f142cc12cf603f7d34562d558c0ed7bd65d5f.tar.bz2 |
ENH: Add full target version signature cmTarget::GetTargetVersion.
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 af94876..8ec2e1f 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -265,6 +265,11 @@ public: not set or cannot be parsed. */ void GetTargetVersion(int& major, int& minor); + /** Get the target major, minor, and patch version numbers + interpreted from the VERSION or SOVERSION property. Version 0 + is returned if the property is not set or cannot be parsed. */ + void GetTargetVersion(bool soversion, int& major, int& minor, int& patch); + /** * Trace through the source files in this target and add al source files * that they depend on, used by all generators |