You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9d3f65b
Browse filesBrowse the repository at this point in the historyBrowse files
Add BUILD_BOTH_LIBRARIES option to build static and shared libs
Add a new CMake option BUILD_BOTH_LIBRARIES that allows building both
static and shared libraries in a single build directory.
This provides an alternative to the existing approach of building in
separate directories with BUILD_SHARED_LIBS=ON/OFF, while maintaining
backward compatibility with existing build scripts.
Usage:
cmake .. -DBUILD_BOTH_LIBRARIES=ON
Produces:
- libcpp_dotenv_static.a
- libcpp_dotenv_shared.so (or .dylib on macOS)
0 commit comments