vc project import attempts
Posted: Wed Mar 03, 2010 1:46 am
(Moved to new thread to avoid further pollution of your roadmap thread - sorry about that)
The .mk that results from my patch (I think) contains:
OutputFile :=$(IntermediateDirectory)/lib$(ProjectName).a
(well, I think I did have to manually edit the libs to change ".lib" to ".a" in the project options - I suppose if you wanted to automate that, it would be nice )
The .mk that results from your changes contains:
OutputFile :=/lib
There is an error reported from the build attempt of the resulting workspace (the original project contains a number of subprojects that produce static libraries, and then an .exe from those libraries) reports:
Usage: makedir input file...
after compiling to produce the .o files... which I expect is appropriate for the "OutputFile" defined in the .mk file.
Asking which tool to use is a nice additional touch (these libraries happen to be based on .c code, rather than .cpp).
[OT]: But I've been wondering, have you considered the possibility of mixed tool projects, where a project might need to specify the tool(set) on a file-by-file basis (source file set might contain mixture of .c, .cpp, and/or other source types)? [/OT]
I think there's a pattern developing here...eranif wrote: I did not apply your patch,
I updated and tried, and it is still not correct, at least for a static library.eranif wrote:but I did all the mentioned points that you tried to address and more.
The import should now be more smooth (I tried it on FreeImage project)
Eran
The .mk that results from my patch (I think) contains:
OutputFile :=$(IntermediateDirectory)/lib$(ProjectName).a
(well, I think I did have to manually edit the libs to change ".lib" to ".a" in the project options - I suppose if you wanted to automate that, it would be nice )
The .mk that results from your changes contains:
OutputFile :=/lib
There is an error reported from the build attempt of the resulting workspace (the original project contains a number of subprojects that produce static libraries, and then an .exe from those libraries) reports:
Usage: makedir input file...
after compiling to produce the .o files... which I expect is appropriate for the "OutputFile" defined in the .mk file.
Asking which tool to use is a nice additional touch (these libraries happen to be based on .c code, rather than .cpp).
[OT]: But I've been wondering, have you considered the possibility of mixed tool projects, where a project might need to specify the tool(set) on a file-by-file basis (source file set might contain mixture of .c, .cpp, and/or other source types)? [/OT]