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 [2022/03/03 16:42] – [Use Existing Project] ursgraf | getting_started:write_app:use_on_host [2024/11/07 12:25] (current) – [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 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 < | ||
- | $ mkdir ../build-x86/hello | + | $ mkdir build-x86 |
- | $ cd ../build-x86/hello | + | $ cd build-x86 |
</ | </ | ||
- Build the project with < | - Build the project with < | ||
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 < |
getting_started/write_app/use_on_host.1646322149.txt.gz · Last modified: 2022/03/03 16:42 by ursgraf