Skip to content

Commit

Permalink
Merge branch 'master' into branch 'feature-issue23' #23
Browse files Browse the repository at this point in the history
Squashed commit of the following:

commit 5969148
Merge: b0ebc99 da19eaf
Author: Antoine <[email protected]>
Date:   Sat Nov 14 12:29:28 2020 -0500

    Merge branch 'feature-issue23' #23

    * feature-issue23:
      Updated CHANGES for this issue.
      Merged 'master' into 'feature-issue23' branch.
      Added a small contribution.
      Small correction in exprtk attribute documentation.
      Added documentation for exprtk attribute on <property> elements.
      Small corrections.
      Fixed libEval::evaluate() to prevent buffer overflows.
      Implemented exprtk attribute support for ActionProperty. Created unit tests for ActionProperty.
      Implemented exprtk error logging when validating for visibility or validity. Errors are added to the logs.
      Implemented error support in libEval (with unit tests).
      Updated INSTALL.md document for exprtk dependency. Updated UserManual.md for exprtk attribute
      Added exprtk license file: exprtk LICENSE.txt
      Implemented logging for Validator class when an invalid value for class or exprtk attributes. Implemented more testing for exprtk attribute. Added exprtk license file: exprtk LICENSE.txt
      Implemented inversed exprtk support and tests.
      Implemented parsing of attribute `exprtk`. For issue #23.
      Partially reverted code that was commented in error.
      Added a dependency to Exprtk. The library is downloaded and used automatically. The project `libeval` was created to wrap exprtk library for easier usage. Implemented Validator::SetExprtk() and Validator::GetExprtk() with tests. Created the following new properties: `selection.count`, `selection.files.count` and `selection.directories.count`. For issue #23.
      Enabled building of branch `feature-issue23`.

commit da19eaf
Author: Antoine <[email protected]>
Date:   Sat Nov 14 12:21:04 2020 -0500

    Updated CHANGES for this issue.

