diff --git a/CMakeLists.txt b/CMakeLists.txt index 94c158c52c..587441c250 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,10 +33,6 @@ endif () # Build a CPack driven installer package # -# To build a source package: -# -# cpack --config CPackSourceConfig.cmake -# # To build a binary package: # # cpack @@ -47,25 +43,6 @@ set(CPACK_STRIP_FILES YES) if (LFORTRAN_VERSION STREQUAL "0.1.1") set(CPACK_PACKAGE_FILE_NAME lfortran-git-${CMAKE_SYSTEM_NAME}) endif() -set(CPACK_SOURCE_GENERATOR "TBZ2") -set(CPACK_SOURCE_STRIP_FILES YES) -if (LFORTRAN_VERSION STREQUAL "0.1.1") - set(CPACK_SOURCE_PACKAGE_FILE_NAME lfortran-git-Source) -endif() -set(CPACK_SOURCE_IGNORE_FILES - /.git - /build - /grammar - /tests - /doc - /ci - /appveyor.yml - /azure-pipelines.yml - /test_lfort - /run_tests.py - /integration_tests - /compiler_tester -) include(CPack) # So that CPACK_PACKAGE_FILE_NAME prints the correct value below if (LFORTRAN_VERSION STREQUAL "0.1.1") @@ -154,7 +131,6 @@ message("Configuration results") message("---------------------") message("CMAKE_PROJECT_VERSION: ${CMAKE_PROJECT_VERSION}") message("CPACK_PACKAGE_FILE_NAME: ${CPACK_PACKAGE_FILE_NAME}") -message("CPACK_SOURCE_PACKAGE_FILE_NAME: ${CPACK_SOURCE_PACKAGE_FILE_NAME}") message("C compiler : ${CMAKE_C_COMPILER}") message("C++ compiler : ${CMAKE_CXX_COMPILER}") message("Build type: ${CMAKE_BUILD_TYPE}")