From 13900a416cf38ae41cd4371261cf2560bcac10f8 Mon Sep 17 00:00:00 2001 From: Sven Date: Sat, 11 Apr 2026 19:34:59 +0200 Subject: [PATCH] Remove need for make --- .vscode/settings.json | 3 --- README.md | 4 ++-- tests/run_tests.sh | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) delete mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 0468d59..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "cmake.generator": "Unix Makefiles" -} \ No newline at end of file diff --git a/README.md b/README.md index b1267d0..4ecca1c 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,9 @@ You can now use environment variables in your config files like so:\ ``` $ git clone https://github.com/SKBotNL/SubstAgent-JVMTI $ cd SubstAgent-JVMTI -$ cmake -B build -G "Unix Makefiles" +$ cmake -B build $ cmake --build build ``` # Tests -The test script assumes that the generator is set to make (`-G "Unix Makefiles"`) +The tests can be run by executing the `run_tests.sh` script. \ No newline at end of file diff --git a/tests/run_tests.sh b/tests/run_tests.sh index 2ceab49..6cd4a46 100755 --- a/tests/run_tests.sh +++ b/tests/run_tests.sh @@ -21,7 +21,7 @@ TEST_DESCRIPTIONS=( # Build SubstAgent echo -n "Compiling SubstAgent..." cd ../build -output=$(make 2>&1) +output=$(cmake --build . 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mBuild failed\e[0m" echo "$output" -- 2.47.3