Skip to content

Commit 69fb4bb

Browse files
committed
cleaning up
1 parent 2bde152 commit 69fb4bb

File tree

7 files changed

+10
-149
lines changed

7 files changed

+10
-149
lines changed

modules/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/isolines)
55
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/triangulation)
66
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/geodistance)
77
# add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/csgtree)
8-
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/booleans)
8+
# add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/booleans)

modules/booleans/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ pybind11_add_module(booleans MODULE booleans.cpp)
77
target_link_libraries(booleans PRIVATE igl::core)
88
target_link_libraries(booleans PRIVATE igl::cgal)
99

10-
# set_target_properties(booleans PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/src/compas_libigl/booleans")
11-
12-
# set_target_properties(booleans PROPERTIES LIBRARY_OUTPUT_DIRECTORY_RELEASE "${CMAKE_SOURCE_DIR}/src/compas_libigl/booleans")
10+
set_target_properties(booleans PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/src/compas_libigl/booleans")
11+
set_target_properties(booleans PROPERTIES LIBRARY_OUTPUT_DIRECTORY_RELEASE "${CMAKE_SOURCE_DIR}/src/compas_libigl/booleans")
1312

1413
configure_file(__init__.py "${CMAKE_SOURCE_DIR}/src/compas_libigl/booleans/__init__.py" COPYONLY)

modules/geodistance/CMakeLists.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ pybind11_add_module(geodistance MODULE geodistance.cpp)
66

77
target_link_libraries(geodistance PRIVATE igl::core)
88

9-
set_target_properties(geodistance PROPERTIES
10-
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/src/compas_libigl/geodistance")
11-
12-
set_target_properties(geodistance PROPERTIES
13-
LIBRARY_OUTPUT_DIRECTORY_RELEASE "${CMAKE_SOURCE_DIR}/src/compas_libigl/geodistance")
9+
set_target_properties(geodistance PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/src/compas_libigl/geodistance")
10+
set_target_properties(geodistance PROPERTIES LIBRARY_OUTPUT_DIRECTORY_RELEASE "${CMAKE_SOURCE_DIR}/src/compas_libigl/geodistance")
1411

1512
configure_file(__init__.py "${CMAKE_SOURCE_DIR}/src/compas_libigl/geodistance/__init__.py" COPYONLY)

modules/geodistance/_geodistance.cpp

Lines changed: 0 additions & 135 deletions
This file was deleted.

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,10 @@ def build_extension(self, ext):
5656
# During compiling stage, the python module always links to a temporary generated library which is going to be destroyed.
5757
# Then importing the final installed module will return a link error
5858
# The following commands will force the module to look up the its dynmaic linked library in the same folder
59-
'-DCMAKE_INSTALL_RPATH=@loader_path',
60-
'-DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON',
61-
'-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=OFF']
59+
# '-DCMAKE_INSTALL_RPATH=@loader_path',
60+
# '-DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON',
61+
# '-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=OFF'
62+
]
6263

6364
cfg = 'Debug' if self.debug else 'Release'
6465
build_args = ['--config', cfg]

src/PLACEHOLDER

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/compas_libigl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from __future__ import division
33
from __future__ import print_function
44

5-
from .booleans import *
5+
# from .booleans import *
66
# from .csgtree import *
77
from .geodistance import *
88
from .isolines import *

0 commit comments

Comments
 (0)