Commit 71df2b28 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Rename source files to C++ file extension

parent 5ccb3d38
......@@ -30,7 +30,6 @@ MACRO(corryvreckan_algorithm name)
TARGET_SOURCES(${LIBNAME} PRIVATE "${PROJECT_SOURCE_DIR}/src/core/dynamic_algorithm_impl.cpp")
SET_PROPERTY(SOURCE "${PROJECT_SOURCE_DIR}/src/core/dynamic_algorithm_impl.cpp" APPEND PROPERTY OBJECT_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/${name}.h")
SET_PROPERTY(SOURCE "${PROJECT_SOURCE_DIR}/src/core/Algorithm.C" APPEND PROPERTY OBJECT_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/${name}.h")
# Link the standard allpix libraries
TARGET_LINK_LIBRARIES(${LIBNAME} ${CORRYVRECKAN_LIBRARIES} ${CORRYVRECKAN_DEPS_LIBRARIES})
......@@ -45,7 +44,7 @@ ENDMACRO()
INCLUDE_DIRECTORIES(SYSTEM ${_DEPS_INCLUDE_DIRS})
# Build all the modules
FILE(GLOB srcfiles ${CMAKE_CURRENT_SOURCE_DIR}/*.C)
FILE(GLOB srcfiles ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
FOREACH(src ${srcfiles})
GET_FILENAME_COMPONENT(name ${src} NAME_WE)
# Add the library
......
#include <TVirtualPadEditor.h>
#include "OnlineMonitor.h"
#include <TVirtualPadEditor.h>
using namespace corryvreckan;
using namespace std;
......
#include <dirent.h>
#include "Timepix1EventLoader.h"
#include <dirent.h>
#include "objects/Pixel.h"
using namespace corryvreckan;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment