Thread: Info on MakeFile & Depencies Visual Studio

  1. #1
    Registered User
    Join Date
    Nov 2011
    Posts
    45

    Info on MakeFile & Depencies Visual Studio

    Hello!

    I need to send this to my prof:

    • Code with makefiles or solution
    • Executable in Release mode (Windows)
    • Is
      Code:
      #pragma comment(lib,"Ws2_32.lib")
      an external dependencies?

    With the makefile / solution do they mean this folder:

    Info on MakeFile & Depencies Visual Studio-uploaduc-png
    Link: http://img843.imageshack.us/img843/8691/uploaduc.png

    Without the Debug&Release or do they have to be in it?



    And the executable in Release mode that the extra folder that comes up named "Release"

    Kind regards

  2. #2
    Registered User
    Join Date
    Mar 2010
    Posts
    583
    Quote Originally Posted by MaSSaSLaYeR View Post
    Is
    Code:
    #pragma comment(lib,"Ws2_32.lib")
    an external dependencies?
    Yep, you can do it like that. Or in the GUI you can add an external dependency to the project from Project Properties --> Linker --> Input, and put the library name in "Additional Dependencies".

    With the makefile / solution do they mean this folder:
    So "solution" refers to the .sln file. I expect that's in the directory above the one you're in.

    Without the Debug&Release or do they have to be in it?
    The Debug and Release folders contain files generated by the build, including: executables, object files, debugging information, log files...
    If you are providing a release executable separately, you don't need to include these folders.

    I'd go up a couple of levels and zip up the whole directory for the solution you're submitting.

  3. #3
    Registered User
    Join Date
    Nov 2011
    Posts
    45
    Quote Originally Posted by smokeyangel View Post
    Yep, you can do it like that. Or in the GUI you can add an external dependency to the project from Project Properties --> Linker --> Input, and put the library name in "Additional Dependencies".



    So "solution" refers to the .sln file. I expect that's in the directory above the one you're in.



    The Debug and Release folders contain files generated by the build, including: executables, object files, debugging information, log files...
    If you are providing a release executable separately, you don't need to include these folders.

    I'd go up a couple of levels and zip up the whole directory for the solution you're submitting.
    Thank you!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Visual Studio DLL and Visual Basic
    By mathguy in forum C Programming
    Replies: 18
    Last Post: 12-08-2011, 03:55 PM
  2. Visual C++ and Visual Studio 2010
    By 03jh01 in forum C++ Programming
    Replies: 5
    Last Post: 10-03-2010, 04:03 AM
  3. visual studio 6 and visual studio.net difference
    By gemini_shooter in forum Tech Board
    Replies: 5
    Last Post: 02-04-2006, 01:32 AM
  4. using a makefile / gdb info
    By dinjas in forum C Programming
    Replies: 2
    Last Post: 02-22-2005, 06:42 PM
  5. Replies: 1
    Last Post: 05-26-2004, 09:59 AM