This commit is contained in:
AlanRen 2022-09-18 03:57:32 +08:00
parent c21bc52017
commit 12b7362ef5
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 3.9)
project(SecMedia VERSION 0.0.1 DESCRIPTION "Security Media Package")
set(CMAKE_CXX_STANDARD 11)
SET(LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/release/lib)
SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/release/out)
@ -11,7 +12,7 @@ set(CMAKE_CXX_FLAGS$ "${CMAKE_CXX_FLAGS} -fvisibility = hidden")
add_compile_options(-fPIC)
add_compile_options(-fvisibility=hidden)
add_compile_options(-std=c++11)
include(GNUInstallDirs)
include(GenerateExportHeader)
include_directories(include src)

View File

@ -24,6 +24,7 @@
#include <stddef.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#ifdef __cplusplus
extern "C" {