@@ -24,7 +24,7 @@ if( MSVC )
2424endif ( MSVC )
2525
2626# Required for GenerateExportHeader module
27- include ( GenerateExportHeader )
27+ # include( GenerateExportHeader )
2828
2929# Activate GCC C++11 support for CMake versions before v3.1
3030if ( CMAKE_VERSION VERSION_LESS 3.1 )
@@ -120,6 +120,8 @@ set( ACIS_SOURCES_Modeler
120120 src/acis_modeler.h
121121 src/acis_api.cpp
122122 src/acis_api.h
123+ src/acis_api2.cpp
124+ src/acis_api2.h
123125 src/acis_classes.cpp
124126 src/acis_classes.h
125127 src/acis_entity.cpp
@@ -135,7 +137,7 @@ set( ACIS_SOURCES_Modeler
135137# Generate Python module
136138add_library ( Modeler SHARED ${ACIS_SOURCES_Modeler} )
137139
138- # Set link targets. Note that Modeler has dependencies towards most helper modules.
140+ # Set link targets
139141target_link_libraries ( Modeler ${ACIS_LINK_LIBRARIES} ${PYTHON_LIBRARIES} )
140142
141143# Add the build location to the include directories
@@ -236,6 +238,7 @@ add_custom_target( uninstall
236238
237239#
238240# Generate a "complete install" target
241+ # This target installs the module to Python's site-packages directory by creating a .pth file
239242#
240243
241244# Run INSTALL target and then, generate .pth file in the site-packages directory
@@ -247,6 +250,7 @@ add_custom_target( install_module
247250
248251#
249252# Generate a "complete uninstall" target
253+ # This target uninstalls the module from Python's site-packages directory by deleting the .pth file
250254#
251255
252256# Run UNINSTALL target and remove .pth file generated by the "install_module" target
@@ -268,9 +272,10 @@ set_property(
268272)
269273
270274#
271- # Create a custom install target for calling inside Jetbrains CLion
275+ # Create a custom install target for calling from IDEs
276+ # This target installs the module and example scripts to the user-specified directory
272277#
273- add_custom_target ( install_ ${PROJECT_NAME}
278+ add_custom_target ( install_project
274279 $(CMAKE_COMMAND ) --build . --target install
275280 COMMENT "Installing ${PROJECT_NAME} ..."
276281 )
0 commit comments