diff options
author | akshay-c | 2019-05-02 11:24:18 +0530 |
---|---|---|
committer | akshay-c | 2019-05-02 11:24:18 +0530 |
commit | 52b93dc4228459bd7e1204f80d983a3b29b32f1d (patch) | |
tree | 6b79e74c00111566b1bf4563bcf225a8135b6ed1 /ldmicro/CMakeLists.txt | |
parent | 867ec787c39eec99385e605eb403b64569619b22 (diff) | |
download | LDmicroQt-52b93dc4228459bd7e1204f80d983a3b29b32f1d.tar.gz LDmicroQt-52b93dc4228459bd7e1204f80d983a3b29b32f1d.tar.bz2 LDmicroQt-52b93dc4228459bd7e1204f80d983a3b29b32f1d.zip |
Solved DrawWindow's Focus, Cursor, RungDisplay(Scrolling) issues
Diffstat (limited to 'ldmicro/CMakeLists.txt')
-rw-r--r-- | ldmicro/CMakeLists.txt | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/ldmicro/CMakeLists.txt b/ldmicro/CMakeLists.txt index dced0da..2337bcb 100644 --- a/ldmicro/CMakeLists.txt +++ b/ldmicro/CMakeLists.txt @@ -73,8 +73,8 @@ IF(UNIX) add_custom_target(LDMicro_SCRIPT_GENERATED_FILES DEPENDS ${SCRIPT_GENERATED_FILES}) ## Version control - set (LDMicro_VERSION_MAJOR 1) - set (LDMicro_VERSION_MINOR 0) + set (LDMicro_VERSION_MAJOR 2) + set (LDMicro_VERSION_MINOR 2) ## configure a header file to pass some of the CMake settings ## to the source code @@ -174,6 +174,23 @@ endif() target_link_libraries(LDMicro ${Qt5Core_LIBRARIES}) target_link_libraries(LDMicro ${Qt5Gui_LIBRARIES}) + INSTALL(TARGETS LDMicro DESTINATION /usr/local/bin/ldmicro) + INSTALL(FILES ldmicro.ico DESTINATION /usr/local/bin/ldmicro) + INSTALL(FILES LDMicro.desktop DESTINATION /usr/share/applications) + + ##Debian package creation + set(CPACK_GENERATOR "DEB") + set(CPACK_PACKAGE_VERSION_MAJOR "2") + set(CPACK_PACKAGE_VERSION_MINOR "2") + set(CPACK_PACKAGE_VERSION_PATCH "4") + + set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON) + set(CPACK_PACKAGE_DESCRIPTION "Ladder Logic editor, simulator and compiler for 8 bit microcontrollers") + set(CPACK_PACKAGE_CONTACT "Akshay Chipkar akshaychipkar@yahoo.co.in") + set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA "${CMAKE_CURRENT_SOURCE_DIR}/Debian/postinst") + + include(CPack) + ## Add tests MESSAGE( STATUS "Adding tests.." ) add_custom_command( |