Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS

option(BUILD_TESTS "Build the tests" OFF)
option(BUILD_UNIT_TESTS "Build the unit tests" OFF)
option(BUILD_INTEGRATION_TESTS "Build the unit tests" OFF)
option(ENABLE_COVERAGE "Enabling coverage" OFF)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
Expand All @@ -50,9 +51,15 @@ set(CMAKE_CXX_EXTENSIONS OFF)

include(cmake/ExternalDependencies.cmake)

if(BUILD_TESTS OR BUILD_UNIT_TESTS)
add_compile_definitions(ENABLE_UNIT_TEST)
endif()

add_subdirectory(src)

if(BUILD_TESTS)
if(BUILD_TESTS
OR BUILD_UNIT_TESTS
OR BUILD_INTEGRATION_TESTS)
add_subdirectory(tests)
endif()

Expand Down
4 changes: 2 additions & 2 deletions bindings/bindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

PYBIND11_MODULE(PyMQSSClient, m) {
m.doc() = "Python bindings for the MQSS client";
registerClientInterface(m);
registerJobInterface(m);
registerResourceInterface(m);
registerJobInterface(m);
registerClientInterface(m);
}
2 changes: 2 additions & 0 deletions bindings/bindings.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/

#include <pybind11/cast.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>

namespace py = pybind11;

Expand Down
Loading
Loading