[Mapguide-trac] [mapguide-trac] #2860: Simplify PostBuild.mak for easier maintenance

MapGuide Open Source trac_mapguide at osgeo.org
Fri Feb 3 08:28:46 PST 2023


#2860: Simplify PostBuild.mak for easier maintenance
----------------------------+----------------------
   Reporter:  jng           |      Owner:  jng
       Type:  enhancement   |     Status:  assigned
   Priority:  low           |  Milestone:  4.0
  Component:  Build System  |    Version:
   Severity:  trivial       |   Keywords:
External ID:                |
----------------------------+----------------------
 Right now PostBuild.mak copies *individual* data files from sub-
 directories under `UnitTest` to the target test data directory for the
 server test suite.

 It then duplicates these copy directives for every debug/release and msvc
 compiler version. As a result, this makes maintaining this file (eg.
 Adding new data for a new server test case) an absolute PITA!

 PostBuild.mak is only used for the Windows build as Linux does its own
 post-build test data setup, yet I rarely recall ever having to update the
 Linux post-build whenever I added new test cases, so the Linux post-build
 must be doing something right and PostBuild.mak should follow their
 example
-- 
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/2860>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list