X-Git-Url: http://developer.intra2net.com/git/?a=blobdiff_plain;f=CMakeLists.txt;h=f7df0a974b91d364b7288fdee66f21cff1b7edda;hb=720c7d2457ae1cd43abd36b3ac7e89b896e65119;hp=73517cf79b6536dd58970545306b0e7b8af58e48;hpb=f276fe667f966ba9e39ec67c64443e91aec479f0;p=libftdi diff --git a/CMakeLists.txt b/CMakeLists.txt index 73517cf..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}") @@ -99,7 +99,14 @@ 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