commit 249dc78
Author: Antoine <[email protected]>
Date:   Sat Nov 14 12:07:11 2020 -0500

    Merged 'master' into 'feature-issue23' branch.

    Squashed commit of the following:

    commit b0ebc99
    Author: Antoine <[email protected]>
    Date:   Sat Nov 14 11:40:54 2020 -0500

        Increased product version to 0.6.0.

    commit 0aa7e75
    Author: Antoine <[email protected]>
    Date:   Sat Nov 14 10:10:06 2020 -0500

        Updated CHANGES for v0.5.1.

    commit 7bbc45d
    Author: Antoine <[email protected]>
    Date:   Sat Nov 14 09:27:16 2020 -0500

        Moved the generated html files (from markdown) to the build directory.

    commit 2e83c44
    Author: Antoine <[email protected]>
    Date:   Sat Nov 14 08:44:03 2020 -0500

        Modified Wix installer:
        - Application how installs in directory `C:\Program Files\ShellAnything 0.5.1`.
        - Start menu entry is now named `ShellAnything 0.5.1` instead of `ShellAnything`.

        For issue #75

    commit 8185779
    Author: Antoine <[email protected]>
    Date:   Fri Nov 13 20:16:51 2020 -0500

        Added AUTHORS, CHANGES, LICENSE and CONTRIBUTING.md files to installer package. Text files without extensions are packaged with 'txt' file extension.
        For issue #75

    commit 270c48e
    Author: Antoine <[email protected]>
    Date:   Fri Nov 13 20:16:12 2020 -0500

        Increased product to 0.5.1.

    commit 1af4c0c
    Merge: c2e7699 2a14529
    Author: Mindaugas <[email protected]>
    Date:   Sun Nov 8 09:40:29 2020 +0200

        Merge pull request #74 from end2endzone/feature-issue56

        Reintegrating issue #56 into master branch.

    commit 2a14529
    Author: Antoine <[email protected]>
    Date:   Sat Nov 7 10:58:28 2020 -0500

        Modified TestActionExecute.testVerb() to use shellanything_unittest.exe for debugging instead of cmd.exe which does not well with 'runas' verb.

    commit 740af0f
    Author: Antoine <[email protected]>
    Date:   Sat Nov 7 10:57:20 2020 -0500

        Modified ArgumentsHandler::PrintProcessSettings() to also print command line arguments and also print the settings to an output file.

    commit 7412ab8
    Author: Antoine <[email protected]>
    Date:   Sat Nov 7 09:22:08 2020 -0500

        Implemented custom command line arguments in unit tests.

    commit bff3894
    Author: Antoine <[email protected]>
    Date:   Tue Nov 3 17:35:52 2020 -0500

        Modified ActionExecute::Execute() to delegate to ExecuteVerb() or ExecuteProcess(). Created unit tests.

    commit 23e3df9
    Author: Antoine <[email protected]>
    Date:   Sun Nov 1 07:54:18 2020 -0500

        Updated CHANGES file.
        Moved `ActionExecute::StartProcess()` private.
        Fixed a bad copy paste for `ActionExecute::SetVerb()` and `ActionExecute::GetVerb()`.
        Updated documentation for verb attribute of <exec> element.
        Fixed missing closing quotes in logs of ActionExecute::Execute().
        Created TestObjectFactory.testParseActionExecute() unit tests to validate parsing.
        For issue #56.

    commit d0de816
    Author: Mindaugas <[email protected]>
    Date:   Wed Oct 7 21:21:16 2020 +0300

        Migrating from CreateProcess to ShellExecuteEx

    commit c2e7699
    Author: Antoine <[email protected]>
    Date:   Sat Oct 3 08:26:27 2020 -0400

        Updated CHANGES for issue #54.

    commit 8659617
    Author: Mindaugas <[email protected]>
    Date:   Wed Sep 30 21:56:56 2020 +0300

        Bitmap device-independent (DIP) transparency corrections

    commit aa627ad
    Author: Mindaugas <[email protected]>
    Date:   Sun Sep 27 21:26:45 2020 +0300

        Bitmap device-independent (DIP) transparency

commit 0be9aac
Author: Antoine <[email protected]>
Date:   Sat Nov 14 12:05:47 2020 -0500

    Added a small contribution.

commit b0ebc99
Author: Antoine <[email protected]>
Date:   Sat Nov 14 11:40:54 2020 -0500

    Increased product version to 0.6.0.

commit 0aa7e75
Author: Antoine <[email protected]>
Date:   Sat Nov 14 10:10:06 2020 -0500

    Updated CHANGES for v0.5.1.

commit 7bbc45d
Author: Antoine <[email protected]>
Date:   Sat Nov 14 09:27:16 2020 -0500

    Moved the generated html files (from markdown) to the build directory.

commit 2e83c44
Author: Antoine <[email protected]>
Date:   Sat Nov 14 08:44:03 2020 -0500

    Modified Wix installer:
    - Application how installs in directory `C:\Program Files\ShellAnything 0.5.1`.
    - Start menu entry is now named `ShellAnything 0.5.1` instead of `ShellAnything`.

    For issue #75

commit 8185779
Author: Antoine <[email protected]>
Date:   Fri Nov 13 20:16:51 2020 -0500

    Added AUTHORS, CHANGES, LICENSE and CONTRIBUTING.md files to installer package. Text files without extensions are packaged with 'txt' file extension.
    For issue #75

commit 270c48e
Author: Antoine <[email protected]>
Date:   Fri Nov 13 20:16:12 2020 -0500

    Increased product to 0.5.1.

commit 1af4c0c
Merge: c2e7699 2a14529
Author: Mindaugas <[email protected]>
Date:   Sun Nov 8 09:40:29 2020 +0200

    Merge pull request #74 from end2endzone/feature-issue56

    Reintegrating issue #56 into master branch.

