diff options
author | Sven Göthel <[email protected]> | 2024-05-12 08:29:57 +0200 |
---|---|---|
committer | Sven Göthel <[email protected]> | 2024-05-12 08:29:57 +0200 |
commit | 377a0feae2794706463ced644c2873506b8806e7 (patch) | |
tree | 203e8673ba36285a795368a11d9452422824f7ed | |
parent | 13feca92323af01009b087afa68a5652e8b2142d (diff) |
Fix version
-rw-r--r-- | cmake/modules/version.cpp.in | 8 | ||||
-rw-r--r-- | include/gamp/version.hpp | 33 |
2 files changed, 37 insertions, 4 deletions
diff --git a/cmake/modules/version.cpp.in b/cmake/modules/version.cpp.in index 120cff7..44909f6 100644 --- a/cmake/modules/version.cpp.in +++ b/cmake/modules/version.cpp.in @@ -1,5 +1,5 @@ -#include <jau/version.hpp> +#include <gamp/version.hpp> -const char* jau::VERSION = "@jaulib_VERSION_LONG@"; -const char* jau::VERSION_SHORT = "@jaulib_VERSION_SHORT@"; -const char* jau::VERSION_API = "@jaulib_VERSION_API@"; +const char* gamp::VERSION = "@gamp_VERSION_LONG@"; +const char* gamp::VERSION_SHORT = "@gamp_VERSION_SHORT@"; +const char* gamp::VERSION_API = "@gamp_VERSION_API@"; diff --git a/include/gamp/version.hpp b/include/gamp/version.hpp new file mode 100644 index 0000000..b018e53 --- /dev/null +++ b/include/gamp/version.hpp @@ -0,0 +1,33 @@ +/* + * Author: Sven Gothel <[email protected]> + * Copyright (c) 2022 Gothel Software e.K. + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ +#ifndef JAU_GAMP_VERSION_HPP_ +#define JAU_GAMP_VERSION_HPP_ + +namespace gamp { + extern const char* VERSION; + extern const char* VERSION_SHORT; + extern const char* VERSION_API; +} /* namespace gamp */ + +#endif /* JAU_GAMP_VERSION_HPP_ */ |