-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Move header files to specific include directories #7477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
sfc-gh-mpilman
merged 14 commits into
apple:main
from
sfc-gh-mpilman:features/cmake-refactor-dirs
Jun 28, 2022
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
03d913a
Flow compiling
sfc-gh-mpilman 88af6b4
fdbrpc compiling
sfc-gh-mpilman d31fb30
fdbclient compiling
sfc-gh-mpilman 41181cd
fdbserver compiling (but linking still fails)
sfc-gh-mpilman 7040cb9
fixed link errors
sfc-gh-mpilman 3448bc6
fix fdbmonitor
sfc-gh-mpilman 4ac236e
fdbcli compiling
sfc-gh-mpilman 60bb544
fdbbackup compiling
sfc-gh-mpilman ce30774
fixed api tester build
sfc-gh-mpilman 20e7371
some Linux fixes
sfc-gh-mpilman 1bdbd89
Merge remote-tracking branch 'origin/main' into features/cmake-refact…
sfc-gh-mpilman a2ee14d
fixed flowbench
sfc-gh-mpilman fc2f695
Merge remote-tracking branch 'origin/main' into features/cmake-refact…
sfc-gh-mpilman f9f5220
move new headers
sfc-gh-mpilman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| add_library(SimpleOpt INTERFACE) | ||
| target_include_directories(SimpleOpt INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/include") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| add_library(crc32 STATIC crc32.S crc32_wrapper.c crc32c.cpp) | ||
| target_include_directories(crc32 PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| if(UNIX AND NOT APPLE) | ||
| add_library(folly_memcpy STATIC folly_memcpy.S) | ||
| target_include_directories(folly_memcpy PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}") | ||
| endif() | ||
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| add_library(linenoise STATIC linenoise.c) | ||
| target_include_directories(linenoise PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include") |
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| add_library(sqlite STATIC | ||
| btree.h | ||
| hash.h | ||
| sqlite3.h | ||
| sqlite3ext.h | ||
| sqliteInt.h | ||
| sqliteLimit.h | ||
| sqlite3.amalgamation.c) | ||
|
|
||
|
|
||
| target_include_directories(sqlite PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) | ||
| # Suppress warnings in sqlite since it's third party | ||
| if(NOT WIN32) | ||
| target_compile_definitions(sqlite PRIVATE $<$<CONFIG:Debug>:NDEBUG>) | ||
| target_compile_options(sqlite BEFORE PRIVATE -w) # disable warnings for third party | ||
| endif() |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| add_library(stacktrace STATIC stacktrace.amalgamation.cpp) | ||
| target_include_directories(stacktrace PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include") | ||
| if (USE_ASAN) | ||
| target_compile_definitions(stacktrace PRIVATE ADDRESS_SANITIZER) | ||
| elseif(USE_MSAN) | ||
| target_compile_definitions(stacktrace PRIVATE MEMORY_SANITIZER) | ||
| elseif(USE_UBSAN) | ||
| target_compile_definitions(stacktrace PRIVATE UNDEFINED_BEHAVIOR_SANITIZER) | ||
| elseif(USE_TSAN) | ||
| target_compile_definitions(stacktrace PRIVATE THREAD_SANITIZER DYNAMIC_ANNOTATIONS_EXTERNAL_IMPL=1) | ||
| endif() |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a nit: it is interesting we use
APPLEas operating system, for instance here we compare it withUNIX; alternate would have beenUNIX ANS NOT MAC.No action needed in this PR, just sharing a thought.