commit 2a14529
Author: Antoine <[email protected]>
Date:   Sat Nov 7 10:58:28 2020 -0500

    Modified TestActionExecute.testVerb() to use shellanything_unittest.exe for debugging instead of cmd.exe which does not well with 'runas' verb.

commit 740af0f
Author: Antoine <[email protected]>
Date:   Sat Nov 7 10:57:20 2020 -0500

    Modified ArgumentsHandler::PrintProcessSettings() to also print command line arguments and also print the settings to an output file.

commit 7412ab8
Author: Antoine <[email protected]>
Date:   Sat Nov 7 09:22:08 2020 -0500

    Implemented custom command line arguments in unit tests.

commit bff3894
Author: Antoine <[email protected]>
Date:   Tue Nov 3 17:35:52 2020 -0500

    Modified ActionExecute::Execute() to delegate to ExecuteVerb() or ExecuteProcess(). Created unit tests.

commit 23e3df9
Author: Antoine <[email protected]>
Date:   Sun Nov 1 07:54:18 2020 -0500

    Updated CHANGES file.
    Moved `ActionExecute::StartProcess()` private.
    Fixed a bad copy paste for `ActionExecute::SetVerb()` and `ActionExecute::GetVerb()`.
    Updated documentation for verb attribute of <exec> element.
    Fixed missing closing quotes in logs of ActionExecute::Execute().
    Created TestObjectFactory.testParseActionExecute() unit tests to validate parsing.
    For issue #56.

commit adc1a2d
Author: Antoine <[email protected]>
Date:   Sat Oct 31 09:41:26 2020 -0400

    Small correction in exprtk attribute documentation.

commit 7bfe79d
Author: Antoine <[email protected]>
Date:   Sat Oct 31 09:33:54 2020 -0400

    Added documentation for exprtk attribute on <property> elements.

commit dc3c459
Author: Antoine <[email protected]>
Date:   Sat Oct 31 09:27:09 2020 -0400

    Small corrections.

commit 22879cb
Author: Antoine <[email protected]>
Date:   Sat Oct 24 12:00:03 2020 -0400

    Fixed libEval::evaluate() to prevent buffer overflows.

commit 98fea11
Author: Antoine <[email protected]>
Date:   Fri Oct 23 19:00:02 2020 -0400

    Implemented exprtk attribute support for ActionProperty.
    Created unit tests for ActionProperty.

commit 74447c0
Author: Antoine <[email protected]>
Date:   Thu Oct 22 18:57:57 2020 -0400

    Implemented exprtk error logging when validating for visibility or validity. Errors are added to the logs.

commit 2990f9d
Author: Antoine <[email protected]>
Date:   Wed Oct 21 18:55:48 2020 -0400

    Implemented error support in libEval (with unit tests).

commit 0aef7da
Author: Antoine <[email protected]>
Date:   Fri Oct 16 20:51:46 2020 -0400

    Updated INSTALL.md document for exprtk dependency.
    Updated UserManual.md for exprtk attribute

commit f70cd8d
Author: Antoine <[email protected]>
Date:   Fri Oct 16 20:48:55 2020 -0400

    Added exprtk license file: exprtk LICENSE.txt

commit c91c033
Author: Antoine <[email protected]>
Date:   Fri Oct 16 20:48:34 2020 -0400

    Implemented logging for Validator class when an invalid value for class or exprtk attributes.
    Implemented more testing for exprtk attribute.
    Added exprtk license file: exprtk LICENSE.txt

commit d0de816
Author: Mindaugas <[email protected]>
Date:   Wed Oct 7 21:21:16 2020 +0300

    Migrating from CreateProcess to ShellExecuteEx

commit 504f74e
Author: Antoine <[email protected]>
Date:   Sun Oct 4 09:13:01 2020 -0400

    Implemented inversed exprtk support and tests.

commit c2e7699
Author: Antoine <[email protected]>
Date:   Sat Oct 3 08:26:27 2020 -0400

    Updated CHANGES for issue #54.

