Skip to content
This repository was archived by the owner on Dec 7, 2025. It is now read-only.

Commit afb45a7

Browse files
committed
Updated build script
1 parent 2906d18 commit afb45a7

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

build.sh

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
#!/bin/bash
22

3-
rm -rf build
4-
mkdir build && cd build
5-
# cmake .. -DCMAKE_BUILD_TYPE=Debug
6-
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang
3+
clear && rm -rf build && mkdir build && cd build
4+
5+
# gcc (debug)
6+
cmake .. -DCMAKE_BUILD_TYPE=Debug
7+
8+
# clang (Debug)
9+
# cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang
10+
711
make -j
812
# strace ./build/Debug/vulkan-sample

0 commit comments

Comments
 (0)