User Tools

Site Tools


getting_started:write_app:use_on_host

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
getting_started:write_app:use_on_host [2022/03/03 16:42] – [Use Existing Project] ursgrafgetting_started:write_app:use_on_host [2023/04/13 09:03] (current) – [Use Existing Project] ursgraf
Line 32: Line 32:
 </code> </code>
   - Create a text file "CMakeLists.txt" and copy the following text into it: <code cpp>   - Create a text file "CMakeLists.txt" and copy the following text into it: <code cpp>
-cmake_minimum_required(VERSION 3.5.1)+cmake_minimum_required(VERSION 3.10)
 project(helloworld) project(helloworld)
  
Line 41: Line 41:
 </code>  </code> 
   - Create a build directory for your new project and change into it with <code>   - Create a build directory for your new project and change into it with <code>
-$ mkdir ../build-x86/hello +$ mkdir build-x86 
-$ cd ../build-x86/hello+$ cd build-x86
 </code> </code>
   - Build the project with <code>   - Build the project with <code>
Line 63: Line 63:
 </code> </code>
   - Create a build directory for your new project and change into it with <code>   - Create a build directory for your new project and change into it with <code>
-$ mkdir ../build-x86/simple-motor-control +$ mkdir build-x86 
-$ cd ../build-x86/simple-motor-control+$ cd build-x86
 </code> </code>
   - Build the project with <code>   - Build the project with <code>
getting_started/write_app/use_on_host.1646322149.txt.gz · Last modified: 2022/03/03 16:42 by ursgraf