commit 8659617
Author: Mindaugas <[email protected]>
Date:   Wed Sep 30 21:56:56 2020 +0300

    Bitmap device-independent (DIP) transparency corrections

commit aa627ad
Author: Mindaugas <[email protected]>
Date:   Sun Sep 27 21:26:45 2020 +0300

    Bitmap device-independent (DIP) transparency

commit f7ecf2c
Author: Antoine <[email protected]>
Date:   Tue Sep 15 19:12:45 2020 -0400

    Implemented parsing of attribute `exprtk`. For issue #23.

commit cb6b893
Author: Antoine <[email protected]>
Date:   Mon Sep 14 20:21:42 2020 -0400

    Partially reverted code that was commented in error.

commit 08f21fb
Author: Antoine <[email protected]>
Date:   Mon Sep 14 20:20:50 2020 -0400

    Added a dependency to Exprtk. The library is downloaded and used automatically. The project `libeval` was created to wrap exprtk library for easier usage.
    Implemented Validator::SetExprtk() and Validator::GetExprtk() with tests.
    Created the following new properties: `selection.count`, `selection.files.count` and `selection.directories.count`.
    For issue #23.

commit ab055c9
Author: Antoine <[email protected]>
Date:   Sun Sep 13 08:46:48 2020 -0400

    Enabled building of branch `feature-issue23`.

commit 02fcca0
Author: Antoine <[email protected]>
Date:   Mon Sep 7 10:22:05 2020 -0400

    Fixed a small issue with pattern attribute documentation.
  • Loading branch information
end2endzone committed Nov 21, 2020
1 parent 079c652 commit 1c2ca19
Show file tree
Hide file tree
Showing 42 changed files with 2,083 additions and 73 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/build
/install
/third_parties
/README.html
/UserManual.html
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
# their names here. Please keep the list sorted by first names.

Antoine Beauchamp <[email protected]>
Mindaugas Ribaconka <[email protected]>
12 changes: 12 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
Changes for 0.6.0

* Fixed issue #23: Implement menu validation based on a string expression


Changes for 0.5.1

* Fixed issue #75: Wix Installer: Incorrect shortcuts in Start Menu


Changes for 0.5.0

* Fixed issue #45: Registration and unregistration scripts are missing from installer and portable version.
Expand All @@ -7,7 +17,9 @@ Changes for 0.5.0
* Fixed issue #49: Validity / Visibility should have an `inverse` attribute.
* Fixed issue #51: Action "Open command prompt here" from default.xml configuration does not work.
* Fixed issue #52: Define a specific property for use as separator for handling multiple file selection.
* Fixed issue #54: Icon background and dark mode.
* Fixed issue #55: Menu name maximum length limit and escape string.
* Fixed issue #56: Not implemented administrator mode.
* Fixed issue #58: More useful features: class and pattern attributes for validity / visibility.
* Fixed issue #61: Support for WIX installer.
* Fixed issue #66: Github don't identify the repository LICENSE as MIT.
Expand Down
91 changes: 84 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,43 @@ find_package(WIX)
find_package(NSIS)
find_package(GRIP)

##############################################################################################################################################
# Dependencies
##############################################################################################################################################

# packages directory
set(PACKAGE_DOWNLOAD_DIR ${CMAKE_BINARY_DIR}/external)
if(NOT EXISTS ${PACKAGE_DOWNLOAD_DIR})
file(MAKE_DIRECTORY ${PACKAGE_DOWNLOAD_DIR})
endif()

