Begin templating

This commit is contained in:
2023-10-30 22:45:35 +01:00
parent e26acc3676
commit 77c33942f6
9 changed files with 64 additions and 16 deletions

View File

@@ -1,15 +1,10 @@
cmake_minimum_required(VERSION 3.5)
project(testcpy)
set( CMAKE_CXX_STANDARD 17)
set( CMAKE_CXX_STANDARD 20)
set( CMAKE_CXX_STANDARD_REQUIRED ON )
find_package(Python3 3.11...3.11.9 COMPONENTS Interpreter Development REQUIRED)
message("Python_FOUND:${Python3_FOUND}")
message("Python_VERSION:${Python3_VERSION}")
message("Python_Development_FOUND:${Python3_Development_FOUND}")
message("Python_LIBRARIES:${Python3_LIBRARIES}")
message("Python_INCLUDE_DIRS ${Python3_INCLUDE_DIRS}")
find_package(Torch REQUIRED)
add_subdirectory(src)