diff options
Diffstat (limited to 'src/components/functional_module/CMakeLists.txt')
-rw-r--r-- | src/components/functional_module/CMakeLists.txt | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/src/components/functional_module/CMakeLists.txt b/src/components/functional_module/CMakeLists.txt deleted file mode 100644 index 07db91fc38..0000000000 --- a/src/components/functional_module/CMakeLists.txt +++ /dev/null @@ -1,58 +0,0 @@ -if (ENABLE_GCOV) - set(GCOV_FLAGS "-ftest-coverage -fprofile-arcs") -else() - set(GCOV_FLAGS "") -endif() - -set(CMAKE_CXX_FLAGS "-fPIC -std=gnu++0x -Wno-deprecated-declarations -Wall -Werror ${GCOV_FLAGS}") - -if (CMAKE_BUILD_TYPE) - if (${CMAKE_BUILD_TYPE} STREQUAL "Release") - set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG") - set(CMAKE_CXX_FLAGS_DEBUG "") - else () - set(CMAKE_CXX_FLAGS_RELEASE "") - set(CMAKE_CXX_FLAGS_DEBUG "-g3 -ggdb3 -DDEBUG") - endif() -endif() - -set(GCOV gcov) - -include_directories ( - ${COMPONENTS_DIR}/functional_module/include/ - ${COMPONENTS_DIR}/remote_control/include/ - ${COMPONENTS_DIR}/include/ - ${COMPONENTS_DIR}/application_manager/include - ${COMPONENTS_DIR}/connection_handler/include/ - ${COMPONENTS_DIR}/utils/include - ${POLICY_PATH}/include/ - ${POLICY_GLOBAL_INCLUDE_PATH}/ - ${COMPONENTS_DIR}/config_profile/include - ${COMPONENTS_DIR}/smart_objects/include - ${JSONCPP_INCLUDE_DIRECTORY} - ${LOG4CXX_INCLUDE_DIRECTORY} - ${CMAKE_BINARY_DIR}/src/components/ - - ${COMPONENTS_DIR}/application_manager/test/include/ -) - -set (SOURCES - ./src/generic_module.cc - ./src/plugin_manager.cc - ./src/timer/timer_director.cc -) -set (LIBRARIES - ApplicationManager - jsoncpp -) - -add_library("FunctionalModule" ${SOURCES}) -target_link_libraries("FunctionalModule" ${LIBRARIES} ) - -if(ENABLE_LOG) - target_link_libraries("FunctionalModule" log4cxx -L${LOG4CXX_LIBS_DIRECTORY} ${GCOV}) -endif() - -if(BUILD_TESTS) - add_subdirectory(test) -endif() |