Skip to content
Snippets Groups Projects
Commit b42b96c4 authored by Martin Gels's avatar Martin Gels
Browse files

bug 1005: Created cmakefile.

parent 4199effa
No related branches found
No related tags found
No related merge requests found
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 ---------------------------
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment