Revert irrelevant changes

This commit is contained in:
Hyunjin Song
2024-09-21 21:48:04 +09:00
parent 9df27e9e8e
commit ac5b3f07d7
54 changed files with 341 additions and 247 deletions

View File

@@ -6,8 +6,6 @@ INCLUDE_DIRECTORIES("${CMAKE_BINARY_DIR}/src")
SET(CMAKE_CXX_STANDARD 14)
FIND_PACKAGE(Qt5Test)
SET(CMAKE_AUTOMOC ON)
# FIXME: remove this once we export include directories for LMMS
@@ -19,6 +17,7 @@ ADD_EXECUTABLE(tests
EXCLUDE_FROM_ALL
main.cpp
QTestSuite
$<TARGET_OBJECTS:lmmsobjs>
src/core/AutomatableModelTest.cpp
src/core/ProjectVersionTest.cpp
@@ -27,4 +26,8 @@ ADD_EXECUTABLE(tests
src/tracks/AutomationTrackTest.cpp
)
TARGET_LINK_LIBRARIES(tests lmmslib Qt5::Test)
TARGET_COMPILE_DEFINITIONS(tests
PRIVATE $<TARGET_PROPERTY:lmmsobjs,INTERFACE_COMPILE_DEFINITIONS>
)
TARGET_LINK_LIBRARIES(tests ${QT_LIBRARIES} ${QT_QTTEST_LIBRARY})
TARGET_LINK_LIBRARIES(tests ${LMMS_REQUIRED_LIBS})