From 0760fe011114fa440275b487eaf766b015f40e5b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 16 Jun 2016 12:34:31 +0200 Subject: all: split "api" into "api" and "logic" Here, the "logic" module has all the stuff for building one's own graphical user interface. The "api" module has stuff used by other trackers. While at it, each of "api", "logic", and "compat" need their own export headers. This is because of preprocessor symbol clashes. This is all because a change in the "gui"-only dependency required a relink of all the trackers, protocols, and flters. It takes too long when building in the release configuration. With the split, only the "gui" module gets rebuilt. Since it has close to no static dependencies, it's fast enough. --- tracker-joystick/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tracker-joystick/CMakeLists.txt') diff --git a/tracker-joystick/CMakeLists.txt b/tracker-joystick/CMakeLists.txt index b5fbcf75..e0b6f281 100644 --- a/tracker-joystick/CMakeLists.txt +++ b/tracker-joystick/CMakeLists.txt @@ -1,3 +1,5 @@ if(WIN32) opentrack_boilerplate(opentrack-tracker-joystick) + target_link_libraries(opentrack-tracker-joystick opentrack-logic) endif() + -- cgit v1.2.3