From 8bbef2865455754425a84b86680a89bff8aa7691 Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周六, 19 10月 2019 08:50:45 +0800 Subject: [PATCH] issue #64 , issue #56 (part) --- src/build_properties.h.in | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/src/build_properties.h.in b/src/build_properties.h.in index fcd760a..a15ef5e 100644 --- a/src/build_properties.h.in +++ b/src/build_properties.h.in @@ -1,6 +1,17 @@ #ifndef BUILD_PROPERTIES_H_ #define BUILD_PROPERTIES_H_ +//License retrieval configuration +#define FIND_LICENSE_NEAR_MODULE 1 +#define FIND_LICENSE_WITH_ENV_VAR 1 + +#define LICENSE_LOCATION_ENV_VAR "LICENSE_LOCATION" +#define LICENSE_DATA_ENV_VAR "LICENSE_DATA" + +//Internal data structures limits +#define MAX_LICENSE_LENGTH 256*1024 + +//Build locations and parameters #define PROJECT_INT_VERSION @LICENSECC_INT_VERSION@ #define PROJECT_VERSION "@LICENSECC_VERSION@" #define PROJECT_BINARY_DIR "@CMAKE_BINARY_DIR@" @@ -9,4 +20,5 @@ #define PROJECT_TEST_SRC_DIR "@CMAKE_SOURCE_DIR@/test" #define PROJECT_TEST_TEMP_DIR "@CMAKE_BINARY_DIR@/Testing/Temporary" #define BUILD_TYPE "@CMAKE_BUILD_TYPE@" -#endif \ No newline at end of file + +#endif -- Gitblit v1.9.1