1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-30 02:50:05 +00:00

fix for a mac file bug introduced in the last check-in..

This commit is contained in:
Julian Storer 2009-10-12 14:39:43 +01:00
parent 1acee444d1
commit 0280c57ff0
19 changed files with 157 additions and 143 deletions

View file

@ -17,7 +17,7 @@
//==============================================================================
static int addFile (const File& file,
const String& classname,
const String& classname,
OutputStream& headerStream,
OutputStream& cppStream)
{
@ -29,7 +29,7 @@ static int addFile (const File& file,
.replaceCharacter ('.', '_')
.retainCharacters (T("abcdefghijklmnopqrstuvwxyz_0123456789")));
printf ("Adding %s: %d bytes\n",
printf ("Adding %s: %d bytes\n",
(const char*) name,
mb.getSize());
@ -59,8 +59,8 @@ static int addFile (const File& file,
cppStream.printf ("%d,0,0};\r\n", (int) data[i]);
cppStream.printf ("const char* %s::%s = (const char*) temp%d;\r\n\r\n",
(const char*) classname,
(const char*) name,
(const char*) classname,
(const char*) name,
tempNum);
return mb.getSize();
@ -78,7 +78,7 @@ static bool isHiddenFile (const File& f, const File& root)
//==============================================================================
int main (int argc, char* argv[])
{
// If you're running a command-line app, you need to initialise juce manually
// If you're running a command-line app, you need to initialise juce manually
// before calling any Juce functionality..
initialiseJuce_NonGUI();
@ -128,15 +128,15 @@ int main (int argc, char* argv[])
const File cppFile (destDirectory.getChildFile (className).withFileExtension (T(".cpp")));
String message;
message << "Creating " << headerFile.getFullPathName()
message << "Creating " << headerFile.getFullPathName()
<< " and " << cppFile.getFullPathName()
<< " from files in " << sourceDirectory.getFullPathName()
<< " from files in " << sourceDirectory.getFullPathName()
<< "...\n\n";
printf ((const char*) message);
OwnedArray <File> files;
sourceDirectory.findChildFiles (files, File::findFiles, true,
sourceDirectory.findChildFiles (files, File::findFiles, true,
(argc > 4) ? argv[4] : "*");
if (files.size() == 0)

View file

@ -1,5 +1,5 @@
/*
This file contains settings that you might want to explicitly apply to
This file contains settings that you might want to explicitly apply to
your Juce build.
These flags enable or disable juce features - if you're linking to juce as
@ -8,7 +8,7 @@
just include this file before including your juce_amalgamated.cpp file to
have the same effect.
If you leave any of these commented-out, they'll take on the default value
If you leave any of these commented-out, they'll take on the default value
assigned to them in juce_Config.h, so to force them on or off, just set them
to an explicit 0 or 1 in here.
*/

View file

@ -1,10 +1,10 @@
/*
/*
This file includes the entire juce source tree via the amalgamated file.
You could add the amalgamated file directly to your project, but doing it
like this allows you to put your app's config settings in the
juce_AppConfig.h file and have them applied to both the juce headers and
like this allows you to put your app's config settings in the
juce_AppConfig.h file and have them applied to both the juce headers and
the source code.
*/

View file

@ -1,10 +1,10 @@
/*
/*
This file includes the entire juce source tree via the amalgamated file.
You could add the amalgamated file directly to your project, but doing it
like this allows you to put your app's config settings in the
juce_AppConfig.h file and have them applied to both the juce headers and
like this allows you to put your app's config settings in the
juce_AppConfig.h file and have them applied to both the juce headers and
the source code.
*/