X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=CMakeLists.txt;h=7533abefd6541981987157a0815cce22478f9798;hp=8a871785dbd850b27dc1fc9d54f5754465de2905;hb=ade814a59b4660c5af865dd86cdd48cfa55e1ae5;hpb=998266bf16a3f88480382070b4af670d5998a1c5 diff --git a/CMakeLists.txt b/CMakeLists.txt index 8a87178..7533abe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,11 +5,6 @@ set(MINOR_VERSION 17) set(VERSION_STRING ${MAJOR_VERSION}.${MINOR_VERSION}) SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}") -option(ASYNC-MODE "enable experimental async mode. Linux only") -if(ASYNC-MODE) - add_definitions(-DLIBFTDI_LINUX_ASYNC_MODE) -endif(ASYNC-MODE) - # CMake if("${CMAKE_BUILD_TYPE}" STREQUAL "") set(CMAKE_BUILD_TYPE Debug) @@ -17,6 +12,8 @@ endif("${CMAKE_BUILD_TYPE}" STREQUAL "") set(CMAKE_COLOR_MAKEFILE ON) cmake_minimum_required(VERSION 2.6 FATAL_ERROR) +add_definitions(-Wall) + # Debug build message("-- Build type: ${CMAKE_BUILD_TYPE}") if(${CMAKE_BUILD_TYPE} STREQUAL Debug) @@ -99,6 +96,7 @@ endif(${UNIX}) add_subdirectory(src) add_subdirectory(ftdipp) add_subdirectory(bindings) +add_subdirectory(ftdi_eeprom) add_subdirectory(examples) add_subdirectory(packages)