Hi guys
I'm a new user of the CodeLite IDE. I love different functions that I can't find in VS or other C++ IDE.
But 2 function I can't find.
First
Is it possible to run a script (for copying all dll files in the running directory) after every build is finished?
Second
Is it possible to tell CodeLite that the running directory is not in the debug or release folder (of my project) but in the folder of the project?
Now I must copy all my image files in the debug folder.
Run script before running program
-
- CodeLite Veteran
- Posts: 75
- Joined: Thu Mar 14, 2013 11:24 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Run script before running program
Yes, there is pre build and post build command options.
You could find it, at project->settings->Pre / Post build Commands
To copy all .dll files after your build you should write this simple command, add it to post build.
Here, folder path is relative to current (project) directory, for me, my 'lib' folder is one directory above my current (project) directory and 'Debug' folder is in the same directory as the project. So, the command to copy all *.dll files from 'lib' to 'Debug' folder is
Hope that helps
You could find it, at project->settings->Pre / Post build Commands
To copy all .dll files after your build you should write this simple command, add it to post build.
Code: Select all
copy /Y source_folder\*.dll destination_folder
Code: Select all
copy /Y ..\lib\*.dll Debug
Hope that helps