1. 30 Apr, 2017 1 commit
    • stijn's avatar
      msvc: Rebuild all qstrs when mpconfig headers are modified · db9c2e31
      stijn authored
      Make qstr generation depend on modifications in mpconfigport.h, mpconfig.h
      and makeqstrdata.py and if any of those change scan all source files for
      qstrs again since they might have changed (for example typcially when
      enabling new features in mpconfig.h).
      This fixes #2982 for msvc builds.
  2. 23 Mar, 2017 1 commit
  3. 15 Jun, 2016 1 commit
  4. 25 Apr, 2016 1 commit
    • stijn's avatar
      windows/msvc: Rewrite qstr auto-generation. · 29c8c8ae
      stijn authored
      Builds have been broken since reworking autogeneration in c618f91e and
      related, this gets fixed here by applying similar qstr generation logic
      for the msvc builds: c files are only preprocessed when changed (or not
      yet preprocessed) and the concatenated output is fed into makeqstrdefs.py.
      To speed up this process, the concatenated output is already filtered to
      contain only lines which makeqstrdefs really needs: this makes the qstr
      generation stage about twice as fast (checked on different machines).
  5. 16 Apr, 2016 1 commit
  6. 11 Dec, 2015 1 commit
    • stijn's avatar
      msvc: Use different output directories depending on build type · 967ceba5
      stijn authored
      This allows multiple versions (e.g. Debug/Release, x86/x64) of micropython.exe
      to co-exist instead and also solves potential problems where msbuild does not
      completely rebuild the output and/or pdb files when switching between builds,
      which in turn can cause linker errors in dependent projects.
      By default exe/map/... files go in windows/build/$(Configuration)$(Platform)
      After each build micropython.exe is still copied from the above directory to
      the windows directory though, as that is consistent with the other ports and
      the test runner by default uses that location as well.
      Also rename env.props -> path.props which is a clearer name,
      and add ample documentation in the affected build files.
      (also see discussion in #1538)
  7. 10 Nov, 2015 1 commit
  8. 28 Apr, 2015 1 commit
  9. 22 Apr, 2015 1 commit
  10. 02 Jan, 2015 2 commits
    • stijn's avatar
      msvc: Use single build target for dealing with generated files · ffc96a90
      stijn authored
      Remove some duplication in the code for generating
      qstrdefs.generated.h and py-version.h
    • stijn's avatar
      msvc: Define main build/include directories in a single location · 8dec62a1
      stijn authored
      - Use a single file env.props for defining the main directories used when building.
        env.props resolves the base directory and defines overridable output directories,
        and is used by all other build files.
      - Fix the build currently failing, basically because the preprocessing command for generating
        qstrdefs uses different include directories than the build itself does.
        (specifically, qstrdefs.h uses #include "py/mpconfig.h" since the fixes for #1022
        in 51dfcb4b, so we need to use the base directory as include directory, not the py dir itself).
        So define a single variable containing the include directories instead and use it where needed.
  11. 28 May, 2014 1 commit
  12. 08 May, 2014 1 commit
    • stijn's avatar
      Windows MSVC port · 01d6be4d
      stijn authored
      Extend the windows port so it compiles with the toolchain from Visual Studio 2013