Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
3 days ago bd039d1e92813358c5c5a1e346b49074baf513f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Precompiled header configuration for onnxruntime_test_all
 
if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
  # Visual Studio PCH
  target_precompile_headers(onnxruntime_test_all PRIVATE
    "${CMAKE_CURRENT_SOURCE_DIR}/test_pch.h"
  )
  if (TARGET onnxruntime_provider_test)
    target_precompile_headers(${onnxruntime_provider_test_target} PRIVATE
      "${CMAKE_CURRENT_SOURCE_DIR}/test_pch.h"
    )
  endif()
endif()
 
# Exclude certain files that might conflict with PCH
set(PCH_EXCLUDE_FILES
  # Add any problematic source files here
  "${TEST_SRC_DIR}/framework/tensor_shape_test.cc"
)
 
foreach(file ${PCH_EXCLUDE_FILES})
  set_source_files_properties(${file} PROPERTIES
    SKIP_PRECOMPILE_HEADERS ON
  )
endforeach()