kandi X-RAY | oceanbase Summary
kandi X-RAY | oceanbase Summary
oceanbase
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of oceanbase
oceanbase Key Features
oceanbase Examples and Code Snippets
Community Discussions
Trending Discussions on oceanbase
QUESTION
I want to use CMAKE_EXPORT_COMPILE_COMMANDS to generate compile_commands.json, however I find many files are missed. Here is what I found:
- I modified a file named
ob_join_order.cpp
, and then build the project again, then I see
ANSWER
Answered 2021-Jun-05 at 10:17You're correct all the files are being collected into a single file, and that CMake is partially responsible. However this isn't default CMake behavior.
OceanBase is specifically configured as a unity build, meaning all of the translation units are collected into a single "unity" translation unit. You can see where they set this up in their cmake utilities. The relevant target property is UNITY_BUILD ON
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install oceanbase
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page