Skip to content

Commit 242650b

Browse files
author
jarulraj
committed
Added deb and rpm packages
1 parent 9f52621 commit 242650b

3 files changed

Lines changed: 16 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,22 @@ if(UNIX OR APPLE)
7171
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -Wall -Wextra -Werror -lpthread")
7272
endif()
7373

74+
# ---[ Packaging
75+
76+
SET(VERSION "1.0.5")
77+
SET(CPACK_PACKAGE_NAME "SQLCheck")
78+
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Automatically identify anti-patterns in SQL queries.")
79+
SET(CPACK_PACKAGE_DESCRIPTION "SQLCheck automates the detection of common anti-patterns in SQL queries.
80+
Such anti-patterns often increase the time taken to run the queries on a database management system.
81+
Addressing these anti-patterns will, therefore, help improve the runtime performance of the queries.
82+
This tool targets all SQL dialects.")
83+
SET(CPACK_PACKAGE_VERSION ${VERSION})
84+
SET(CPACK_PACKAGE_RELEASE 1)
85+
SET(CPACK_GENERATOR "ZIP;TGZ;RPM;DEB")
86+
SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "Joy Arulraj") #required
87+
SET(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_PACKAGE_RELEASE}.${CMAKE_SYSTEM_PROCESSOR}")
88+
INCLUDE(CPack)
89+
7490
# ---[ Subdirectories
7591
add_subdirectory(src)
7692
add_subdirectory(test)
399 KB
Binary file not shown.
399 KB
Binary file not shown.

0 commit comments

Comments
 (0)