format and split header and cpp file for rgbcx since it doesnt need to be single-file here

faster-single-tables
Andrew Cassidy 3 years ago
parent 1bfc4fdfad
commit 9f15ef5d9d

@ -0,0 +1,6 @@
---
BasedOnStyle: LLVM
IndentWidth: 4
ColumnLimit: 160
---

@ -4,8 +4,14 @@ project(python_rgbcx)
# Setup pybind
add_subdirectory(extern/pybind11)
# Make the pybind module
pybind11_add_module(python_rgbcx src/main.cpp)
# Make the python_rgbcx module
add_library(python_rgbcx MODULE src/main.cpp src/rgbcx.cpp)
# Link to Pybind
target_link_libraries(python_rgbcx PRIVATE pybind11::module pybind11::lto)
pybind11_extension(python_rgbcx)
pybind11_strip(python_rgbcx)
# Set module features, like C/C++ standards
target_compile_features(python_rgbcx PUBLIC cxx_std_14 c_std_11)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save