# exprtk
# The exprtk library do not provides version based releases.
# At the time of this writing, HEAD revision is commit d312ba91419c9cb12c8279fd3a19096d39dfcb5e
# available at https://github.com/ArashPartow/exprtk/archive/d312ba91419c9cb12c8279fd3a19096d39dfcb5e.zip
# Using latest revision to get all bug fixes.
set(EXPRTK_PACKAGE_URL "https://github.com/ArashPartow/exprtk/archive/master.zip")
set(EXPRTK_PACKAGE_PATH ${PACKAGE_DOWNLOAD_DIR}/exprtk.zip)
if(NOT EXISTS ${EXPRTK_PACKAGE_PATH})
message(STATUS "Downloading exprtk package from ${EXPRTK_PACKAGE_URL}")
file(DOWNLOAD ${EXPRTK_PACKAGE_URL} ${EXPRTK_PACKAGE_PATH}
TIMEOUT 60 # seconds
TLS_VERIFY ON
)

message(STATUS "Extracting exprtk package to ${EXPRTK_PACKAGE_PATH}")
execute_process(COMMAND ${CMAKE_COMMAND} -E tar xzf
${EXPRTK_PACKAGE_PATH}
WORKING_DIRECTORY ${PACKAGE_DOWNLOAD_DIR}
)
endif()
set(EXPRTK_HEADER_PATH ${PACKAGE_DOWNLOAD_DIR}/exprtk-master/exprtk.hpp)
if(EXISTS ${EXPRTK_HEADER_PATH})
message(STATUS "Found exprtk header file: ${EXPRTK_HEADER_PATH}")
else()
message(FATAL_ERROR "exprtk header file not found.")
endif()

##############################################################################################################################################
# Standard CMake variables
##############################################################################################################################################
Expand Down Expand Up @@ -68,7 +105,7 @@ MESSAGE( STATUS "CMAKE_SYSTEM_PROCESSOR: " ${CMAKE_SYSTEM_PROCESSOR} )

# Product version according to Semantic Versioning v2.0.0 https://semver.org/
set(SHELLANYTHING_VERSION_MAJOR 0)
set(SHELLANYTHING_VERSION_MINOR 5)
set(SHELLANYTHING_VERSION_MINOR 6)
set(SHELLANYTHING_VERSION_PATCH 0)
set(SHELLANYTHING_VERSION ${SHELLANYTHING_VERSION_MAJOR}.${SHELLANYTHING_VERSION_MINOR}.${SHELLANYTHING_VERSION_PATCH})

Expand Down Expand Up @@ -180,33 +217,59 @@ if (SHELLANYTHING_BUILD_DOC)
endif()

##############################################################################################################################################
# Convert markdown files to html for publishing with installers.
# Convert markdown/text files to html/txt for publishing with installers.
##############################################################################################################################################

# Set the default filenames to be published with the install/package.
set (README_FILENAME README.md)
set (USERMANUAL_FILENAME UserManual.md)
set (CONTRIBUTING_FILENAME CONTRIBUTING.md)

