mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-26 02:14:22 +00:00
Introjucer Android Studio exporter: added missing export of per-configuration header and library search paths.
This commit is contained in:
parent
f73c8e0c59
commit
ce1547aa66
1 changed files with 8 additions and 0 deletions
|
|
@ -523,6 +523,14 @@ private:
|
|||
ndkFlags.add ("cppFlags.add(\"-DNDEBUG=1\")");
|
||||
}
|
||||
|
||||
const StringArray& headerSearchPaths = config->getHeaderSearchPaths();
|
||||
for (int i = 0; i < headerSearchPaths.size(); ++i)
|
||||
ndkFlags.add ("cppFlags.add(\"-I" + sanitisePath (headerSearchPaths[i]) + "\".toString())");
|
||||
|
||||
const StringArray& librarySearchPaths = config->getLibrarySearchPaths();
|
||||
for (int i = 0; i < librarySearchPaths.size(); ++i)
|
||||
ndkFlags.add ("cppFlags.add(\"-L" + sanitisePath (librarySearchPaths[i]) + "\".toString())");
|
||||
|
||||
{
|
||||
StringPairArray preprocessorDefinitions = config->getAllPreprocessorDefs();
|
||||
preprocessorDefinitions.set ("JUCE_ANDROID", "1");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue