add
This commit is contained in:
parent
c21bc52017
commit
12b7362ef5
@ -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)
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user