1
0
mirror of synced 2024-12-04 20:17:57 +01:00
ImHex/main/updater/CMakeLists.txt
2023-12-01 14:07:10 +01:00

15 lines
475 B
CMake

project(updater)
add_executable(updater ${APPLICATION_TYPE}
source/main.cpp
)
add_compile_definitions(IMHEX_PROJECT_NAME="${PROJECT_NAME}")
target_link_libraries(updater PRIVATE libimhex wolv::io ${FMT_LIBRARIES})
add_dependencies(imhex_all updater)
set_target_properties(updater PROPERTIES
OUTPUT_NAME "imhex-updater"
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/../..
CXX_VISIBILITY_PRESET hidden
POSITION_INDEPENDENT_CODE ON
)