Skip to content

add nix build system - #174

Open
DawnMagnet wants to merge 5 commits into
dji-sdk:masterfrom
DawnMagnet:master
Open

DawnMagnet wants to merge 5 commits into
dji-sdk:masterfrom
DawnMagnet:master

Conversation

@DawnMagnet

Copy link
Copy Markdown

Use Docker & Nix to build

docker pull nixpkgs/nix-flakes:latest
docker run --name payload -it -v {SOMEWHERE}/Payload-SDK:/workspace docker.io/nixpkgs/nix-flakes:latest bash

(inside docker)

cd /workspace
nix develop
mkdir build && cd build
cmake ..
make

@DawnMagnet

Copy link
Copy Markdown
Author

@dji-dev

The symlink to the dji-payload-sdk was no longer needed and has been removed to clean up the project structure. This helps maintain clarity and reduces potential confusion regarding unused or outdated references.
✨ (dji_sdk_app_info.h.bak): add backup header file for DJI SDK application info
The .gitignore file is updated to exclude .DS_Store files and the result directory, preventing unnecessary files from being tracked in the repository. A new backup header file for the DJI SDK application information is added to ensure that the structure and function prototypes are preserved for future reference and development.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant