Files
lifting-bits-sleigh/tools/sleigh-lift/CMakeLists.txt
T
Eric Kilmer c7419e7392 Windows support (#85)
* 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
2022-05-17 14:49:57 -04:00

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()