From 3fac6d8f4e0d65a02a478dd32947c74b82b1b7b5 Mon Sep 17 00:00:00 2001 From: David Wagner Date: Mon, 17 Feb 2014 15:14:15 +0100 Subject: Add CMake Makefiles 1) Generate the Makefiles with "cmake"; 2) compile all targets with "make". Signed-off-by: David Wagner --- CMakeLists.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..283f452 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,19 @@ +# has been tested on 2.8 only - might work on older versions +cmake_minimum_required(VERSION 2.8) + +# linking policy (see cmake --help-policy CMP0003) +if(COMMAND cmake_policy) + cmake_policy(SET CMP0003 NEW) +endif(COMMAND cmake_policy) + +project(parameter-framework) + +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wall -Wextra") # -Wno-unused-parameter + +add_subdirectory(xmlserializer) +add_subdirectory(parameter) +add_subdirectory(utility) +add_subdirectory(remote-processor) + +add_subdirectory(remote-process) +add_subdirectory(test/test-platform) -- cgit v1.1