File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ project(cql2cpp
5
5
HOMEPAGE_URL "https://github.com/IndoorSpatial/cql2cpp"
6
6
LANGUAGES CXX
7
7
)
8
- add_definitions (-DVERSION = "${PROJECT_VERSION} " )
8
+ add_definitions (-DCQL2CPP_VERSION = "${PROJECT_VERSION} " )
9
9
10
10
find_package (SQLite3 QUIET )
11
11
find_package (libspatialite QUIET )
Original file line number Diff line number Diff line change 24
24
#include " tree_dot.h"
25
25
#include " sql_converter.h"
26
26
27
- #ifndef VERSION
28
- #define VERSION " 0.0.0"
27
+ #ifndef CQL2CPP_VERSION
28
+ #define CQL2CPP_VERSION " 0.0.0"
29
29
#endif
30
30
31
31
namespace cql2cpp {
@@ -118,7 +118,7 @@ class Cql2Cpp {
118
118
return true ;
119
119
}
120
120
121
- static std::string version () { return VERSION ; }
121
+ static std::string version () { return CQL2CPP_VERSION ; }
122
122
123
123
static bool ConvertToSQL (const std::string& cql2_query,
124
124
std::string* sql_where, std::string* error_msg) {
Original file line number Diff line number Diff line change 22
22
#include < argparse/argparse.hpp>
23
23
#include < fstream>
24
24
25
- #ifndef VERSION
26
- #define VERSION " 0.0.0"
25
+ #ifndef CQL2CPP_VERSION
26
+ #define CQL2CPP_VERSION " 0.0.0"
27
27
#endif
28
28
29
29
int main (int argc, char ** argv) {
30
- argparse::ArgumentParser program (" cql2" , VERSION );
30
+ argparse::ArgumentParser program (" cql2" , CQL2CPP_VERSION );
31
31
32
32
argparse::ArgumentParser parse_command (" parse" , " " ,
33
33
argparse::default_arguments::help);
You can’t perform that action at this time.
0 commit comments