mirror of
https://github.com/lifting-bits/sleigh
synced 2026-06-21 13:56:12 +00:00
c7419e7392
* CI: Enable Windows testing * Fix compilation error on Windows * Remove compiler warnings as errors * Move tests to the last step to upload Windows binaries * Add test for find_package testing in Windows Makes testing it easier for multi-config generators
37 lines
698 B
CMake
37 lines
698 B
CMake
#
|
|
# Copyright (c) 2021-present, Trail of Bits, Inc.
|
|
# All rights reserved.
|
|
#
|
|
# This source code is licensed in accordance with the terms specified in
|
|
# the LICENSE file found in the root directory of this source tree.
|
|
#
|
|
|
|
add_executable(sleigh-lift
|
|
src/main.cpp
|
|
)
|
|
add_executable(sleigh::sleigh-lift ALIAS sleigh-lift)
|
|
|
|
target_link_libraries(sleigh-lift PRIVATE
|
|
sleigh::sla
|
|
sleigh::decomp
|
|
sleigh::support
|
|
)
|
|
|
|
if(NOT CMAKE_SKIP_INSTALL_RULES)
|
|
install(
|
|
TARGETS
|
|
sleigh-lift
|
|
|
|
EXPORT
|
|
"sleigh"
|
|
|
|
DESTINATION
|
|
"${CMAKE_INSTALL_BINDIR}"
|
|
|
|
PERMISSIONS
|
|
OWNER_READ OWNER_WRITE OWNER_EXECUTE
|
|
GROUP_READ GROUP_EXECUTE
|
|
WORLD_READ WORLD_EXECUTE
|
|
)
|
|
endif()
|