X-Git-Url: http://developer.intra2net.com/git/?a=blobdiff_plain;f=CMakeLists.txt;h=f7df0a974b91d364b7288fdee66f21cff1b7edda;hb=b790d38e9fac3e2144293a84bfc6de72b01a6c6d;hp=a661d0f771630c2d8bea6ab2f8d71c079659f135;hpb=1343f5841f27b505b762d5259e6e7a08643ecd46;p=libftdi diff --git a/CMakeLists.txt b/CMakeLists.txt index a661d0f..f7df0a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ # Project project(libftdi) set(MAJOR_VERSION 0) -set(MINOR_VERSION 17) +set(MINOR_VERSION 99) set(VERSION_STRING ${MAJOR_VERSION}.${MINOR_VERSION}) SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}") @@ -96,9 +96,17 @@ endif(${UNIX}) add_subdirectory(src) add_subdirectory(ftdipp) add_subdirectory(bindings) +add_subdirectory(ftdi_eeprom) add_subdirectory(examples) add_subdirectory(packages) - +add_subdirectory(test) + +# "make dist" target +set(ARCHIVE_NAME ${CMAKE_PROJECT_NAME}-${VERSION_STRING}) +add_custom_target(dist + COMMAND git archive --prefix=${ARCHIVE_NAME}/ HEAD + | bzip2 > ${CMAKE_BINARY_DIR}/${ARCHIVE_NAME}.tar.bz2 + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}) # Documentation