Compiling new files
Hi people, If I want to add custom .cpp and .h files to the make list, how can I accomplish that ?
For automake, you just add them to the Makefile_insert file in the relevant source folder. You'll need to edit the build.xml file in the root folder and the CMakelists.txt file in the relevant source folder. Remember to do a "bzr add" to get bazaar to track the files too if you plan to add them to the repository!
AV
On 7 April 2013 13:49, Arshdeep Singh <moduli16@...400...> wrote:
Hi people, If I want to add custom .cpp and .h files to the make list, how can I accomplish that ?
-- demicoder
Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
On 7-4-2013 14:54, Alex Valavanis wrote:
For automake, you just add them to the Makefile_insert file in the relevant source folder. You'll need to edit the build.xml file in the root folder and the CMakelists.txt file in the relevant source folder.
Small correction: you do not need to add the file to build.xml. So on Windows, you have to rebuild the dependency list by simply deleting "build.dep" (btool will rebuild it next time and find your new files).
-Johan
Remember to do a "bzr add" to get bazaar to track the files too if you plan to add them to the repository!
AV
On 7 April 2013 13:49, Arshdeep Singh <moduli16@...400...> wrote:
Hi people, If I want to add custom .cpp and .h files to the make list, how can I accomplish that ?
Thanks :) I'm not really familiar with Windows builds!
AV
On 7 April 2013 14:09, Johan Engelen <jbc.engelen@...2592...> wrote:
On 7-4-2013 14:54, Alex Valavanis wrote:
For automake, you just add them to the Makefile_insert file in the relevant source folder. You'll need to edit the build.xml file in the root folder and the CMakelists.txt file in the relevant source folder.
Small correction: you do not need to add the file to build.xml. So on Windows, you have to rebuild the dependency list by simply deleting "build.dep" (btool will rebuild it next time and find your new files).
-Johan
Remember to do a "bzr add" to get bazaar to track the files too if you plan to add them to the repository!
AV
On 7 April 2013 13:49, Arshdeep Singh <moduli16@...400...> wrote:
Hi people, If I want to add custom .cpp and .h files to the make list, how can I accomplish that ?
Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (3)
-
Alex Valavanis
-
Arshdeep Singh
-
Johan Engelen