mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-30 03:15:38 -05:00
15 lines
441 B
Text
15 lines
441 B
Text
|
cmake_minimum_required(VERSION 3.3.0)
|
||
|
|
||
|
add_library(proxy_loader SHARED proxyLoader.c)
|
||
|
set_target_properties(proxy_loader PROPERTIES
|
||
|
OUTPUT_NAME "XInput9_1_0"
|
||
|
RUNTIME_OUTPUT_DIRECTORY "${GEODE_BIN_PATH}"
|
||
|
)
|
||
|
|
||
|
add_custom_command(
|
||
|
COMMAND
|
||
|
${CMAKE_COMMAND} -E rename "$<TARGET_FILE:proxy_loader>" "${GEODE_BIN_PATH}/nightly/$<TARGET_FILE_NAME:proxy_loader>"
|
||
|
DEPENDS $<TARGET_FILE:proxy_loader>
|
||
|
VERBATIM
|
||
|
TARGET proxy_loader
|
||
|
)
|