Fossil

Check-in [a5dff314]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Enumerate tests to preserve the order, MSVS2017 does not seem to follow test dependencies.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | cmake-ide
Files: files | file ages | folders
SHA3-256: a5dff3141f7f997c4d43931c9fde339fd280569b74fb16d1c69b8efb118859bc
User & Date: ashepilko 2018-08-04 11:01:56.900
Context
2018-08-04
11:08
Pass the build command in verbatim mode. ... (check-in: 28094475 user: ashepilko tags: cmake-ide)
11:01
Enumerate tests to preserve the order, MSVS2017 does not seem to follow test dependencies. ... (check-in: a5dff314 user: ashepilko tags: cmake-ide)
10:55
Change the order of extra build flags to allow overrides. ... (check-in: f59ccb03 user: ashepilko tags: cmake-ide)
Changes
Unified Diff Ignore Whitespace Patch
Changes to CMakeLists.txt.
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
    WORKING_DIRECTORY "${fossil_BINARY_DIR}"
    COMMENT "Cleaning fossil build artifacts"
    DEPENDS fossil-configure
)


enable_testing()
add_test(NAME setup
         COMMAND "${CMAKE_COMMAND}" --build . --target test-fossil-setup
)
add_test(NAME test
         COMMAND "${CMAKE_COMMAND}" --build . --target test-fossil
)
add_test(NAME clean
         COMMAND "${CMAKE_COMMAND}" --build . --target test-fossil-clean
)
set_property(TEST test APPEND PROPERTY
             DEPENDS setup)
set_property(TEST clean APPEND PROPERTY
             DEPENDS setup)

add_custom_target(check
    COMMAND "${CMAKE_CTEST_COMMAND}" -V
    DEPENDS test-fossil
)

## INSTALL ---------------------------------------------------------------







|


|


|


|
|
|
|







329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
    WORKING_DIRECTORY "${fossil_BINARY_DIR}"
    COMMENT "Cleaning fossil build artifacts"
    DEPENDS fossil-configure
)


enable_testing()
add_test(NAME 01-setup
         COMMAND "${CMAKE_COMMAND}" --build . --target test-fossil-setup
)
add_test(NAME 02-test
         COMMAND "${CMAKE_COMMAND}" --build . --target test-fossil
)
add_test(NAME 03-clean
         COMMAND "${CMAKE_COMMAND}" --build . --target test-fossil-clean
)
set_property(TEST 02-test APPEND PROPERTY
             DEPENDS 01-setup)
set_property(TEST 03-clean APPEND PROPERTY
             DEPENDS 01-setup)

add_custom_target(check
    COMMAND "${CMAKE_CTEST_COMMAND}" -V
    DEPENDS test-fossil
)

## INSTALL ---------------------------------------------------------------