diff --git a/.gitignore b/.gitignore index e7ce99f16..417a9359b 100644 --- a/.gitignore +++ b/.gitignore @@ -49,6 +49,10 @@ Makefile build/ cmake-build-debug/ install/ +bin/ +include/ +lib/ +programs/ # Doxygen generated files docs/html/* diff --git a/cmake/MakeConfig.cmake b/cmake/MakeConfig.cmake index 41eb17ccc..4ec1a0b18 100644 --- a/cmake/MakeConfig.cmake +++ b/cmake/MakeConfig.cmake @@ -61,6 +61,9 @@ else() get_filename_component(XERCESCROOT "${XercesC_INCLUDE_DIRS}" DIRECTORY) set(XERCES_CPPFLAGS "-I${XercesC_INCLUDE_DIRS} -I${XercesC_INCLUDE_DIRS}/xercesc") set(XERCES_LIBS "${XercesC_LIBRARIES}") + else() + set(JANA2_HAVE_XERCES 0) + set(XERCES3 0) endif() endif() @@ -141,11 +144,11 @@ endif() set(HAVE_NUMA 0) configure_file(scripts/jana-config.in jana-config @ONLY) -configure_file(scripts/jana_config.h.in jana_config.h @ONLY) +configure_file(scripts/jana_config.h.in src/libraries/JANA/jana_config.h @ONLY) configure_file(scripts/jana-this.sh.in jana-this.sh @ONLY) configure_file(scripts/jana-this.csh.in jana-this.csh @ONLY) install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/jana-config DESTINATION bin) -install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/jana_config.h DESTINATION include/JANA) +install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/src/libraries/JANA/jana_config.h DESTINATION include/JANA) install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/jana-this.sh DESTINATION bin) install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/jana-this.csh DESTINATION bin) diff --git a/src/libraries/JANA/Compatibility/JGeometryXML.h b/src/libraries/JANA/Compatibility/JGeometryXML.h index 81f758dca..ecaff5d17 100644 --- a/src/libraries/JANA/Compatibility/JGeometryXML.h +++ b/src/libraries/JANA/Compatibility/JGeometryXML.h @@ -14,7 +14,7 @@ #include #include #include -//#include +#include #include diff --git a/src/libraries/JANA/Utils/JTypeInfo.h b/src/libraries/JANA/Utils/JTypeInfo.h index 57a0c12f1..656978703 100644 --- a/src/libraries/JANA/Utils/JTypeInfo.h +++ b/src/libraries/JANA/Utils/JTypeInfo.h @@ -12,7 +12,7 @@ namespace JTypeInfo { - +#if __cplusplus >= 201703L template struct is_parseable : std::false_type {}; @@ -24,6 +24,7 @@ struct is_serializable : std::false_type {}; template struct is_serializable() << std::declval())>> : std::true_type {}; +#endif template