|
|
@ -1,10 +1,9 @@
|
|
|
|
diff -Npur bounds_checking_function/CMakeLists.txt securec/CMakeLists.txt
|
|
|
|
diff -Npur -x .git libboundscheck/CMakeLists.txt securec/CMakeLists.txt
|
|
|
|
--- bounds_checking_function/CMakeLists.txt 1970-01-01 08:00:00.000000000 +0800
|
|
|
|
--- libboundscheck/CMakeLists.txt 1970-01-01 08:00:00.000000000 +0800
|
|
|
|
+++ securec/CMakeLists.txt 2020-05-11 17:10:49.406735400 +0800
|
|
|
|
+++ securec/CMakeLists.txt 2020-09-19 16:53:48.689460700 +0800
|
|
|
|
@@ -0,0 +1,19 @@
|
|
|
|
@@ -0,0 +1,18 @@
|
|
|
|
+cmake_minimum_required(VERSION 3.14)
|
|
|
|
+cmake_minimum_required(VERSION 3.14)
|
|
|
|
+project(Securec)
|
|
|
|
+project(Securec)
|
|
|
|
+set(CMAKE_BUILD_TYPE "Debug")
|
|
|
|
|
|
|
|
+set(CMAKE_C_FLAGS_DEBUG "$ENV{CFLAGS} -fPIC -O0 -Wall -Wno-deprecated-declarations -g2 -ggdb -fno-inline-functions -fno-omit-frame-pointer -D_LIBCPP_INLINE_VISIBILITY='' -D'_LIBCPP_EXTERN_TEMPLATE(...)='")
|
|
|
|
+set(CMAKE_C_FLAGS_DEBUG "$ENV{CFLAGS} -fPIC -O0 -Wall -Wno-deprecated-declarations -g2 -ggdb -fno-inline-functions -fno-omit-frame-pointer -D_LIBCPP_INLINE_VISIBILITY='' -D'_LIBCPP_EXTERN_TEMPLATE(...)='")
|
|
|
|
+set(CMAKE_C_FLAGS_RELEASE "$ENV{CFLAGS} -fPIC -O3 -Wall -Wno-deprecated-declarations")
|
|
|
|
+set(CMAKE_C_FLAGS_RELEASE "$ENV{CFLAGS} -fPIC -O3 -Wall -Wno-deprecated-declarations")
|
|
|
|
+set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
|
|
|
+set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
|
|
|