Skip to content
Open
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
5 changes: 4 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@ CMakeLists.txt text eol=lf
*.ico binary
*.a binary
*.so binary
*.o binary
*.o binary

# SCM syntax highlighting & preventing 3-way merges
pixi.lock merge=binary linguist-language=YAML linguist-generated=true -diff
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ docs/_doxygen/
*.exe
*.out
*.app
# pixi environments
.pixi/*
!.pixi/config.toml
5 changes: 4 additions & 1 deletion examples/CMakeLists.txt

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Did you have trouble building or running? If so, please open an issue with specific platform details.

Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@

find_package(Threads REQUIRED)

# Define a function to automate adding benchmarks
function(automate_add_examples target_name source_file)
add_executable(${target_name} ${source_file})
target_compile_features(${target_name} PRIVATE cxx_std_17)
target_link_libraries(${target_name} PRIVATE blast)
target_link_libraries(${target_name} PRIVATE blast Threads::Threads)
# PRIVATE: machine-specific tuning for dev targets only, never leaks to
# downstream consumers of the blast library.
if (MSVC)
Expand Down
Loading
Loading