Skip to content

Commit

Permalink
Unix visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Apr 20, 2021
1 parent 6db4dab commit f45c5ec
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 102 deletions.
7 changes: 4 additions & 3 deletions cmake/install.cmake
Expand Up @@ -11,9 +11,10 @@ configure_file(../cmake/lazperf-config.cmake ${CMAKE_CURRENT_BINARY_DIR}/lazperf

install(
FILES
laz-perf/lazperf.hpp
laz-perf/filestream.hpp
laz-perf/vlr.hpp
lazperf/lazperf.hpp
lazperf/filestream.hpp
lazperf/vlr.hpp
lazperf/io.hpp
DESTINATION
include/lazperf
)
Expand Down
2 changes: 2 additions & 0 deletions cmake/unix_compiler_options.cmake
Expand Up @@ -22,6 +22,8 @@ function(lazperf_target_compile_settings target)

target_compile_options(${target} PRIVATE
${PDAL_CXX_STANDARD}
-fvisibility=hidden
-fvisibility-inlines-hidden
-Wall
-Wextra
-Wpointer-arith
Expand Down
1 change: 0 additions & 1 deletion cpp/lazperf/CMakeLists.txt
Expand Up @@ -20,7 +20,6 @@ if (NOT EMSCRIPTEN)
lazperf_target_compile_settings(${LAZPERF_SHARED_LIB})
endif()


add_library(${LAZPERF_STATIC_LIB} STATIC ${SRCS})
lazperf_target_compile_settings(${LAZPERF_STATIC_LIB})

98 changes: 0 additions & 98 deletions cpp/lazperf/main.cpp

This file was deleted.

0 comments on commit f45c5ec

Please sign in to comment.