add_executable(hello hello.c ) target_include_directories(hello PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../include) target_link_libraries(hello PRIVATE am-${ARCH} klib) create_binary(hello) install_target_and_binary(hello)