Skip to content

Conversation

@mfischer
Copy link

Add CMakeLists.txt to facilitate building with cmake allowing for simpler cross compiling.

To build natively:
$ cmake -S . build
$ cd build && make

To build using a toolchain:
$ cmake -S . build
-DCMAKE_TOOLCHAIN_FILE=aarch64-linux-gnu.toolchain.cmake
$ cd build && make

Add CMakeLists.txt to facilitate building with cmake
allowing for simpler cross compiling.

To build natively:
 $ cmake -S . build
 $ cd build && make

To build using a toolchain:
 $ cmake -S . build \
  -DCMAKE_TOOLCHAIN_FILE=aarch64-linux-gnu.toolchain.cmake
 $ cd build && make

Signed-off-by: Moritz Fischer <moritzf@google.com>
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