Permalink
Browse files

CMakeLists: enable UNITTEST flags

:Release Notes:

:Detailed Notes:
Turn on UNITTEST when global WEBOS_CONFIG_BUILD_TESTS flag are enable

:Testing Performed:
Testing on local environment

:QA Notes:

:Issues Addressed:

Open-webOS-DCO-1.0-Signed-off-by: Maksym Sditanov <msditanov@luxoft.com>

Change-Id: Ia639d531c0dd66a9e5d8b02d7a6e53621b04558f
Reviewed-on: https://g2g.palm.com/2955
Reviewed-by: Build Verification
Reviewed-by: Maksym Sditanov <msditanov@luxoft.com>
Tested-by: Maksym Sditanov <msditanov@luxoft.com>
Reviewed-by: Roger Stringer <roger.stringer@lge.com>
  • Loading branch information...
1 parent ec3d4a1 commit cc673c367c4d4425400cd7114e071d8a72d2a2c5 Maksym Sditanov committed with RS102839 Jul 29, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 CMakeLists.txt
View
@@ -71,3 +71,7 @@ target_link_libraries(activitymanager
webos_build_daemon()
webos_build_system_bus_files()
webos_build_db8_files()
+
+if (WEBOS_CONFIG_BUILD_TESTS)
+ webos_add_compiler_flags(ALL -DUNITTEST)
+endif()

0 comments on commit cc673c3

Please sign in to comment.