mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Add ZINT_SHARED CMake option
Either shared or static (or both) libraries can be built now. Executables (zint and zint-qt) are linked with the static library if the shared library it not built.
This commit is contained in:
@ -114,6 +114,7 @@ ZINT_COVERAGE:BOOL=OFF # Set code coverage flags
|
||||
ZINT_DEBUG:BOOL=OFF # Set debug compile flags
|
||||
ZINT_NOOPT:BOOL=OFF # Set no optimize compile flags
|
||||
ZINT_SANITIZE:BOOL=OFF # Set sanitize compile/link flags
|
||||
ZINT_SHARED:BOOL=ON # Build shared library
|
||||
ZINT_STATIC:BOOL=OFF # Build static library
|
||||
ZINT_TEST:BOOL=OFF # Set test compile flag
|
||||
ZINT_USE_PNG:BOOL=ON # Build with PNG support
|
||||
|
Reference in New Issue
Block a user