Revision a23595b9e4c6166831cbee0fec180cba0026d72f authored by Jonas Rembser on 18 September 2023, 17:06:15 UTC, committed by Jonas Rembser on 20 September 2023, 09:45:06 UTC
We can avoid the const-term-optimization in BatchMode or `codegen`
simply by overriding the relevant function in the wrapper classes.
1 parent 1a7f63f
Raw File
CMakeLists.txt
# Copyright (C) 1995-2019, Rene Brun and Fons Rademakers.
# All rights reserved.
#
# For the licensing terms see $ROOTSYS/LICENSE.
# For the list of contributors see $ROOTSYS/README/CREDITS.

############################################################################
# CMakeLists.txt file for building ROOT sql/pgsql package
############################################################################

ROOT_STANDARD_LIBRARY_PACKAGE(PgSQL
  HEADERS
    TPgSQLResult.h
    TPgSQLRow.h
    TPgSQLServer.h
    TPgSQLStatement.h
  SOURCES
    TPgSQLResult.cxx
    TPgSQLRow.cxx
    TPgSQLServer.cxx
    TPgSQLStatement.cxx
  DEPENDENCIES
    Core
    Net
    RIO
    MathCore
)

target_include_directories(PgSQL PRIVATE ${PostgreSQL_INCLUDE_DIRS})
target_link_libraries(PgSQL PRIVATE ${PostgreSQL_LIBRARIES})
back to top