@@ -470,11 +470,12 @@ if(ENABLE_PYTHON)
470470 message (WARNING "Nettle not found, disabling python support." )
471471 set (ENABLE_PYTHON OFF CACHE BOOL "" FORCE)
472472 else ()
473- message (STATUS "Python enabled, using Nettle ${Nettle_VERSION} " )
473+ message (STATUS "Python ${Python_VERSION} enabled, using Nettle ${Nettle_VERSION} " )
474474 target_include_directories (OpenSCAD PRIVATE ${Python_INCLUDE_DIRS} )
475475 target_link_libraries (OpenSCAD PRIVATE ${Python_LIBRARIES} )
476476 target_include_directories (OpenSCAD PRIVATE ${Nettle_INCLUDE_DIRS} )
477477 target_link_libraries (OpenSCAD PRIVATE ${Nettle_LIBRARIES} )
478+ add_custom_target (OpenSCADPython ALL COMMAND ${CMAKE_COMMAND} -E create_symlink openscad${SUFFIX_WITH_DASH} "openscad-python" )
478479 endif ()
479480endif ()
480481
@@ -845,6 +846,7 @@ set(CORE_SOURCES
845846 src/geometry/boolean_utils.cc
846847 src/geometry/linalg.cc
847848 src/geometry/linear_extrude.cc
849+ src/geometry/rotate_extrude.cc
848850 src/glview/Camera.cc
849851 src/glview/ColorMap.cc
850852 src/glview/OffscreenContextFactory.cc
@@ -906,6 +908,7 @@ set(CORE_SOURCES
906908 ${BISON_comment_parser_OUTPUTS} )
907909if (ENABLE_PYTHON)
908910 list (APPEND CORE_SOURCES
911+ src/python/pymod.cc
909912 src/python/pyopenscad.cc
910913 src/python/pyfunctions.cc )
911914 target_compile_definitions (OpenSCAD PRIVATE ENABLE_PYTHON)
@@ -1074,9 +1077,11 @@ set(GUI_SOURCES
10741077 src/gui/EventFilter.h
10751078 src/gui/Export3mfDialog.cc
10761079 src/gui/ExportPdfDialog.cc
1080+ src/gui/OctoPrintApiKeyDialog.cc
10771081 src/gui/FontListDialog.cc
10781082 src/gui/FontListTableView.cc
10791083 src/gui/InitConfigurator.cc
1084+ src/gui/ImportUtils.cc
10801085 src/gui/LaunchingScreen.cc
10811086 src/gui/LibraryInfoDialog.cc
10821087 src/gui/MainWindow.cc
@@ -1142,10 +1147,12 @@ set(GUI_HEADERS
11421147 src/gui/EventFilter.h
11431148 src/gui/Export3mfDialog.h
11441149 src/gui/ExportPdfDialog.h
1150+ src/gui/OctoPrintApiKeyDialog.h
11451151 src/gui/FontList.h
11461152 src/gui/FontListDialog.h
11471153 src/gui/FontListTableView.h
11481154 src/gui/IgnoreWheelWhenNotFocused.h
1155+ src/gui/ImportUtils.h
11491156 src/gui/InitConfigurator.h
11501157 src/gui/LaunchingScreen.h
11511158 src/gui/LibraryInfoDialog.h
@@ -1195,6 +1202,7 @@ set(GUI_UIS
11951202 src/gui/ErrorLog.ui
11961203 src/gui/Export3mfDialog.ui
11971204 src/gui/ExportPdfDialog.ui
1205+ src/gui/OctoPrintApiKeyDialog.ui
11981206 src/gui/FontList.ui
11991207 src/gui/FontListDialog.ui
12001208 src/gui/LaunchingScreen.ui
@@ -1372,6 +1380,9 @@ endif()
13721380if (NOT APPLE OR APPLE_UNIX)
13731381 set_target_properties (OpenSCAD PROPERTIES OUTPUT_NAME openscad${SUFFIX_WITH_DASH} )
13741382 install (TARGETS OpenSCAD RUNTIME DESTINATION "${OPENSCAD_BINDIR} " )
1383+ if (ENABLE_PYTHON)
1384+ install (PROGRAMS ${CMAKE_CURRENT_BINARY_DIR} /openscad-python DESTINATION "${OPENSCAD_BINDIR} " )
1385+ endif ()
13751386 if (WIN32 )
13761387 if (USE_MIMALLOC AND MI_LINK_SHARED)
13771388 if (CMAKE_SIZEOF_VOID_P EQUAL 8)
0 commit comments