Giter Site home page Giter Site logo

stat's Issues

Incremental build fails in certain scenarios

Testing the latest version (1.2.0) on a real product revealed the following issues:

  • Incremental build failed due to overkill checking-option (/WX) that was added for linker
    • It caused the makefiles with duplication of source declarations to fail due to duplication of object files
  • There is a bug in the logic responsible for extraction of dependecies that are used by incremental build
    • The compiler command-line doesn't include definitions specified for the test-packages, causing it to fail
  • A workaround is needed for certain cases of bad-syntax encountered in user-makefiles

Makefile parsing inconsitency with comments

If a comment is interleaved with the values of a macro defintion, makefile parser doesn't ignore its contents.
This behavior conflicts with IDE-writers, since it attempts to treat the comment as a valid entry and fails on it.

For instance:

SOURCES = \
  file_x.c\
  # file_y.c\   <--this comment will be treated by parser as a file, and it shouldn't
  file_z.c

Ocasional failure in incremental build

NMAKE shows an inconsistent behavior in dealing with assignment of values to environment variables. This caused to invariant behavior of the incremental build, which is affected by the amount of times certain environment variable is set (not as part of a batch file). Therefore, sometimes incremental build works correctly, but sometimes it fails.

Migrate from NMake to GMake

GMake (a.k.a. GNU Make tool) is a cross-platform Make tool. Migrating to it, will simplify the procedure of entending the framework to platforms other than Windows.

Make: Critical issue with dummy interfaces

A new quite critical bug has spotted within makefiles that disturbs it work:

  • If there is a dummy header file within the dummies folder any test-package that needs a production version of this file will end up using the dummy version and crash

STAT: Add support for standalone MS Build Tools

Today, on Windows STAT supports full MSVS variations (i.e. build tools with IDE). To support better DevOps and lower expenses it has been requested by some users to add support standalone MS Build Tools (i.e. w/o IDE).
This is especially relevant now, when a support for VSCode has been added to the framework.

STAT: Support for incremental build

The current version of NMAKE script is very basic that rebuilds each test-package in full.
It would be nice to add the framework ability to provide several options of building:

  • incremental build
  • rebuild
  • clean and rebuild (currently the only target that issued by default)

Add support for GCC on Linux

To enable the framework on Linux it must be able to compile on Linux. GNU Compiler was chosen as a default one for Linux platform.

Produce symbolic link to source

Add a support to STAT that will produce symbolic link to source to some dedicated folder (like I do with the headers) and compile them from there, this isolating source files from header files.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.