merge library code into a single block RRS feed

  • Question

  • I have libarary with many directories . How can i merge library code into a single block ?
    Tuesday, August 28, 2012 9:33 PM


  • Hi rafal_bator,

    I am a little confused about "libarary with many directories".

    If you mean you have some .lib files in different directories, and you want to put them in a single directory, you can do as you want. But you have to check that this directory which contains all the .lib files is added in "Additional Include Directories". (It is in Properties Pages->Configuration Properties->C/C++->General.)

    If you want to merge some libraries into a single one, you have to move all the function modules from every project that builds each .lib file into a single project, which will build the .lib file you want. If you haven't got these projects, I'm afraid you cannot merge them. Furthermore, you cannot merge C/C++ standard libraries into a single one.



    Damon Zheng [MSFT]
    MSDN Community Support | Feedback to us

    • Edited by Damon Zheng Friday, August 31, 2012 9:56 AM
    • Marked as answer by Damon Zheng Tuesday, September 4, 2012 10:14 AM
    Friday, August 31, 2012 9:54 AM