namespace and binding changes

This commit is contained in:
2021-03-14 00:59:16 -08:00
parent f72b794d20
commit 8f1e76bb43
41 changed files with 319 additions and 232 deletions

View File

@ -30,10 +30,7 @@ file(GLOB HEADER_FILES
file(GLOB TEST_FILES "tests/*.cpp")
set(PYTHON_FILES
"quicktex/bindings/Module.cpp"
"quicktex/s3tc/bindings/Decoders.cpp"
"quicktex/s3tc/bindings/Encoders.cpp")
file(GLOB_RECURSE PYTHON_FILES "src/**/*.py")
# Organize source files together for some IDEs
source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR} FILES ${SOURCE_FILES} ${HEADER_FILES} ${PYTHON_FILES})
@ -41,8 +38,7 @@ source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR} FILES ${SOURCE_FILES} ${HEADER_FIL
# Add python module
pybind11_add_module(_quicktex
${SOURCE_FILES}
${HEADER_FILES}
${PYTHON_FILES})
${HEADER_FILES})
add_executable(test_quicktex
${SOURCE_FILES}