2023-08-06 08:48:11 -04:00
|
|
|
# SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
|
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
2022-04-14 19:00:42 -04:00
|
|
|
add_executable(argcracker src/main.cpp src/tickcount.cpp)
|
2022-08-04 11:32:12 -04:00
|
|
|
target_link_libraries(argcracker PUBLIC Qt5::Core ${LIBRARIES} physis z)
|
2022-04-14 19:00:42 -04:00
|
|
|
target_include_directories(argcracker PUBLIC include)
|
|
|
|
|
2023-08-06 08:48:11 -04:00
|
|
|
if (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
|
2022-04-14 19:00:42 -04:00
|
|
|
target_compile_definitions(argcracker PUBLIC MACOS)
|
2023-08-06 08:48:11 -04:00
|
|
|
endif ()
|
2022-04-14 19:00:42 -04:00
|
|
|
|
2023-08-06 08:48:11 -04:00
|
|
|
if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
|
2022-04-14 19:00:42 -04:00
|
|
|
target_compile_definitions(argcracker PUBLIC WIN32)
|
|
|
|
endif()
|
|
|
|
|
2022-08-04 11:32:28 -04:00
|
|
|
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
2022-04-14 19:00:42 -04:00
|
|
|
target_compile_definitions(argcracker PUBLIC LINUX)
|
|
|
|
endif()
|