Problem controlling wxCrafter output directory
Posted: Tue Jun 11, 2013 2:37 am
I'm using 5.1 with wxCrafter 1.1 (registered), on Win7-x64 machine, (codelite-5.1.0-mingw4.7.1-wx2.9.4.exe bundle).
Since I don't check the wxCrafter generated files into SVN, they are regenerated after a checkout.
When I checkout into a different directory, I get build errors.
I have found two reasons for this.
1) In the wxcp file, the "m_generatedFilesDir" metadata is hard-coded to the original build directory;
fix: if it is left empty by editing the wxcp file, then it will use the current directory.
2) Also in the wxcp file, the "m_bitmapsFile" metadata is NOT hard-coded and changes its name based on the current build directory;
fix: instead force a specific filename (this can be edited in wxCrafter Project Settings).
The UI doesn't seem to reliably control the Output Directory through the wxCrafter Project Settings.
If the directory is cleared in the wxcp file, after some edits and a checkin, I'll find that it is again set to the current project directory.
Perhaps the Output Directory should be relative or allow use of Macros as with the Project Settings.
-Stan
Since I don't check the wxCrafter generated files into SVN, they are regenerated after a checkout.
When I checkout into a different directory, I get build errors.
I have found two reasons for this.
1) In the wxcp file, the "m_generatedFilesDir" metadata is hard-coded to the original build directory;
fix: if it is left empty by editing the wxcp file, then it will use the current directory.
2) Also in the wxcp file, the "m_bitmapsFile" metadata is NOT hard-coded and changes its name based on the current build directory;
fix: instead force a specific filename (this can be edited in wxCrafter Project Settings).
The UI doesn't seem to reliably control the Output Directory through the wxCrafter Project Settings.
If the directory is cleared in the wxcp file, after some edits and a checkin, I'll find that it is again set to the current project directory.
Perhaps the Output Directory should be relative or allow use of Macros as with the Project Settings.
-Stan