From 5e427cf8731126b586a447d046a5d40377c51808 Mon Sep 17 00:00:00 2001 From: Miguel Gaio Date: Wed, 15 Jun 2016 13:13:52 +0200 Subject: [PATCH] cmake: Integrate client simulator as a subproject. Add opt-out option to disable client simulator build. Signed-off-by: Miguel Gaio --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 463f45fc4..134840180 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,6 +50,7 @@ option(PYTHON_BINDINGS "Python library to use the Parameter Framework from pytho option(C_BINDINGS "Library to use the Parameter Framework using a C API" ON) option(FATAL_WARNINGS "Turn warnings into errors (-Werror flag)" ON) option(NETWORKING "Set to OFF in order to stub networking code" ON) +option(CLIENT_SIMULATOR "Set to ON to enable client simulator" OFF) include(SetVersion.cmake) @@ -126,6 +127,9 @@ endif() add_subdirectory(tools/xmlGenerator) add_subdirectory(tools/xmlValidator) +if (CLIENT_SIMULATOR) + add_subdirectory(tools/clientSimulator) +endif() add_subdirectory(bindings)