3-2. Set up Basic Directory Structure

Set up a basic directory structure to organize your project:

mkdir -p src make tests examples

Example directory structures:

my_heaan_project/
├── cmake/           # CMake moduls and utilities
├── src/             # Source code
├── tests/           # Test code (optional)
├── examples/        # Example code (optional)
└── CMakeLists.txt   # Root CMake configuration file

Last updated

Was this helpful?