1
0
mirror of synced 2024-11-24 15:50:16 +01:00
ImHex/main/updater/CMakeLists.txt

15 lines
475 B
CMake
Raw Normal View History

project(updater)
add_executable(updater ${APPLICATION_TYPE}
source/main.cpp
)
add_compile_definitions(IMHEX_PROJECT_NAME="${PROJECT_NAME}")
2023-12-01 14:07:10 +01:00
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
)