marcel Active Member Licensed User Longtime User Oct 14, 2013 #1 Hi, I have two customers who has in basic the same application only somelayout differences and some minor code differences. How can I arrange this with B4A wihout to duplicate my code and make changes in both applications. Can i use anything like compiler directives or anything like this or what would be the best approach for this? Thanks!
Hi, I have two customers who has in basic the same application only somelayout differences and some minor code differences. How can I arrange this with B4A wihout to duplicate my code and make changes in both applications. Can i use anything like compiler directives or anything like this or what would be the best approach for this? Thanks!
Erel B4X founder Staff member Licensed User Longtime User Oct 15, 2013 #2 See this tutorial: Library compilation - Compile your project to a library You can turn the shared components into a library and then reference the library from the second project. Upvote 0
See this tutorial: Library compilation - Compile your project to a library You can turn the shared components into a library and then reference the library from the second project.
MaFu Well-Known Member Licensed User Longtime User Oct 15, 2013 #3 Maybe my tool can help: http://www.b4x.com/android/forum/threads/conditional-compiling-for-b4a.33292/ Upvote 0
Maybe my tool can help: http://www.b4x.com/android/forum/threads/conditional-compiling-for-b4a.33292/
marcel Active Member Licensed User Longtime User Oct 17, 2013 #4 Erel said: See this tutorial: Library compilation - Compile your project to a library You can turn the shared components into a library and then reference the library from the second project. Click to expand... 95% is the same, so that's does not make sence. Is it hard to build into B4A conditional compiling. This would be very usefull for a lot of people. Upvote 0
Erel said: See this tutorial: Library compilation - Compile your project to a library You can turn the shared components into a library and then reference the library from the second project. Click to expand... 95% is the same, so that's does not make sence. Is it hard to build into B4A conditional compiling. This would be very usefull for a lot of people.
marcel Active Member Licensed User Longtime User Oct 17, 2013 #5 MaFu said: Maybe my tool can help: http://www.b4x.com/android/forum/threads/conditional-compiling-for-b4a.33292/ Click to expand... MMh, it could work but it is a little bit of hassle. I prefer to have it build into B4A. Upvote 0
MaFu said: Maybe my tool can help: http://www.b4x.com/android/forum/threads/conditional-compiling-for-b4a.33292/ Click to expand... MMh, it could work but it is a little bit of hassle. I prefer to have it build into B4A.
MaFu Well-Known Member Licensed User Longtime User Oct 17, 2013 #6 marcel said: MMh, it could work but it is a little bit of hassle. I prefer to have it build into B4A. Click to expand... You're right. But at the moment, it's better than nothing. Upvote 0
marcel said: MMh, it could work but it is a little bit of hassle. I prefer to have it build into B4A. Click to expand... You're right. But at the moment, it's better than nothing.
marcel Active Member Licensed User Longtime User Oct 17, 2013 #7 MaFu said: You're right. But at the moment, it's better than nothing. Click to expand... And now you are right Upvote 0
MaFu said: You're right. But at the moment, it's better than nothing. Click to expand... And now you are right
marcel Active Member Licensed User Longtime User Oct 18, 2013 #8 Erel, Any chance that this will be implemented soon in B4A? Would be very nice... Upvote 0