Skip to content

Commit 5a2ba0d

Browse files
andycallclaude
andcommitted
fix: enable test targets in Windows cmake configure
Add -DENABLE_TEST=true to the Windows cmake configure step so the webf_unit_test target is available for building and running. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 42e4c3a commit 5a2ba0d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/tasks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ task('build-window-webf-lib', (done) => {
711711
const soBinaryDirectory = path.join(paths.bridge, `build/windows/lib/`).replaceAll(path.sep, path.posix.sep);
712712
const bridgeCmakeDir = path.join(paths.bridge, 'cmake-build-windows');
713713
// generate project
714-
execSync(`cmake -DCMAKE_BUILD_TYPE=${buildType} ${externCmakeArgs.join(' ')} -B ${bridgeCmakeDir} -S ${paths.bridge}`,
714+
execSync(`cmake -DCMAKE_BUILD_TYPE=${buildType} -DENABLE_TEST=true ${externCmakeArgs.join(' ')} -B ${bridgeCmakeDir} -S ${paths.bridge}`,
715715
{
716716
cwd: paths.bridge,
717717
stdio: 'inherit',

0 commit comments

Comments
 (0)