Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
HerrNamenlos123 authored Apr 5, 2024
1 parent 02ebedb commit ce9b427
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,13 @@ The following would be the simplest CMakeLists.txt for working with the tello li

```cmake
cmake_minimum_required(VERSION 3.0.2)
project(example)
add_subdirectory(../tello bin) # Path to tello library
add_subdirectory(../tello bin) # Path to tello library (and a binary dir if tello is external)
add_executable(example main.cpp)
target_link_libraries(example tello::tello) # Link to it
if (MSVC) # At least C++14 standard required
target_compile_options(example PUBLIC /std:c++14)
else()
target_compile_options(example PUBLIC --std=c++14)
endif()
target_compile_features(example PUBLIC cxx_std_14) # At least C++14 standard required
target_link_libraries(example tello::tello)
```

### Most important functions
Expand Down

0 comments on commit ce9b427

Please sign in to comment.