We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 896f34d + fbc31a4 commit 7cd9679Copy full SHA for 7cd9679
mssql_python/pybind/CMakeLists.txt
@@ -90,7 +90,13 @@ execute_process(
90
)
91
92
# Add module library
93
-add_library(ddbc_bindings MODULE ddbc_bindings.cpp)
+add_library(ddbc_bindings MODULE ddbc_bindings.cpp connection/connection.cpp)
94
+
95
+# Add include directories for your project
96
+target_include_directories(ddbc_bindings PRIVATE
97
+ ${CMAKE_CURRENT_SOURCE_DIR} # Root directory (for ddbc_bindings.h)
98
+ ${CMAKE_CURRENT_SOURCE_DIR}/connection # connection directory (for connection.h)
99
+)
100
101
# Set the output name to include Python version and architecture
102
set_target_properties(ddbc_bindings PROPERTIES
0 commit comments