Loading [MathJax]/extensions/tex2jax.js
FuncViz examples
Generalized bitree/quadtree/octree library
All Files Functions
funcviz_config.cpp
Go to the documentation of this file.
1// -*- Mode:C++; Coding:us-ascii-unix; fill-column:158 -*-
2/*******************************************************************************************************************************************************.H.S.**/
3/**
4 @file funcviz_config.cpp
5 @author Mitch Richling http://www.mitchr.me/
6 @date 2024-08-28
7 @brief Pulling metadata at runtime from the cmake process.@EOL
8 @std C++23
9 @see
10 @copyright
11 @parblock
12 Copyright (c) 2024, Mitchell Jay Richling <http://www.mitchr.me/> All rights reserved.
13
14 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
15
16 1. Redistributions of source code must retain the above copyright notice, this list of conditions, and the following disclaimer.
17
18 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions, and the following disclaimer in the documentation
19 and/or other materials provided with the distribution.
20
21 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software
22 without specific prior written permission.
23
24 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
26 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
29 DAMAGE.
30 @endparblock
31*/
32/*******************************************************************************************************************************************************.H.E.**/
33
34////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
35#include "funcviz_config.hpp"
36
37////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
38#include <iomanip> /* C++ stream formatting C++11 */
39#include <iostream> /* C++ iostream C++11 */
40
41////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
42int main() {
43
44 std::cout << std::endl;
45 std::cout << "Version String: " << funcviz_version_string() << std::endl;
46
47 std::cout << std::endl;
48 std::cout << "Major version number: " << funcviz_version_major() << std::endl;
49 std::cout << "Minor version number: " << funcviz_version_minor() << std::endl;
50 std::cout << "Patch version number: " << funcviz_version_patch() << std::endl;
51 std::cout << "Tweek version number: " << funcviz_version_tweak() << std::endl;
52
53}
int main()