- NEVER add an
#includeheader to any file. To control header include order, editrice/rice.hpp. - NEVER run
ruby lib/rice/make_rice_headers.rb. Theinclude/folder is autogenerated by a GitHub hook. - Before committing any changes, show the exact updates to the user and wait for approval.
Configure and build from the project root directory:
cmake --preset linux-debug
cmake --build --preset linux-debugRun all tests via the built unittest executable:
./build/linux-debug/test/unittestDo not rely on unittest command-line arguments to run only specific tests. In practice, the binary does not provide a reliable test-name filter for the quick edit/build/verify loop we use here.
To quickly test a specific area, temporarily edit test/CMakeLists.txt to include only the relevant test files plus unittest.cpp and embed_ruby.cpp. Revert that change when done and never commit the trimmed test list.