mirror of
https://github.com/drewcassidy/quicktex.git
synced 2024-09-13 06:37:34 +00:00
format and split header and cpp file for rgbcx since it doesnt need to be single-file here
This commit is contained in:
parent
1bfc4fdfad
commit
9f15ef5d9d
6
.clang-format
Normal file
6
.clang-format
Normal file
@ -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)
|
4047
src/rgbcx.cpp
Normal file
4047
src/rgbcx.cpp
Normal file
File diff suppressed because it is too large
Load Diff
4226
src/rgbcx.h
4226
src/rgbcx.h
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user