Skip to content

Conversation

@fknorr
Copy link
Collaborator

@fknorr fknorr commented Dec 18, 2024

Partially addresses #8 by introducing add_sycl_to_target() as a public CMake API known from ComputeCpp / AdaptiveCpp. The function also sets the correct standard and forwards -fsanitize=address if necessary.

Also allows using the examples/CMakeLists.txt to be used in a build against installed SimSYCL, so a newcomer can simply copy-paste the examples subdirectory to get started.

Building against installed SimSYCL is tested in CI similar to how we do it for Celerity.

@fknorr fknorr requested a review from PeterTh December 18, 2024 14:38
@fknorr fknorr self-assigned this Dec 18, 2024
@fknorr fknorr force-pushed the standalone-examples branch from e57ea6d to 863d868 Compare December 18, 2024 14:51
@PeterTh PeterTh merged commit 6692407 into master Dec 25, 2024
16 checks passed
@fknorr fknorr deleted the standalone-examples branch December 25, 2024 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants