# ============================================================================
# Windows Build Configuration
# ============================================================================

build --experimental_cc_static_library
build --tool_java_runtime_version=remotejdk_21
build --enable_bzlmod

# ============================================================================
# MSVC Configuration
# ============================================================================

# MSVC-specific flags (use /flag format instead of -flag)
build:msvc --define absl=1
build:msvc --define=protobuf_allow_msvc=true
build:msvc --cxxopt=/std:c++20 --host_cxxopt=/std:c++20
build:msvc --cxxopt=/Zc:sizedDealloc
build:msvc --cxxopt=/DANTLR4CPP_STATIC --host_cxxopt=/DANTLR4CPP_STATIC
