From b42b96c4dc7de9751f7f2c03d5a65cc4db03357f Mon Sep 17 00:00:00 2001 From: Martin Gels <gels@astron.nl> Date: Fri, 6 Mar 2009 08:57:46 +0000 Subject: [PATCH] bug 1005: Created cmakefile. --- LCS/ACC/PLC/test/CMakeLists.txt | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 LCS/ACC/PLC/test/CMakeLists.txt diff --git a/LCS/ACC/PLC/test/CMakeLists.txt b/LCS/ACC/PLC/test/CMakeLists.txt new file mode 100644 index 00000000000..447026da61a --- /dev/null +++ b/LCS/ACC/PLC/test/CMakeLists.txt @@ -0,0 +1,32 @@ +cmake_minimum_required (VERSION 2.6) + +include(LOFARTest) +include_directories ( ${LOFAR_SOURCE_DIR}/LCS/ACC/PLC/test ) + +## ------------------------------------------------------------------------------ +## Sourses + +file (GLOB tPCCmd_SRCS tPCCmd.cc ) + +## --- Macro(s) ------------------------------------- + +MACRO (TARGETLINKLIBRARIES_PLC_TEST _PROG) + target_link_libraries (${_PROG} + plc + ${LOG4CPLUS_LIBRARIES} + ${BACKTRACE_LIBRARIES} + ${SHMEM_LIBRARIES} ) +ENDMACRO (TARGETLINKLIBRARIES_PLC_TEST) + +## --- Programs to be built ------------------------- + +set (CHECKPROGS + tPCCmd +) + +foreach (prog ${CHECKPROGS}) + add_executable (${prog} ${${prog}_SRCS}) + TARGETLINKLIBRARIES_PLC_TEST (${prog}) +endforeach (prog ${CHECKPROGS}) + +## --- Programs to be run --------------------------- -- GitLab