Skip to content

Commit

Permalink
conv.h is also a private header
Browse files Browse the repository at this point in the history
  • Loading branch information
starseeker committed Sep 28, 2024
1 parent 3316f7c commit 68f2c98
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 8 deletions.
1 change: 0 additions & 1 deletion include/manifold/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ set(MANIFOLD_PUBLIC_HDRS
)

set(MANIFOLD_C_BINDING_HDRS
conv.h
manifoldc.h
types.h
)
Expand Down
6 changes: 5 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,13 @@ set(MANIFOLD_C_BINDING_SRCS
box.cpp
rect.cpp
)

list(APPEND MANIFOLD_SRCS ${MANIFOLD_C_BINDING_SRCS})

set(MANIFOLD_C_BINDING_PRIVATE_HDRS
conv.h
)
list(APPEND MANIFOLD_PRIVATE_HDRS ${MANIFOLD_C_BINDING_PRIVATE_HDRS})

if(MANIFOLD_CROSS_SECTION)
list(APPEND MANIFOLD_SRCS cross_section.cpp cross.cpp)
list(APPEND MANIFOLD_PRIVATE_HDRS ../include/manifold/cross_section.h)
Expand Down
2 changes: 1 addition & 1 deletion src/box.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "./conv.h"
#include "manifold/common.h"
#include "manifold/conv.h"
#include "manifold/types.h"

#ifdef __cplusplus
Expand Down
2 changes: 1 addition & 1 deletion src/conv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "manifold/conv.h"
#include "./conv.h"

#include <vector>

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/cross.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "./conv.h"
#include "manifold/common.h"
#include "manifold/conv.h"
#include "manifold/cross_section.h"
#include "manifold/types.h"

Expand Down
2 changes: 1 addition & 1 deletion src/manifoldc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

#include <vector>

#include "./conv.h"
#include "manifold/common.h"
#include "manifold/conv.h"
#ifdef MANIFOLD_CROSS_SECTION
#include "manifold/cross_section.h"
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/meshIOc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "manifold/conv.h"
#include "./conv.h"
#include "manifold/meshIO.h"
#include "manifold/types.h"

Expand Down
2 changes: 1 addition & 1 deletion src/rect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "./conv.h"
#include "manifold/common.h"
#include "manifold/conv.h"
#include "manifold/types.h"

#ifdef __cplusplus
Expand Down

0 comments on commit 68f2c98

Please sign in to comment.