[core] off_t upload_temp_file_size
[lighttpd.git] / CMakeLists.txt
blob9f0fdf9f3a48d86b3d60f4684acdf89ff3347fa0
1 project(lighttpd C)
3 cmake_minimum_required(VERSION 2.8.2 FATAL_ERROR)
5 set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/scripts/cmake)
7 include(CTest)
9 enable_testing()
11 set(CPACK_PACKAGE_VERSION_MAJOR 1)
12 set(CPACK_PACKAGE_VERSION_MINOR 4)
13 set(CPACK_PACKAGE_VERSION_PATCH 54)
14 set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
16 set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING")
17 set(CPACK_RESOURCE_FILE_README "${CMAKE_SOURCE_DIR}/README")
18 set(CPACK_PACKAGE_VENDOR "jan@kneschke.de")
20 set(CPACK_SOURCE_GENERATOR "TGZ")
21 set(CPACK_SOURCE_IGNORE_FILES "/\\\\.;~$;/_;build/;CMakeFiles/;CMakeCache;gz$;Makefile\\\\.;trace;Testing/;foo;autom4te;cmake_install;CPack;\\\\.pem;ltmain.sh;configure;libtool;/config\\\\.;missing;autogen.sh;install-sh;Dart;aclocal;log$;Makefile$")
23 set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
25 add_subdirectory(src build)
26 #add_subdirectory(doc)
27 add_subdirectory(tests)