From 8d7d51f6a300d132110e18e4b884b10b9fbe3aa6 Mon Sep 17 00:00:00 2001
From: gcontini <1121667+gcontini@users.noreply.github.com>
Date: 周日, 03 5月 2020 19:43:13 +0800
Subject: [PATCH] api rename project_name->feature_name

---
 src/CMakeLists.txt |   17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2cb7080..6c4253f 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,11 +1,10 @@
-add_subdirectory("library")
+IF (NOT LCC_PROJECT_MAGIC_NUM) 
+	set(LCC_PROJECT_MAGIC_NUM 0)  
+ENDIF (NOT LCC_PROJECT_MAGIC_NUM)
 
+IF(NOT EXISTS "${LCC_INCLUDE_DIR}/licensecc_properties.h")
+	configure_file ("templates/licensecc_properties.h.in" 
+		"${LCC_INCLUDE_DIR}/licensecc_properties.h")
+ENDIF(NOT EXISTS "${LCC_INCLUDE_DIR}/licensecc_properties.h")
 
-configure_file (
-	"templates/licensecc_properties_test.h.in" 
-	"${CMAKE_BINARY_DIR}/licensecc_properties_test.h"
-)
-configure_file (
-	"templates/licensecc_properties.h.in" 
-	"${LCC_INCLUDE_DIR}/licensecc_properties.h"
-)
\ No newline at end of file
+add_subdirectory("library")
\ No newline at end of file

--
Gitblit v1.9.1