diff --git a/backends/template/CMakeLists.txt b/backends/template/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..bee84e3466fa2803be46b86f6a1b710c15e7a0cb --- /dev/null +++ b/backends/template/CMakeLists.txt @@ -0,0 +1,14 @@ +cmake_minimum_required(VERSION 2.6) + +FILE(GLOB SRC *.c *.cpp) + +ADD_EXECUTABLE(spectrum2_template_backend ${SRC}) + +if (NOT WIN32) +target_link_libraries(spectrum2_template_backend transport pthread ${Boost_LIBRARIES} ${SWIFTEN_LIBRARY} ${LOG4CXX_LIBRARIES}) +else() +target_link_libraries(spectrum2_template_backend transport ${Boost_LIBRARIES} ${SWIFTEN_LIBRARY} ${LOG4CXX_LIBRARIES}) +endif() + +#INSTALL(TARGETS spectrum2_template_backend RUNTIME DESTINATION bin) +