Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Importing Makefile project to Visual Studio

Importing Makefile project to Visual Studio

Scheduled Pinned Locked Moved C / C++ / MFC
questioncsharpvisual-studiolinuxtesting
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pgav
    wrote on last edited by
    #1

    Greetings, I'm working on a project that needs to easily port between Windows and Linux platforms. As such, we've decided on using multiple development platforms to work with the code (much of which is already written). (For those interested, we're using Eclipse with GNU tools for Linux testing, and Visual Studio for Windows testing). The question is the following: How do I force Visual Studio to read the Makefiles when building the project? I know that Visual Studio has the ability to work with Makefiles, however, I'm not able to make it work with already written code. Anyone have to do this before? Thanks.

    Patrick

    D 1 Reply Last reply
    0
    • P pgav

      Greetings, I'm working on a project that needs to easily port between Windows and Linux platforms. As such, we've decided on using multiple development platforms to work with the code (much of which is already written). (For those interested, we're using Eclipse with GNU tools for Linux testing, and Visual Studio for Windows testing). The question is the following: How do I force Visual Studio to read the Makefiles when building the project? I know that Visual Studio has the ability to work with Makefiles, however, I'm not able to make it work with already written code. Anyone have to do this before? Thanks.

      Patrick

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      pgav wrote:

      I know that Visual Studio has the ability to work with Makefiles, however, I'm not able to make it work...

      Are you using nmake.exe?


      "Money talks. When my money starts to talk, I get a bill to shut it up." - Frank

      "Judge not by the eye but by the heart." - Native American Proverb

      P 1 Reply Last reply
      0
      • D David Crow

        pgav wrote:

        I know that Visual Studio has the ability to work with Makefiles, however, I'm not able to make it work...

        Are you using nmake.exe?


        "Money talks. When my money starts to talk, I get a bill to shut it up." - Frank

        "Judge not by the eye but by the heart." - Native American Proverb

        P Offline
        P Offline
        pgav
        wrote on last edited by
        #3

        I know of nmake.exe... but where do I find it/use it?

        Patrick

        -- modified at 11:19 Monday 24th July, 2006

        D M 2 Replies Last reply
        0
        • P pgav

          I know of nmake.exe... but where do I find it/use it?

          Patrick

          -- modified at 11:19 Monday 24th July, 2006

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          It's in the \vc98\bin folder.


          "Money talks. When my money starts to talk, I get a bill to shut it up." - Frank

          "Judge not by the eye but by the heart." - Native American Proverb

          1 Reply Last reply
          0
          • P pgav

            I know of nmake.exe... but where do I find it/use it?

            Patrick

            -- modified at 11:19 Monday 24th July, 2006

            M Offline
            M Offline
            Mike Dimmick
            wrote on last edited by
            #5

            Note that nmake and GNU make syntax are often not compatible, so you might have to either download and use GNU make on Windows, or bite the bullet and maintain both a GNU-compatible makefile and a Visual Studio project file.

            Stability. What an interesting concept. -- Chris Maunder

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups