blob: 4d7d8e9ccd354ab93763275c4cf868ec45ba1836 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
cmake_minimum_required(VERSION 2.8)
project(glib-sock-serv)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
find_package(Glib)
find_package(GIO)
include_directories(${GLIB_PKG_INCLUDE_DIRS})
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g")
add_executable(instr-daemon instr-daemon.c signalobject.c response.c)
add_executable(instr-client instr-client.c)
target_link_libraries(instr-daemon gio-2.0)
target_link_libraries(instr-client gio-2.0)
|