Skip to content

Commit

Permalink
Remove source cpack
Browse files Browse the repository at this point in the history
  • Loading branch information
certik committed Aug 7, 2020
1 parent df2f642 commit 4aedbfb
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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")
Expand Down Expand Up @@ -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}")
Expand Down

0 comments on commit 4aedbfb

Please sign in to comment.