this repo has no description
1project(crashhandler)
2
3cmake_minimum_required(VERSION 3.13)
4if(COMMAND cmake_policy)
5 cmake_policy(SET CMP0003 NEW)
6endif(COMMAND cmake_policy)
7
8add_definitions(-fconstant-string-class=NSConstantString)
9
10set(crashhandler_src
11 crashhandler.m
12)
13
14set_source_files_properties(${crashhandler_src} PROPERTIES LANGUAGE C) # Stupid CMake thinks that ObjC is C++
15
16add_library(crashhandler SHARED ${crashhandler_src})
17target_link_libraries(crashhandler -lgnustep-gui -lgnustep-base)
18
19install(TARGETS crashhandler DESTINATION "${CMAKE_INSTALL_LIBDIR}/darling")
20