* Add new version env vars to example * Remove test file * Move CMake packaging to separate module and configure OpenSSL path for Windows * Make VS Code CMake build task default * Generate Microsoft-friendly 4-digit version number * Update macOS bundle .plist with build year variable * Use correct OpenSSL path and fixed various MSI variables * Use correct rest/dist dir for MSI * Add version .rc file for Windows * Use macro instead of over-complicated version query command * Made cmd_utils more secure by defaulting to no-shell and no-print * Add certificate management module * Implement packaging script on Windows * Refactor Mac packaging script to use new cmd_utils args and new cert module * Update ChangeLog * Change PFX env vars and add to CI * Use import as instead of from lib to solve resolve issue * Allow custom certificate extensions * Check for package version when using gdrive * Make version number required * Add missing shell * Add missing gdrive value in test * Find OpenSSL dir based on openssl binary * Only use first OpenSSL entry * More verbose logging * Improve logging * Only use env var if not empty * Fixed wrong var * Fixed macOS GitHub artefact name * Change filename format to match new convention
34 lines
1 KiB
CMake
34 lines
1 KiB
CMake
# synergy -- mouse and keyboard sharing utility
|
|
# Copyright (C) 2012-2016 Symless Ltd.
|
|
# Copyright (C) 2012 Nick Bolton
|
|
#
|
|
# This package is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU General Public License
|
|
# found in the file LICENSE that should have accompanied this file.
|
|
#
|
|
# This package is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
set(target synergyd)
|
|
|
|
file(GLOB headers "*.h")
|
|
file(GLOB sources "*.cpp")
|
|
|
|
if (WIN32)
|
|
add_executable (
|
|
${target}
|
|
WIN32
|
|
${sources}
|
|
${CMAKE_BINARY_DIR}/src/version.rc
|
|
)
|
|
else()
|
|
add_executable (${target} ${sources})
|
|
endif()
|
|
|
|
target_link_libraries (${target}
|
|
arch base common io ipc mt net platform synlib shared ${libs})
|