fff923d2f4
The extractBits(), signExtend(), and writeBits() functions of the anonymous namespace in Input/FGHIDEventInput.cxx have been shifted out of the namespace and are now exposed via the header. This is needed as <Input/FGHIDEventInput.cxx> cannot be imported within the CppUnit infrastructure, as it is already built into the run_test_suite binary.
17 lines
377 B
CMake
17 lines
377 B
CMake
if(ENABLE_HID_INPUT)
|
|
set(HID_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/test_hidinput.cxx)
|
|
set(HID_HEADER ${CMAKE_CURRENT_SOURCE_DIR}/test_hidinput.hxx)
|
|
endif()
|
|
|
|
set(TESTSUITE_SOURCES
|
|
${TESTSUITE_SOURCES}
|
|
${CMAKE_CURRENT_SOURCE_DIR}/TestSuite.cxx
|
|
${HID_SOURCE}
|
|
PARENT_SCOPE
|
|
)
|
|
|
|
set(TESTSUITE_HEADERS
|
|
${TESTSUITE_HEADERS}
|
|
${HID_HEADER}
|
|
PARENT_SCOPE
|
|
)
|