From ddf4f8cb9c2c3caa668915b222cccca6bd5e0094 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Tue, 18 Sep 2018 17:11:01 +0200 Subject: Update vendor.cmake - add some more comments - made plugin include paths more generic --- vendor.cmake | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) (limited to 'vendor.cmake') 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= 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) -- cgit v1.2.1