mirror of
https://github.com/sesps/EventBuilder_Skeleton.git
synced 2024-11-12 13:28:52 -05:00
Fix bugs related to case sensitivity on Apple for dictionary generation. Fix some bugs based on type mismatch in function declaration/definition
This commit is contained in:
parent
0faf562d56
commit
cfb08567c0
|
@ -23,7 +23,7 @@ namespace EventBuilder {
|
|||
{
|
||||
public:
|
||||
CompassRun();
|
||||
CompassRun(const std::string& dir, uint64_t bsize);
|
||||
CompassRun(const std::string& dir, size_t bsize);
|
||||
~CompassRun();
|
||||
inline void SetDirectory(const std::string& dir) { directory = dir; }
|
||||
inline void SetScalerInput(const std::string& filename) { m_scalerinput = filename; }
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace EventBuilder {
|
|||
{
|
||||
}
|
||||
|
||||
void EVBApp::DefaultProgressCallback(long curVal, long totalVal)
|
||||
void EVBApp::DefaultProgressCallback(int64_t curVal, int64_t totalVal)
|
||||
{
|
||||
double fraction = ((double)curVal)/totalVal;
|
||||
EVB_INFO("Percent of run built: {0}", fraction*100);
|
||||
|
@ -212,4 +212,4 @@ namespace EventBuilder {
|
|||
void EVBApp::SetScalerFile(const std::string& fullpath) { EVB_TRACE("Scaler file set to {0}", fullpath); m_scalerfile = fullpath; }
|
||||
void EVBApp::SetBufferSize(uint64_t bufsize) { EVB_TRACE("Buffer size set to {0} hits", bufsize); m_buffersize = bufsize; }
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
add_library(EVBDict SHARED)
|
||||
|
||||
target_include_directories(EVBDict SYSTEM PUBLIC ${ROOT_INCLUDE_DIRS} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
ROOT_GENERATE_DICTIONARY(evbdict DataStructs.h LINKDEF LinkDef_evb.h MODULE EVBDict)
|
||||
ROOT_GENERATE_DICTIONARY(evb_dict DataStructs.h LINKDEF LinkDef_evb.h MODULE EVBDict)
|
||||
|
||||
target_sources(EVBDict PRIVATE
|
||||
DataStructs.h
|
||||
|
@ -14,4 +14,4 @@ add_custom_command(TARGET EVBDict POST_BUILD
|
|||
COMMAND ${CMAKE_COMMAND} -E copy
|
||||
${CMAKE_CURRENT_BINARY_DIR}/libEVBDict_rdict.pcm
|
||||
${EVB_LIBRARY_DIR}/libEVBDict_rdict.pcm
|
||||
)
|
||||
)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
add_library(GuiDict SHARED)
|
||||
|
||||
target_include_directories(GuiDict SYSTEM PUBLIC ../../vendor/spdlog/include/ ${ROOT_INCLUDE_DIRS} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
ROOT_GENERATE_DICTIONARY(guidict EVBMainFrame.h FileViewFrame.h LINKDEF LinkDef_Gui.h MODULE GuiDict)
|
||||
ROOT_GENERATE_DICTIONARY(gui_dict EVBMainFrame.h FileViewFrame.h LINKDEF LinkDef_Gui.h MODULE GuiDict)
|
||||
|
||||
target_sources(GuiDict PRIVATE
|
||||
FileViewFrame.h
|
||||
|
@ -20,4 +20,4 @@ add_custom_command(TARGET GuiDict POST_BUILD
|
|||
COMMAND ${CMAKE_COMMAND} -E copy
|
||||
${CMAKE_CURRENT_BINARY_DIR}/libGuiDict_rdict.pcm
|
||||
${EVB_LIBRARY_DIR}/libGuiDict_rdict.pcm
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user