Hi,
I have lot of files in a folder to include in mkb. Is there any shortcut to give folder path in mkb, so that it automatically fetches all files from that folder?
Thanks a lot in advance!
Hi,
I have lot of files in a folder to include in mkb. Is there any shortcut to give folder path in mkb, so that it automatically fetches all files from that folder?
Thanks a lot in advance!
Hello, I have a problem. Can`t build project for android after including s3eDialog.
We need some advice on putting together an Android app to interface to a MODBUS TCP socket server
I'm working on a game engine and set of tools for Marmalade SDK.











Let's say that you have your data in the directory "Resources" then in your mkb in the assets section write:
assets
{
(../Resources)
.
}
this will include all the file and subdirectories found within the directory resources
If you want to include the whole content of a single directory just write the name of the directory, like this:
assets
{
(../Resources)
Graphics
}
this includes all the content and subdirectories of the directory "Graphics".
Bye
Thanks a lot!
But does it apply for files too? if we want to include all files from directory, can we say
files
{
../directory_name
}
Hi,
I tried for files as mentioned above, but it doesn't look to load files into project. Can you please give your input?
Thanks.
Sorry, I assumed that you needed it for resource files. I think that for source code files the "wild card" feature is missing or at least I don't know how to do it.
Try this:
files
{
(source)
'*.cpp'
'*.h'
}
MonRoyals,
This works great, but could it also parse subfolders and create corresponding filters within the vcproj? We have hundreds of files, and want to keep them categorized within the solution tree. If filters were created based upon subfolder name, that would help a lot.
Of course, ideally modifications could be made to the solution explorer within vs, and those changes would get written out to a separate, marmalade-specific "solution tree" file, which could be referenced within the .mkb. This would allow devs to restructure within the IDE, and would also allow all the files to be in a flat folder (i.e. code/src), but still have them within subfolders inside the solution explorer of the IDE. This way we can move folders around the tree without borking the SVN history caused by moving a file.
I agree with LeeMcD.
Being able to do something like:
files { (src) }And have the MKB create a vcproj with every folder/file inside "src" with filters created based on any subfolders found inside "src" would be ideal.
As it stands, I ended up doing something like this:
files { (../src) [src] '*.*' (../src/graphics) [src/graphics] '*.*' (../src/input) [src/input] '*.*' }Which works, and at least I don't need to specify every single file (hundreds in total), but still means I have to do a bit of editing of the MKB file every now and then when a new subfolder in my src directory is added.
Hoping that the Marmalade team has something in the works or that there is some hidden/undocumented way to get this working right now.