]> sigrok.org Git - pulseview.git/commitdiff
Fixed test suite when ENABLE_DECODE=n
authorJoel Holdsworth <redacted>
Tue, 25 Mar 2014 20:53:08 +0000 (20:53 +0000)
committerBert Vermeulen <redacted>
Thu, 27 Mar 2014 09:58:08 +0000 (10:58 +0100)
test/CMakeLists.txt

index f76e8b36b15fcc2850376c166b0391351be57460..3b21e9ffb4654ab503c310870b4925db1590a3ea 100644 (file)
@@ -51,8 +51,6 @@ set(pulseview_TEST_SOURCES
        ${PROJECT_SOURCE_DIR}/pv/view/cursorpair.cpp
        ${PROJECT_SOURCE_DIR}/pv/data/analog.cpp
        ${PROJECT_SOURCE_DIR}/pv/data/analogsnapshot.cpp
-       ${PROJECT_SOURCE_DIR}/pv/data/decode/row.cpp
-       ${PROJECT_SOURCE_DIR}/pv/data/decode/rowdata.cpp
        ${PROJECT_SOURCE_DIR}/pv/data/logic.cpp
        ${PROJECT_SOURCE_DIR}/pv/data/logicsnapshot.cpp
        ${PROJECT_SOURCE_DIR}/pv/data/snapshot.cpp
@@ -120,8 +118,10 @@ set(pulseview_TEST_HEADERS
 if(ENABLE_DECODE)
        list(APPEND pulseview_TEST_SOURCES
                ${PROJECT_SOURCE_DIR}/pv/data/decoderstack.cpp
-               ${PROJECT_SOURCE_DIR}/pv/data/decode/decoder.cpp
                ${PROJECT_SOURCE_DIR}/pv/data/decode/annotation.cpp
+               ${PROJECT_SOURCE_DIR}/pv/data/decode/decoder.cpp
+               ${PROJECT_SOURCE_DIR}/pv/data/decode/row.cpp
+               ${PROJECT_SOURCE_DIR}/pv/data/decode/rowdata.cpp
                ${PROJECT_SOURCE_DIR}/pv/prop/binding/decoderoptions.cpp
                ${PROJECT_SOURCE_DIR}/pv/view/decodetrace.cpp
                ${PROJECT_SOURCE_DIR}/pv/widgets/decodergroupbox.cpp