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
18 changes: 17 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,28 @@ project(mraylib CXX)
include(cmake/StandardProjectSettings.cmake)
# include(cmake/StaticAnalyzers.cmake)
include(cmake/CompilerWarnings.cmake)
include(package.cmake)

add_compile_options(-std=c++2b)
# TODO: clang-tidy creating problem with the same
# set(CMAKE_CXX_STANDARD 23)

# CPM
file(
DOWNLOAD
https://github.com/cpm-cmake/CPM.cmake/releases/download/v0.38.3/CPM.cmake
${CMAKE_CURRENT_BINARY_DIR}/cmake/CPM.cmake
EXPECTED_HASH SHA256=cc155ce02e7945e7b8967ddfaff0b050e958a723ef7aad3766d368940cb15494
)
include(${CMAKE_CURRENT_BINARY_DIR}/cmake/CPM.cmake)

# Packages
CPMAddPackage(
NAME doctest
GITHUB_REPOSITORY doctest/doctest
GIT_TAG v2.4.11
)
CPMAddPackage("gh:NVIDIA/stdexec#main")

add_library(project_options INTERFACE)

add_library(project_warnings INTERFACE)
Expand Down
2 changes: 1 addition & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ build_type=$1
[ "$build_type" ] || build_type="Release"
echo "Using CMAKE_BUILD_TYPE $build_type"

cmake . -B bin -DCMAKE_TOOLCHAIN_FILE=bin/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=$build_type &&
cmake . -B bin -DCMAKE_BUILD_TYPE=$build_type &&
cp bin/compile_commands.json . &&
cmake --build bin
6 changes: 0 additions & 6 deletions conanfile.txt

This file was deleted.

86 changes: 0 additions & 86 deletions lib/exec/__detail/__atomic_intrusive_queue.hpp

This file was deleted.

64 changes: 0 additions & 64 deletions lib/exec/__detail/__atomic_ref.hpp

This file was deleted.

141 changes: 0 additions & 141 deletions lib/exec/__detail/__basic_sequence.hpp

This file was deleted.

51 changes: 0 additions & 51 deletions lib/exec/__detail/__bit_cast.hpp

This file was deleted.

Loading