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 revision | ||
| getting_started:write_app:use_on_host [2023/04/13 08:57] – [Say Hello with EEROS] ursgraf | getting_started:write_app:use_on_host [2026/05/15 13:32] (current) – [Use Existing Project] ursgraf | ||
|---|---|---|---|
| Line 38: | Line 38: | ||
| add_executable(helloworld main.cpp) | add_executable(helloworld main.cpp) | ||
| - | target_link_libraries(helloworld PRIVATE eeros) | + | target_link_libraries(helloworld PRIVATE |
| </ | </ | ||
| - 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 < | ||
| Line 45: | Line 45: | ||
| </ | </ | ||
| - Build the project with < | - Build the project with < | ||
| - | $ cmake -DCMAKE_INSTALL_PREFIX=../ | + | $ cmake -DCMAKE_INSTALL_PREFIX=../ |
| $ make | $ make | ||
| </ | </ | ||
| Line 57: | Line 57: | ||
| ===== Use Existing Project ===== | ===== Use Existing Project ===== | ||
| As an example we use the [[getting_started: | As an example we use the [[getting_started: | ||
| - | + | | |
| - | | + | |
| $ git clone https:// | $ git clone https:// | ||
| $ cd simple-motor-control | $ cd simple-motor-control | ||
| + | $ git checkout v1.0.1 | ||
| </ | </ | ||
| - 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.1681369079.txt.gz · Last modified: by ursgraf
