Skip to content

v0.0.213: [CMake] Overhaul V8.cmake

Compare
Choose a tag to compare
@mirror-releases mirror-releases released this 06 May 18:12
· 20 commits to main since this release
ef15d6d
- Use separate output directories based on `CMAKE_BUILD_TYPE`.  This
should fix unexpected rebuilds when working with multiple different
build types.
- Correctly use `CMAKE_SOURCE_DIR` instead of `CMAKE_CURRENT_SOURCE_DIR`
to correctly specify paths.
- Change directory and invoke V8's own `gn` to configure the build.
This seems to be the recommended way of building V8 anyways.  This has
the downside of V8's build files residing in
`third-party/v8/v8/out-<BUILD-TYPE>` rather than in
`build/<BUILD-TYPE>/third-party/V8-src`.  Perhaps the caching in GitLab
CI and CircleCI must be adapted...