IVGCVSW-3719 Create test program executable.

Introduce a new test utility that simulates the Gatord service.
This will be used to test the external profiling features.

Change-Id: Ib7c75c1302650e140945cd66d272c23af3aac760
Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ef87c6d..b29a709 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -818,3 +818,22 @@
         ${Boost_PROGRAM_OPTIONS_LIBRARY})
     addDllCopyCommands(ArmnnConverter)
 endif()
+
+if(BUILD_GATORD_MOCK)
+    set(gatord_mock_sources)
+    list(APPEND gatord_mock_sources
+        tests/profiling/GatordMockMain.cpp
+        tests/profiling/CommandLineProcessor.hpp
+        tests/profiling/CommandLineProcessor.cpp
+        )
+
+    include_directories( ${Boost_INCLUDE_DIRS} )
+
+    add_executable_ex(GartordMock ${gatord_mock_sources})
+
+    target_link_libraries(GartordMock
+        ${Boost_PROGRAM_OPTIONS_LIBRARY}
+        )
+
+endif()
+