[cmake]: set default visibility to hidden and enable mpp/vpu export function

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1195 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming 2016-08-15 10:35:30 +00:00
parent 71f5906081
commit c2cdea0a6d
3 changed files with 7 additions and 0 deletions

View file

@ -184,6 +184,10 @@ if(GCC)
add_definitions(-march=i686)
endif()
endif()
set(CMAKE_C_VISIBILITY_PRESET hidden)
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
# disable multichar warning
add_definitions(-Wno-multichar)
endif(GCC)