Loading ...
Sorry, an error occurred while loading the content.

68282Issue 109 in vim: src/Make_mvc.mak fails for quoted values of SDK_INCLUDE_DIR

Expand Messages
  • vim@...
    Feb 16, 2013
    • 0 Attachment
      Status: New
      Owner: ----
      Labels: Type-Defect Priority-Medium

      New issue 109 by bland...@...: src/Make_mvc.mak fails for quoted
      values of SDK_INCLUDE_DIR

      using msvs 2012 express for desktop
      nmake version 11.00.51106.1

      while following the instructions on lines 18-19 of src/Make_mvc.mak causes
      nmake to complain and result in a fatal error. i eventually found putting
      quotes in the var SDK_INCLUDE_DIR to be the culprit.

      e:\projects\vim\src>set SDK_INCLUDE_DIR="C:\Program Files (x86)\Microsoft

      removing the quotes enables everything to work fine but feels a little
      scary. an alternative is to make use of nmake's INCLUDE macro:


      then use angle brackets as usual:

      !include <Win32.mak>

      this works great but the INCLUDE macro will also need to be updated in
      GvimExt Makefile as well if it is desired to build GvimExt on its own and
      that could result in some weirdness since you'll be duplicating the
      SDK_INCLUDE_DIR in nmakes INCLUDE paths.

      attached is a diff with these changes to the makefiles and including an
      additional .bat for setting the msvs 2012 environment.

      msvs_2012_makefile_updates.diff 1.1 KB

      You received this message because this project is configured to send all
      issue notifications to this address.
      You may adjust your notification preferences at:

      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php

      You received this message because you are subscribed to the Google Groups "vim_dev" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.