1
0
mirror of synced 2024-12-01 02:37:18 +01:00
ImHex/tests/common/CMakeLists.txt
KOLANICH 749823e044
build: Move -s additional compiler flags into linker flags, and enable it only when gcc/clang are used. (#1087)
Compiler when compiling doesn't use them in those cases and emit a
warning, which is turned into an error by `-Werror`. Unfortunately,
CPack doesn't expose the logic it uses for stripping binaries.
2023-05-20 13:37:57 +02:00

10 lines
244 B
CMake

cmake_minimum_required(VERSION 3.16)
project(tests_common)
add_library(tests_common STATIC
source/main.cpp
)
target_include_directories(tests_common PUBLIC include)
target_link_libraries(tests_common PUBLIC libimhex ${FMT_LIBRARIES})