Begin templating
This commit is contained in:
@@ -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)
|
Reference in New Issue
Block a user