DonManfred Expert Licensed User Longtime User Feb 26, 2014 #1 Hallo, the title says everything i think How can a tool which is started with the #CustomBuildAction directive in b4a-project... I want to know whether is is compiled in RELEASE-Mode or even one of the other possibilities... Are the some hidden vars i can use? maybe #CustomBuildAction 4,tooltostart.exe, x:\path\to\project.b4a /mode=%%mode%% Click to expand... And %%mode%% would be replaced by b4a before running this tool to Either Release, Debug, Rapid or Obfuscated. Do something like that already exists? Erel? ;-)
Hallo, the title says everything i think How can a tool which is started with the #CustomBuildAction directive in b4a-project... I want to know whether is is compiled in RELEASE-Mode or even one of the other possibilities... Are the some hidden vars i can use? maybe #CustomBuildAction 4,tooltostart.exe, x:\path\to\project.b4a /mode=%%mode%% Click to expand... And %%mode%% would be replaced by b4a before running this tool to Either Release, Debug, Rapid or Obfuscated. Do something like that already exists? Erel? ;-)
Erel B4X founder Staff member Licensed User Longtime User Feb 26, 2014 #2 Do something like that already exists? Click to expand... I'm afraid that no. Upvote 0
DonManfred Expert Licensed User Longtime User Feb 26, 2014 #3 Ok, thanks for answering... Other question; WHERE DO the IDE stores the actual dropdown. It must be stored somewhere. b4a restaurates the last setting... Should i made a wish-request for it then? How are the chances that´s this will be available in future? ;-) I´ll make a wish-request later this day... Upvote 0
Ok, thanks for answering... Other question; WHERE DO the IDE stores the actual dropdown. It must be stored somewhere. b4a restaurates the last setting... Should i made a wish-request for it then? How are the chances that´s this will be available in future? ;-) I´ll make a wish-request later this day...
Erel B4X founder Staff member Licensed User Longtime User Feb 26, 2014 #4 Should i made a wish-request for it then? Click to expand... Sure. Upvote 0
DonManfred Expert Licensed User Longtime User Feb 26, 2014 #5 For all who reads this here. I´ve made a wish-post (including a poll for this Feature) in wish/bug-forum. Please have a look here. Upvote 0
For all who reads this here. I´ve made a wish-post (including a poll for this Feature) in wish/bug-forum. Please have a look here.
DonManfred Expert Licensed User Longtime User May 18, 2014 #6 Thanx to B4A v3.8 we now can use this Code: Copy #if Release #CustomBuildAction 4,tooltostart.exe, x:\path\to\project.b4a #end if #if Debug #CustomBuildAction 4,tooltostart2.exe, x:\path\to\project.b4a #end if Really great!! THANX YOU SO MUCH FOR THIS (including the hole conditional compiling), @Erel Upvote 0
Thanx to B4A v3.8 we now can use this Code: Copy #if Release #CustomBuildAction 4,tooltostart.exe, x:\path\to\project.b4a #end if #if Debug #CustomBuildAction 4,tooltostart2.exe, x:\path\to\project.b4a #end if Really great!! THANX YOU SO MUCH FOR THIS (including the hole conditional compiling), @Erel
Erel B4X founder Staff member Licensed User Longtime User May 18, 2014 #7 Here is an example that uses CustomBuildAction to change the project files and icon: Change Icon and Assets Files based on the Build Configuration Upvote 0
Here is an example that uses CustomBuildAction to change the project files and icon: Change Icon and Assets Files based on the Build Configuration
DonManfred Expert Licensed User Longtime User May 18, 2014 #8 Erel said: Here is an example that uses CustomBuildAction to change the project files and icon: Change Icon and Assets Files based on the Build Configuration Click to expand... Yes, i saw that thread... It was the base of my solution to use this feature i have requested... Another part was my knowledge about the new Conditions (Release or Debug are always set in these compiling modes)... So it was easy to build my need Code: Copy #if Release #CustomBuildAction 4,tooltostart.exe, x:\path\to\project.b4a #end if I ONLY want to run the tool in RELEASE mode not on each compiling... So i now have want i wanted... (big smile in my face). Thanx again Upvote 0
Erel said: Here is an example that uses CustomBuildAction to change the project files and icon: Change Icon and Assets Files based on the Build Configuration Click to expand... Yes, i saw that thread... It was the base of my solution to use this feature i have requested... Another part was my knowledge about the new Conditions (Release or Debug are always set in these compiling modes)... So it was easy to build my need Code: Copy #if Release #CustomBuildAction 4,tooltostart.exe, x:\path\to\project.b4a #end if I ONLY want to run the tool in RELEASE mode not on each compiling... So i now have want i wanted... (big smile in my face). Thanx again