[go: nahoru, domu]

Skip to content
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

Add compiler flags to cmake build #36

Merged
merged 4 commits into from
Feb 22, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
copy static divsufsort lib to build dir
  • Loading branch information
Sawwave committed Feb 21, 2024
commit ad3ef29dba3ccbd23667e3eb0cf2d46b1bf4025d
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -227,5 +227,12 @@ add_custom_command(
${CMAKE_CURRENT_BINARY_DIR}/build/
)

add_custom_command(
TARGET awfmindex_static POST_BUILD # Add dependency on build_submodule
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_CURRENT_BINARY_DIR}/lib/libdivsufsort/lib/build/libdivsufsort64.a
${CMAKE_CURRENT_BINARY_DIR}/build/
)

# Add a dependency on build_submodule
add_dependencies(awfmindex_static build_divsufsort)
Loading