1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
cmake_minimum_required(VERSION 2.6) cmake_policy(SET CMP0005 NEW) cmake_policy(SET CMP0003 OLD) PROJECT (accel-ppp C) include(cmake/cpack.cmake) if (NOT BUILD_DRIVER_ONLY) ADD_SUBDIRECTORY(accel-pppd) endif (NOT BUILD_DRIVER_ONLY) if (BUILD_DRIVER OR BUILD_DRIVER_ONLY) ADD_SUBDIRECTORY(driver) endif (BUILD_DRIVER OR BUILD_DRIVER_ONLY)