if (GRIP_FOUND)
# Convert README.md
execute_process(COMMAND grip README.md --export README.html --user-content --context=end2endzone/ShellAnything RESULT_VARIABLE res_var WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
execute_process(COMMAND grip README.md --export ${CMAKE_BINARY_DIR}/README.html --user-content --context=end2endzone/ShellAnything RESULT_VARIABLE res_var WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
if("${res_var}" STREQUAL "0")
set (README_FILENAME README.html)
else()
message(FATAL_ERROR "grip failed converting README.md with res_var='${res_var}'")
endif()

# Convert UserManual.md
execute_process(COMMAND grip UserManual.md --export UserManual.html --user-content --context=end2endzone/ShellAnything RESULT_VARIABLE res_var WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
execute_process(COMMAND grip UserManual.md --export ${CMAKE_BINARY_DIR}/UserManual.html --user-content --context=end2endzone/ShellAnything RESULT_VARIABLE res_var WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
if("${res_var}" STREQUAL "0")
set (USERMANUAL_FILENAME UserManual.html)
else()
message(FATAL_ERROR "grip failed converting UserManual.md with res_var='${res_var}'")
endif()

# Convert CONTRIBUTING.md
execute_process(COMMAND grip CONTRIBUTING.md --export ${CMAKE_BINARY_DIR}/CONTRIBUTING.html --user-content --context=end2endzone/ShellAnything RESULT_VARIABLE res_var WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
if("${res_var}" STREQUAL "0")
set (CONTRIBUTING_FILENAME CONTRIBUTING.html)
else()
message(FATAL_ERROR "grip failed converting CONTRIBUTING.md with res_var='${res_var}'")
endif()
else()
message(WARNING "grip is not found on the system. grip is required for publishing markdown files to html. Files will be published as *.md files.")
endif()

# AUTHORS.txt
set(SHELLANYTHING_AUTHOR_TXT ${CMAKE_BINARY_DIR}/AUTHORS.txt)
message("Exporting to ${SHELLANYTHING_AUTHOR_TXT}...")
configure_file( ${CMAKE_SOURCE_DIR}/AUTHORS ${SHELLANYTHING_AUTHOR_TXT} )
get_filename_component(AUTHOR_FILENAME ${SHELLANYTHING_AUTHOR_TXT} NAME)

# CHANGES.txt
set(SHELLANYTHING_CHANGES_TXT ${CMAKE_BINARY_DIR}/CHANGES.txt)
message("Exporting to ${SHELLANYTHING_CHANGES_TXT}...")
configure_file( ${CMAKE_SOURCE_DIR}/CHANGES ${SHELLANYTHING_CHANGES_TXT} )
get_filename_component(CHANGES_FILENAME ${SHELLANYTHING_CHANGES_TXT} NAME)

# LICENSE.txt
set(SHELLANYTHING_LICENSE_TXT ${CMAKE_BINARY_DIR}/LICENSE.txt)
message("Exporting to ${SHELLANYTHING_LICENSE_TXT}...")
configure_file( ${CMAKE_SOURCE_DIR}/LICENSE ${SHELLANYTHING_LICENSE_TXT} )
get_filename_component(LICENSE_FILENAME ${SHELLANYTHING_LICENSE_TXT} NAME)

##############################################################################################################################################
# Install
Expand Down Expand Up @@ -243,8 +306,13 @@ install(FILES ${CMAKE_SOURCE_DIR}/docs/screenshot_file.png

install(FILES ${CMAKE_SOURCE_DIR}/README.md
${CMAKE_SOURCE_DIR}/UserManual.md
${CMAKE_SOURCE_DIR}/${README_FILENAME}
${CMAKE_SOURCE_DIR}/${USERMANUAL_FILENAME}
${CMAKE_SOURCE_DIR}/CONTRIBUTING.md
${CMAKE_BINARY_DIR}/${README_FILENAME}
${CMAKE_BINARY_DIR}/${USERMANUAL_FILENAME}
${CMAKE_BINARY_DIR}/${CONTRIBUTING_FILENAME}
${CMAKE_BINARY_DIR}/${AUTHOR_FILENAME}
${CMAKE_BINARY_DIR}/${CHANGES_FILENAME}
${CMAKE_BINARY_DIR}/${LICENSE_FILENAME}
DESTINATION ${SHELLANYTHING_INSTALL_ROOT_DIR})

##############################################################################################################################################
Expand Down Expand Up @@ -303,6 +371,10 @@ set(CPACK_PACKAGE_EXECUTABLES
set(CPACK_NSIS_MENU_LINKS
"${README_FILENAME}" "${README_FILENAME}"
"${USERMANUAL_FILENAME}" "${USERMANUAL_FILENAME}"
"${CONTRIBUTING_FILENAME}" "${CONTRIBUTING_FILENAME}"
"${AUTHOR_FILENAME}" "${AUTHOR_FILENAME}"
"${CHANGES_FILENAME}" "${CHANGES_FILENAME}"
"${LICENSE_FILENAME}" "${LICENSE_FILENAME}"
"licenses" "Third party licenses"
"https://github.com/end2endzone/ShellAnything" "ShellAnything Web Site"
"bin/register.bat" "Register shell extension"
Expand All @@ -318,6 +390,7 @@ set(CPACK_WIX_UPGRADE_GUID "EBEF1698-CA72-480A-9FE3-E8A08E7E03ED")
set(CPACK_WIX_LICENSE_RTF "${CMAKE_SOURCE_DIR}/resources/wix_license_template.rtf")
set(CPACK_WIX_PRODUCT_ICON "${CMAKE_SOURCE_DIR}/resources/icons/shellanything.ico")
set(CPACK_WIX_HELP_LINK "https://github.com/end2endzone/ShellAnything")
set(CPACK_WIX_PROGRAM_MENU_FOLDER "ShellAnything ${SHELLANYTHING_VERSION}")

# Do not set 'CPACK_WIX_PRODUCT_GUID' to a valid GUID (ie "C532D05F-E319-4A0E-BD41-14B0B26F245B")
# Set CPACK_WIX_UPGRADE_GUID to something fixed while leaving CPACK_WIX_PRODUCT_GUID unset
Expand All @@ -328,9 +401,13 @@ set(CPACK_WIX_HELP_LINK "https://github.com/end2endzone/ShellAnything")
# See https://gitlab.kitware.com/cmake/cmake/-/issues/18081 for details.

# Define start menu shortcuts for WIX
set_property(INSTALL "bin/$<TARGET_FILE_NAME:shellext>" PROPERTY CPACK_START_MENU_SHORTCUTS "Run Unit Tests" )
set_property(INSTALL "bin/$<TARGET_FILE_NAME:shellanything_unittest>" PROPERTY CPACK_START_MENU_SHORTCUTS "Run Unit Tests" )
set_property(INSTALL "${README_FILENAME}" PROPERTY CPACK_START_MENU_SHORTCUTS "${README_FILENAME}" )
set_property(INSTALL "${USERMANUAL_FILENAME}" PROPERTY CPACK_START_MENU_SHORTCUTS "${USERMANUAL_FILENAME}" )
set_property(INSTALL "${CONTRIBUTING_FILENAME}" PROPERTY CPACK_START_MENU_SHORTCUTS "${CONTRIBUTING_FILENAME}" )
set_property(INSTALL "${AUTHOR_FILENAME}" PROPERTY CPACK_START_MENU_SHORTCUTS "${AUTHOR_FILENAME}" )
set_property(INSTALL "${CHANGES_FILENAME}" PROPERTY CPACK_START_MENU_SHORTCUTS "${CHANGES_FILENAME}" )
set_property(INSTALL "${LICENSE_FILENAME}" PROPERTY CPACK_START_MENU_SHORTCUTS "${LICENSE_FILENAME}" )
set_property(INSTALL "./licenses" PROPERTY CPACK_START_MENU_SHORTCUTS "Third party licenses" ) # This one does not work!
set_property(INSTALL "https://github.com/end2endzone/ShellAnything" PROPERTY CPACK_START_MENU_SHORTCUTS "ShellAnything Web Site" )
set_property(INSTALL "bin/register.bat" PROPERTY CPACK_START_MENU_SHORTCUTS "Register shell extension" )
Expand Down
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ The following software must be installed on the system for compiling source code
* [Google Logging Library v0.4.0](https://github.com/google/glog/tree/v0.4.0)
* [TinyXML 2 v6.2.0](https://github.com/leethomason/tinyxml2/tree/6.2.0)
* [RapidAssist v0.8.1](https://github.com/end2endzone/RapidAssist/tree/0.8.1)
* [exprtk d312ba9](https://github.com/ArashPartow/exprtk) (downloaded automatically)
* [CMake](http://www.cmake.org/) v3.4.3 (or newer)
* (optional) [Grip (GitHub Readme Instant Preview)](https://github.com/joeyespo/grip) v4.5.2 (or newer)



### Windows Requirements ###

* Microsoft Visual C++ 2010 or newer
Expand Down
Loading

0 comments on commit 1c2ca19

Please sign in to comment.