wandersonp Posted January 2, 2015 Share Posted January 2, 2015 Recently I discovered how to avoid Makefiles for projects that required lib linking, lots of cpp and header files. just a simple solution my main.cpp file just contains #include SOP_mySop.cpp #include file01.cpp #include file02.cpp #include file03.cpp #include file04.cpp now just execute hcustom main.cpp and everything is fine 1 Quote Link to comment Share on other sites More sharing options...
lisux Posted January 12, 2015 Share Posted January 12, 2015 Mmmm definitely not good. Quote Link to comment Share on other sites More sharing options...
edward Posted January 12, 2015 Share Posted January 12, 2015 I think this technique has its pros and cons. I have heard rumours of some large project (was it a game engine? i forget) that builds using this technique. Quote Link to comment Share on other sites More sharing options...
Stalkerx777 Posted January 12, 2015 Share Posted January 12, 2015 Recently I discovered how to avoid Makefiles for projects that required lib linking, lots of cpp and header files. just a simple solution my main.cpp file just contains #include SOP_mySop.cpp #include file01.cpp #include file02.cpp #include file03.cpp #include file04.cpp now just execute hcustom main.cpp and everything is fine I'm not quite understand, how including source code, can help with linking, especially when linking with 3rd party libs? Also makefiles can do much much more. Maybe in case of hcustom it helps..... Quote Link to comment Share on other sites More sharing options...
wandersonp Posted January 14, 2015 Author Share Posted January 14, 2015 until now, this technique works for me, because in my linux the makefile sample of HDK site is not working properly, lot of errors. in the future i will try to correct and use makefiles in my source Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.