8000 make sure error files get built when arangod is built by jsteemann · Pull Request #10284 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

make sure error files get built when arangod is built #10284

New issue
10000

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
merged 3 commits into from
Oct 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arangod/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@ endif ()
if (USE_JEMALLOC)
add_dependencies(arangod jemalloc)
endif ()

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tz ;)

foreach(TARGET
arango_agency
arango_aql
Expand Down
8 changes: 8 additions & 0 deletions lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,14 @@ target_link_libraries(arango
${SYSTEM_LIBRARIES}
)

# Rebuild generated error files so they are up-to-date when all
# dependent stuff is built
if (USE_MAINTAINER_MODE)
add_dependencies(arango errorfiles)
add_dependencies(arango exitcodefiles)
endif ()


# Enterprise
if (USE_ENTERPRISE)
target_compile_definitions(arango PUBLIC "-DUSE_ENTERPRISE=1")
Expand Down
0