1 2 3 4 5 6 7 8 9 10 11 12 13
CMAKE_MINIMUM_REQUIRED(VERSION 2.6) PROJECT(hal-backend-bluetooth-usb C) FOREACH(flag ${package_CFLAGS}) SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") ENDFOREACH(flag) SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}") INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.APLv2 DESTINATION ${HAL_LICENSE_DIR}/${PROJECT_NAME}) ADD_SUBDIRECTORY(scripts) ADD_SUBDIRECTORY(src)