File tree Expand file tree Collapse file tree 4 files changed +14
-24
lines changed Expand file tree Collapse file tree 4 files changed +14
-24
lines changed Original file line number Diff line number Diff line change @@ -24,16 +24,17 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.20)
24
24
PROJECT (Steppable )
25
25
26
26
# Ensure that Python is available to run the development scripts, and build with bindings.
27
- FIND_PACKAGE (
28
- Python
29
- COMPONENTS Interpreter Development
30
- REQUIRED
31
- )
32
- FIND_PACKAGE (
33
- Python3
34
- COMPONENTS Interpreter Development
35
- REQUIRED
36
- )
27
+ set (Python_FIND_VIRTUALENV FIRST )
28
+
29
+ find_package (
30
+ Python
31
+ COMPONENTS Development Interpreter
32
+ REQUIRED )
33
+
34
+ find_package (
35
+ Python3
36
+ COMPONENTS Development Interpreter
37
+ REQUIRED )
37
38
38
39
SET (CMAKE_CXX_STANDARD 20 )
39
40
SET (CMAKE_CXX_EXTENSIONS OFF )
Original file line number Diff line number Diff line change 4
4
{
5
5
"path" : " ." ,
6
6
},
7
+ {
8
+ "path" : " ~/Desktop/Steppable.wiki"
9
+ },
7
10
],
8
11
"debugger_configurations" :
9
12
[
Original file line number Diff line number Diff line change 20
20
# SOFTWARE. #
21
21
#####################################################################################################
22
22
23
- set (Python_FIND_VIRTUALENV ONLY )
24
-
25
- if (NOT DEFINED Python_EXECUTABLE )
26
- find_package (
27
- Python
28
- COMPONENTS Development Interpreter
29
- REQUIRED )
30
- find_package (
31
- Python3
32
- COMPONENTS Development Interpreter
33
- REQUIRED )
34
- endif ()
35
23
set (Python_EXECUTABLE ${Python3_EXECUTABLE} )
36
24
37
25
# Detect the installed nanobind package and import it into CMake
Original file line number Diff line number Diff line change 34
34
#include " output.hpp"
35
35
#include " util.hpp"
36
36
37
- #include < algorithm>
38
37
#include < iostream>
39
38
#include < string_view>
40
- #include < vector>
41
39
42
40
using namespace steppable ::__internals::numUtils;
43
41
using namespace steppable ::__internals::utils;
You can’t perform that action at this time.
0 commit comments