We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d855a80 + 2975cf4 commit eee154eCopy full SHA for eee154e
README.md
@@ -136,6 +136,8 @@ make
136
make install
137
```
138
139
+Setting `-DBUILD_SHARED_LIBS=OFF` enables the generation of a static (`.a`) library.
140
+
141
## Code Style
142
143
This project enforces the PDAL code styles, which can checked as follows :
source/pdal/CMakeLists.txt
@@ -1,5 +1,7 @@
1
set(TARGET pdalc)
2
3
+option(BUILD_SHARED_LIBS "Build using shared libraries" ON)
4
5
find_package(PDAL REQUIRED CONFIG)
6
message(STATUS "Found PDAL ${PDAL_VERSION}")
7
@@ -38,7 +40,7 @@ include_directories(
38
40
39
41
add_definitions(${PDAL_DEFINITIONS})
42
-add_library(${TARGET} SHARED ${SOURCES} ${HEADERS})
43
+add_library(${TARGET} ${SOURCES} ${HEADERS})
44
45
string(TOUPPER "${TARGET}_BUILD_DLL" BUILD_SYMBOL)
46
0 commit comments