From 28a8c6c65dd89174c92f32175d76c193edf74ccc Mon Sep 17 00:00:00 2001 From: deuce <> Date: Mon, 10 Feb 2014 00:49:35 +0000 Subject: [PATCH] Add CIOXtrn project to Win32 builds. --- src/CMakeLists.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index fe8dd302c8..5ba97a99e8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -4,6 +4,9 @@ cmake_minimum_required(VERSION 2.8.11) if(NOT PROJECTS) SET(PROJECTS SyncTERM;SyncDraw CACHE STRING "Choose the projects to build, options are: SyncTERM" FORCE) + if(WIN32) + list(APPEND PROJECTS CIOXtrn) + endif() endif() list(FIND PROJECTS SyncTERM BUILD_SYNCTERM) @@ -40,3 +43,18 @@ if(BUILD_SYNCDRAW GREATER -1) endif() add_subdirectory(syncdraw) endif() + +list(FIND PROJECTS CIOXtrn BUILD_CIOXTRN) +if(BUILD_CIOXTRN GREATER -1) + if(NOT XPDEV_ADDED) + include_directories(xpdev) + add_subdirectory(xpdev) + set(XPDEV_ADDED TRUE) + endif() + if(NOT CONIO_ADDED) + include_directories(conio) + add_subdirectory(conio) + set(CONIO_ADDED TRUE) + endif() + add_subdirectory(cioxtrn) +endif() -- GitLab