Skip to content

Commit

Permalink
website: guide update ninja.cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Dec 28, 2024
1 parent dddd51e commit 886cad2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/guide/cmake-integration/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ it is recommended to define them as parametrised properties:
"buildFolderRelativePath": "{{ 'build' | path_join: configuration.name | to_filename | downcase }}",
"buildFolderRelativePathPosix": "{{ 'build' | path_posix_join: configuration.name | downcase }}",

"commandCMakeReconfigure": "cmake -S . -B {{ properties.buildFolderRelativePathPosix }} -G Ninja -D CMAKE_BUILD_TYPE={{ properties.buildType }} -D PLATFORM_NAME={{ properties.platformName }} -D CMAKE_EXPORT_COMPILE_COMMANDS=ON",
"commandCMakeReconfigure": "cmake -S . -B {{ properties.buildFolderRelativePathPosix }} -G Ninja {% if os.platform == 'win32' %}-D CMAKE_MAKE_PROGRAM=ninja.cmd{% endif %} -D CMAKE_BUILD_TYPE={{ properties.buildType }} -D PLATFORM_NAME={{ properties.platformName }} -D CMAKE_EXPORT_COMPILE_COMMANDS=ON",
"commandCMakePrepare": "{{ properties.commandCMakeReconfigure }} --log-level=VERBOSE",
"commandCMakePrepareWithToolchain": "{{ properties.commandCMakePrepare }} -D CMAKE_TOOLCHAIN_FILE=cmake/toolchains/{{ properties.toolchainFileName }}",
"commandCMakeBuild": "cmake --build {{ properties.buildFolderRelativePathPosix }}",
Expand Down
1 change: 1 addition & 0 deletions website/docs/guide/meson-integration/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -530,3 +530,4 @@ xpm install --config native-meson-clang-release -C tests
xpm run test-native-meson-clang -C tests
```

TODO: clarify where the ninja.cmd is specified on Windows.

0 comments on commit 886cad2

Please sign in to comment.