Skip to content

Commit d4c027d

Browse files
committed
pixi: Use right comment on bat script and activate color output with Ninja
1 parent a1ddea6 commit d4c027d

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

scripts/activation.bat

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
# When running CMake for the first time set build type to release
1+
REM When running CMake for the first time set build type to release
22
set CMAKE_BUILD_TYPE="Release"
33

4-
# Setup ccache
4+
REM Setup ccache
55
set CMAKE_CXX_COMPILER_LAUNCHER=ccache
66

7-
# Create compile_commands.json for language server
7+
REM Create compile_commands.json for language server
88
set CMAKE_EXPORT_COMPILE_COMMANDS=1
9+
10+
REM Activate color output with Ninja
11+
set CMAKE_COLOR_DIAGNOSTICS=1

scripts/activation.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ export CMAKE_CXX_COMPILER_LAUNCHER=ccache
1515

1616
# Create compile_commands.json for language server
1717
export CMAKE_EXPORT_COMPILE_COMMANDS=1
18+
19+
# Activate color output with Ninja
20+
export CMAKE_COLOR_DIAGNOSTICS=1

0 commit comments

Comments
 (0)