- nBallerina - high-level design and implementation plan
- nBallerina next phase design and timeline
- nBallerina - Meeting Notes
- Using Kaitai to walkthrugh BIR dump: https://github.com/ruvi-d/kaitai-test
Dependencies
sudo apt install build-essential cmake llvm-11 llvm-11-dev libgtest-dev
VS Code IDE : https://code.visualstudio.com/download
Example minimum CMakeLists.txt
for GTest
cmake_minimum_required(VERSION 3.0)
project(gtest_project)
enable_testing()
# Locate GTest
find_package(GTest REQUIRED)
include_directories(${GTEST_INCLUDE_DIRS} ${PROJECT_SOURCE_DIR})
# Link runTests with what we want to test and the GTest and pthread library
add_executable(tests test.cpp answer.cpp)
target_link_libraries(tests ${GTEST_LIBRARIES} ${GTEST_MAIN_LIBRARY} pthread)
add_test(NAME tests COMMAND tests)
add_executable(app main.cpp answer.cpp)
First setup the LLVM compiler and CMake
Ctl
+ shift
+ p
-> cmake select kit
Ctl
+ shift
+ p
-> cmake configBuild with F7
Run F5
(select target from bottom status bar)
Debug run Shift
+ F5
Tests can be run from tests extension. Supports debugging (break points)