X-Git-Url: https://git.ao2.it/libam7xxx.git/blobdiff_plain/dbd29f3c45344254a59a42d3a01148e8d38d2778..1608665f4fd202a072531ae3a582eca87b344137:/examples/CMakeLists.txt diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt new file mode 100644 index 0000000..0450e26 --- /dev/null +++ b/examples/CMakeLists.txt @@ -0,0 +1,9 @@ +add_definitions("-D_POSIX_C_SOURCE=2") # for getopt() + +include_directories(${CMAKE_SOURCE_DIR}/src/) + +# Build a test app that sends a single picture +add_executable(picoproj picoproj.c) +target_link_libraries(picoproj am7xxx) +install(TARGETS picoproj + DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")