From 560e977f0589ac1c0feb6ea825d20d351e325826 Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Wed, 14 Mar 2012 19:57:29 +0400 Subject: Implement trivial RPC interface for dfhack via TCP & protobufs. Use it to make an executable capable of calling commands remotely. --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index c34202f2..4d8977bf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -104,6 +104,12 @@ ENDIF() # use shared libraries for protobuf ADD_DEFINITIONS(-DPROTOBUF_USE_DLLS) +if(UNIX) + add_definitions(-D_LINUX) +elseif(WIN32) + add_definitions(-DWIN32) +endif() + #### expose depends #### # find and make available libz -- cgit v1.2.1