mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-14 23:09:26 +08:00
23 lines
636 B
Python
23 lines
636 B
Python
from dataclasses import dataclass
|
|
|
|
from ..tools.cmakebuilder import CMakePackageBuilder
|
|
|
|
|
|
@dataclass
|
|
class JsonCppOptions:
|
|
JSONCPP_WITH_TESTS: bool = True
|
|
JSONCPP_WITH_POST_BUILD_UNITTEST: bool = True
|
|
JSONCPP_WITH_WARNING_AS_ERROR: bool = False
|
|
JSONCPP_WITH_STRICT_ISO: bool = True
|
|
JSONCPP_WITH_PKGCONFIG_SUPPORT: bool = True
|
|
JSONCPP_WITH_CMAKE_PACKAGE: bool = True
|
|
JSONCPP_WITH_EXAMPLE: bool = False
|
|
JSONCPP_STATIC_WINDOWS_RUNTIME: bool = False
|
|
BUILD_SHARED_LIBS: bool = True
|
|
BUILD_STATIC_LIBS: bool = True
|
|
BUILD_OBJECT_LIBS: bool = True
|
|
|
|
|
|
class JsonCppPackage(CMakePackageBuilder):
|
|
...
|