Private
Public Access
2
0
Files
mraa/CMakeLists.txt
Brendan Le Foll 9994ea855c maa: Refactor maa build system and partly implement i2c
* API headers moved to api/
* smbus file added from libi2c and kernel i2c header cleaned up
* fix compilation of swig and use i2c.h header

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-04-10 16:53:19 +01:00

19 lines
322 B
CMake

cmake_minimum_required (VERSION 2.8)
project (maa)
set(SWIG_EXECUTABLE /usr/bin/swig)
FIND_PACKAGE(SWIG REQUIRED)
INCLUDE(${SWIG_USE_FILE})
SET(CMAKE_SWIG_FLAGS "")
option(test "Build all tests." OFF)
add_subdirectory (src)
add_subdirectory (examples)
if (test)
enable_testing ()
add_subdirectory (tests)
endif()