Fossil

Check-in [f59ccb03]
Login

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

Overview
Comment:Change the order of extra build flags to allow overrides.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | cmake-ide
Files: files | file ages | folders
SHA3-256: f59ccb03a84a22d89955755ba5fb576472d7e5296f0227f32eab262b7826e703
User & Date: ashepilko 2018-08-04 10:55:30
Context
2018-08-04
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
10:47
Fix PDB file handling; should apply only for Debug build. check-in: b7430ba1 user: ashepilko tags: cmake-ide
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to CMakeLists.txt.

150
151
152
153
154
155
156
157
158
159
160

161
162
163
164
165
166
167
168
    file(TO_NATIVE_PATH "${fossil_DESTDIR}" fossil_DESTDIR)

    ExternalProject_Add(fossil
        PREFIX fossil
        SOURCE_DIR "${fossil_SOURCE_DIR}"
        CONFIGURE_COMMAND ""
        BINARY_DIR "${fossil_BINARY_DIR}"
        BUILD_COMMAND "${fossil_SOURCE_DIR}/win/buildmsvc.bat" all install
                      ${fossil_configure_FLAGS}
                      DESTDIR=${fossil_DESTDIR}
                      ${fossil_build_FLAGS}

                      VERBATIM
        INSTALL_COMMAND ""
        STEP_TARGETS configure build install
    )

else(MSVC)

    file(RELATIVE_PATH fossil_DESTDIR "${fossil_BINARY_DIR}" "${fossil_INSTALL_DIR}")







|

<

>
|







150
151
152
153
154
155
156
157
158

159
160
161
162
163
164
165
166
167
168
    file(TO_NATIVE_PATH "${fossil_DESTDIR}" fossil_DESTDIR)

    ExternalProject_Add(fossil
        PREFIX fossil
        SOURCE_DIR "${fossil_SOURCE_DIR}"
        CONFIGURE_COMMAND ""
        BINARY_DIR "${fossil_BINARY_DIR}"
        BUILD_COMMAND "${fossil_SOURCE_DIR}/win/buildmsvc.bat"
                      ${fossil_configure_FLAGS}

                      ${fossil_build_FLAGS}
                      all
                      install DESTDIR=${fossil_DESTDIR}
        INSTALL_COMMAND ""
        STEP_TARGETS configure build install
    )

else(MSVC)

    file(RELATIVE_PATH fossil_DESTDIR "${fossil_BINARY_DIR}" "${fossil_INSTALL_DIR}")