getting_started:write_app:use_on_host
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
getting_started:write_app:use_on_host [2022/03/03 16:40] – ursgraf | getting_started:write_app:use_on_host [2022/03/08 15:58] – [Say Hello with EEROS] ursgraf | ||
---|---|---|---|
Line 32: | Line 32: | ||
</ | </ | ||
- Create a text file " | - Create a text file " | ||
- | cmake_minimum_required(VERSION 3.5.1) | + | cmake_minimum_required(VERSION 3.10) |
project(helloworld) | project(helloworld) | ||
Line 63: | Line 63: | ||
</ | </ | ||
- Create a build directory for your new project and change into it with < | - Create a build directory for your new project and change into it with < | ||
- | $ mkdir build-x86/ | + | $ mkdir ../build-x86/ |
- | $ cd build-x86/ | + | $ cd ../build-x86/ |
</ | </ | ||
- Build the project with < | - Build the project with < | ||
- | $ cmake -DCMAKE_INSTALL_PREFIX=../ | + | $ cmake -DCMAKE_INSTALL_PREFIX=../ |
$ make | $ make | ||
</ | </ |
getting_started/write_app/use_on_host.txt · Last modified: 2023/04/13 09:03 by ursgraf