diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-09-18 17:11:01 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-09-18 17:11:01 +0200 |
commit | ddf4f8cb9c2c3caa668915b222cccca6bd5e0094 (patch) | |
tree | 70f25ce68f3a90e929cfb7158b3a0cf45f97056f /vendor.cmake | |
parent | Updater: add --dry-run parameter (diff) | |
download | smolbote-ddf4f8cb9c2c3caa668915b222cccca6bd5e0094.tar.xz |
Update vendor.cmake
- add some more comments
- made plugin include paths more generic
Diffstat (limited to 'vendor.cmake')
-rw-r--r-- | vendor.cmake | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/vendor.cmake b/vendor.cmake index 0e59149..45a9f7e 100644 --- a/vendor.cmake +++ b/vendor.cmake @@ -1,16 +1,25 @@ -# Build configuration - -# install paths -set(BINARY_DESTINATION bin) +## Build configuration +# Feel free to copy this file and change settings as you need. To use your own +# variant, use -DVENDOR=<path to your vendor.cmake> when generating the build +# script. + +## Naming +# Executable name +set(poi_exe poi) +# Application name +set(poi_name "smolbote") + +## Install Paths +# Binaries will be installed to ${CMAKE_INSTALL_PREFIX}/${installPath_bin} +set(installPath_bin bin) + +# Plugins will be installed to ${CMAKE_INSTALL_PREFIX}/${installPath_plugin} if(${CMAKE_SYSTEM_NAME} MATCHES "Windows") - set(PLUGIN_DESTINATION bin/plugins) + set(installPath_plugin bin/plugins) else() - set(PLUGIN_DESTINATION lib/smolbote) + set(installPath_plugin lib/smolbote) endif() -# executable name -set(poi_NAME poi) - # version information if (EXISTS "${PROJECT_SOURCE_DIR}/.git") execute_process(COMMAND git rev-list --count HEAD WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} OUTPUT_VARIABLE VerRevision OUTPUT_STRIP_TRAILING_WHITESPACE) |