[DEV] first windows display ==> nothing else pn MAC
This commit is contained in:
parent
7e48ed5172
commit
09ef9c8a19
2
build
2
build
@ -1 +1 @@
|
||||
Subproject commit dfc960939ed6021525cd8a008932feab878e4221
|
||||
Subproject commit fa06553c5e05de847788c4eb83234350bbe66c48
|
2
external/portaudio
vendored
2
external/portaudio
vendored
@ -1 +1 @@
|
||||
Subproject commit f00eaf59fd2b77170831ac0cfa66ec6aabd8abfc
|
||||
Subproject commit 466560ebeacdddfb83fbe22ad86bff77e2cb19d7
|
@ -29,7 +29,7 @@ endif
|
||||
LOCAL_C_INCLUDES :=
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
|
||||
LOCAL_EXPORT_LDLIBS := -I /usr/include/GNUstep/ -fconstant-string-class=NSConstantString -framework Cocoa -framework QuartzCore -framework OpenGL -framework AppKit
|
||||
LOCAL_EXPORT_LDLIBS := -framework Cocoa -framework OpenGL
|
||||
|
||||
LOCAL_CFLAGS := -Wno-write-strings \
|
||||
-DEWOL_VERSION_TAG_NAME="\"$(LOCAL_VERSION_TAG)-$(BUILD_DIRECTORY_MODE)\"" \
|
||||
@ -44,8 +44,61 @@ LOCAL_SRC_FILES := $(FILE_LIST)
|
||||
|
||||
LOCAL_SRC_FILES += ewol/renderer/os/gui.MacOs.cpp \
|
||||
ewol/renderer/os/gui.MacOs.Interface.mm \
|
||||
ewol/renderer/os/gui.MacOs.AppDelegate.mm \
|
||||
ewol/renderer/os/gui.MacOs.OpenglView.mm
|
||||
|
||||
#DFGSDFGSFDGDSFGSDFG := \
|
||||
# ewol/renderer/os/gui.MacOs.AppDelegate.mm \
|
||||
# ewol/renderer/os/gui.MacOs.OpenglView.mm
|
||||
|
||||
# xcode compilation exemple sources :
|
||||
## basic truchage
|
||||
#ProcessInfoPlistFile /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Products/Debug/basicWindowsTestInOpenGL.app/Contents/Info.plist basicWindowsTestInOpenGL/basicWindowsTestInOpenGL-Info.plist
|
||||
#cd /Users/edouarddupin/dev/basicWindowsTestInOpenGL
|
||||
#builtin-infoPlistUtility basicWindowsTestInOpenGL/basicWindowsTestInOpenGL-Info.plist -genpkginfo /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Products/Debug/basicWindowsTestInOpenGL.app/Contents/PkgInfo -expandbuildsettings -platform macosx -o /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Products/Debug/basicWindowsTestInOpenGL.app/Contents/Info.plist
|
||||
|
||||
## precompile je sais pas trop.pch
|
||||
#ProcessPCH /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/PrecompiledHeaders/basicWindowsTestInOpenGL-Prefix-apbwwwblavjitifkwqsuuwvalavo/basicWindowsTestInOpenGL-Prefix.pch.pth basicWindowsTestInOpenGL/basicWindowsTestInOpenGL-Prefix.pch normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
|
||||
#cd /Users/edouarddupin/dev/basicWindowsTestInOpenGL
|
||||
#setenv LANG en_US.US-ASCII
|
||||
#/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c-header -arch x86_64 -fmessage-length=0 -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wduplicate-method-match -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.8 -g -Wno-sign-conversion -iquote /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/basicWindowsTestInOpenGL-generated-files.hmap -I/Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/basicWindowsTestInOpenGL-own-target-headers.hmap -I/Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/basicWindowsTestInOpenGL-all-target-headers.hmap -iquote /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/basicWindowsTestInOpenGL-project-headers.hmap -I/Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Products/Debug/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/DerivedSources/x86_64 -I/Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/DerivedSources -F/Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Products/Debug --serialize-diagnostics /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/PrecompiledHeaders/basicWindowsTestInOpenGL-Prefix-apbwwwblavjitifkwqsuuwvalavo/basicWindowsTestInOpenGL-Prefix.pch.dia -c /Users/edouarddupin/dev/basicWindowsTestInOpenGL/basicWindowsTestInOpenGL/basicWindowsTestInOpenGL-Prefix.pch -o /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/PrecompiledHeaders/basicWindowsTestInOpenGL-Prefix-apbwwwblavjitifkwqsuuwvalavo/basicWindowsTestInOpenGL-Prefix.pch.pth -MMD -MT dependencies -MF /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/PrecompiledHeaders/basicWindowsTestInOpenGL-Prefix-apbwwwblavjitifkwqsuuwvalavo/basicWindowsTestInOpenGL-Prefix.pch.d
|
||||
|
||||
# compile main.m
|
||||
#CompileC /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/Objects-normal/x86_64/main.o basicWindowsTestInOpenGL/main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
|
||||
#cd /Users/edouarddupin/dev/basicWindowsTestInOpenGL
|
||||
#setenv LANG en_US.US-ASCII
|
||||
#/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wduplicate-method-match -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.8 -g -Wno-sign-conversion -iquote /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/basicWindowsTestInOpenGL-generated-files.hmap -I/Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/basicWindowsTestInOpenGL-own-target-headers.hmap -I/Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/basicWindowsTestInOpenGL-all-target-headers.hmap -iquote /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/basicWindowsTestInOpenGL-project-headers.hmap -I/Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Products/Debug/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/DerivedSources/x86_64 -I/Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/DerivedSources -F/Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Products/Debug -include /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/PrecompiledHeaders/basicWindowsTestInOpenGL-Prefix-apbwwwblavjitifkwqsuuwvalavo/basicWindowsTestInOpenGL-Prefix.pch -MMD -MT dependencies -MF /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/Objects-normal/x86_64/main.d --serialize-diagnostics /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/Objects-normal/x86_64/main.dia -c /Users/edouarddupin/dev/basicWindowsTestInOpenGL/basicWindowsTestInOpenGL/main.m -o /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/Objects-normal/x86_64/main.o
|
||||
|
||||
## compile app delegates
|
||||
#CompileC /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/Objects-normal/x86_64/AppDelegate.o basicWindowsTestInOpenGL/AppDelegate.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
|
||||
#cd /Users/edouarddupin/dev/basicWindowsTestInOpenGL
|
||||
#setenv LANG en_US.US-ASCII
|
||||
#/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wduplicate-method-match -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.8 -g -Wno-sign-conversion -iquote /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/basicWindowsTestInOpenGL-generated-files.hmap -I/Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/basicWindowsTestInOpenGL-own-target-headers.hmap -I/Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/basicWindowsTestInOpenGL-all-target-headers.hmap -iquote /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/basicWindowsTestInOpenGL-project-headers.hmap -I/Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Products/Debug/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/DerivedSources/x86_64 -I/Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/DerivedSources -F/Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Products/Debug -include /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/PrecompiledHeaders/basicWindowsTestInOpenGL-Prefix-apbwwwblavjitifkwqsuuwvalavo/basicWindowsTestInOpenGL-Prefix.pch -MMD -MT dependencies -MF /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/Objects-normal/x86_64/AppDelegate.d --serialize-diagnostics /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/Objects-normal/x86_64/AppDelegate.dia -c /Users/edouarddupin/dev/basicWindowsTestInOpenGL/basicWindowsTestInOpenGL/AppDelegate.m -o /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/Objects-normal/x86_64/AppDelegate.o
|
||||
|
||||
# ld :
|
||||
#Ld /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Products/Debug/basicWindowsTestInOpenGL.app/Contents/MacOS/basicWindowsTestInOpenGL normal x86_64
|
||||
#cd /Users/edouarddupin/dev/basicWindowsTestInOpenGL
|
||||
#setenv MACOSX_DEPLOYMENT_TARGET 10.8
|
||||
#/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -L/Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Products/Debug -F/Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Products/Debug -filelist /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Intermediates/basicWindowsTestInOpenGL.build/Debug/basicWindowsTestInOpenGL.build/Objects-normal/x86_64/basicWindowsTestInOpenGL.LinkFileList -mmacosx-version-min=10.8 -fobjc-arc -fobjc-link-runtime -framework Cocoa -o /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Products/Debug/basicWindowsTestInOpenGL.app/Contents/MacOS/basicWindowsTestInOpenGL
|
||||
|
||||
## copy basic string
|
||||
#CopyStringsFile /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Products/Debug/basicWindowsTestInOpenGL.app/Contents/Resources/en.lproj/InfoPlist.strings basicWindowsTestInOpenGL/en.lproj/InfoPlist.strings
|
||||
#cd /Users/edouarddupin/dev/basicWindowsTestInOpenGL
|
||||
#builtin-copyStrings --validate --inputencoding utf-8 --outputencoding UTF-16 --outdir /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Products/Debug/basicWindowsTestInOpenGL.app/Contents/Resources/en.lproj -- basicWindowsTestInOpenGL/en.lproj/InfoPlist.strings
|
||||
|
||||
## copy credit
|
||||
#CpResource basicWindowsTestInOpenGL/en.lproj/Credits.rtf /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Products/Debug/basicWindowsTestInOpenGL.app/Contents/Resources/en.lproj/Credits.rtf
|
||||
#cd /Users/edouarddupin/dev/basicWindowsTestInOpenGL
|
||||
#builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/edouarddupin/dev/basicWindowsTestInOpenGL/basicWindowsTestInOpenGL/en.lproj/Credits.rtf /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Products/Debug/basicWindowsTestInOpenGL.app/Contents/Resources/en.lproj
|
||||
|
||||
## create main menu xib
|
||||
#CompileXIB basicWindowsTestInOpenGL/en.lproj/MainMenu.xib
|
||||
#cd /Users/edouarddupin/dev/basicWindowsTestInOpenGL
|
||||
#setenv XCODE_DEVELOPER_USR_PATH /Applications/Xcode.app/Contents/Developer/usr/bin/..
|
||||
#/Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Products/Debug/basicWindowsTestInOpenGL.app/Contents/Resources/en.lproj/MainMenu.nib /Users/edouarddupin/dev/basicWindowsTestInOpenGL/basicWindowsTestInOpenGL/en.lproj/MainMenu.xib --sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
|
||||
|
||||
## touche app
|
||||
#Touch /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Products/Debug/basicWindowsTestInOpenGL.app
|
||||
#cd /Users/edouarddupin/dev/basicWindowsTestInOpenGL
|
||||
#/usr/bin/touch -c /Users/edouarddupin/Library/Developer/Xcode/DerivedData/basicWindowsTestInOpenGL-aqlzuzmwjgolzcctybifonzjwojs/Build/Products/Debug/basicWindowsTestInOpenGL.app
|
||||
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
@ -7,7 +7,7 @@
|
||||
@implementation MacOsAppDelegate
|
||||
|
||||
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
|
||||
{
|
||||
{
|
||||
// Insert code here to initialize your application
|
||||
}
|
||||
|
||||
|
@ -1,8 +1,15 @@
|
||||
|
||||
#ifndef __MM_INTERFACE_H__
|
||||
#define __MM_INTERFACE_H__
|
||||
#ifndef __EWOL_MM_INTERFACE_H__
|
||||
#define __EWOL_MM_INTERFACE_H__
|
||||
|
||||
int mm_main(int argc, const char *argv[]);
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int mm_main(int argc, const char *argv[]);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -1,12 +1,37 @@
|
||||
|
||||
|
||||
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <ewol/renderer/os/gui.MacOs.AppDelegate.h>
|
||||
#include "ewol/renderer/os/gui.MacOs.Interface.h"
|
||||
|
||||
|
||||
int mm_main(int argc, const char *argv[])
|
||||
//int main(int argc, const char *argv[])
|
||||
{
|
||||
return NSApplicationMain(argc, (const char **)argv);
|
||||
}
|
||||
|
||||
[NSAutoreleasePool new];
|
||||
[NSApplication sharedApplication];
|
||||
[NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];
|
||||
id menubar = [[NSMenu new] autorelease];
|
||||
id appMenuItem = [[NSMenuItem new] autorelease];
|
||||
[menubar addItem:appMenuItem];
|
||||
[NSApp setMainMenu:menubar];
|
||||
id appMenu = [[NSMenu new] autorelease];
|
||||
id appName = [[NSProcessInfo processInfo] processName];
|
||||
id quitTitle = [@"Quit " stringByAppendingString:appName];
|
||||
id quitMenuItem = [ [ [NSMenuItem alloc] initWithTitle:quitTitle
|
||||
action:@selector(terminate:) keyEquivalent:@"q"] autorelease];
|
||||
[appMenu addItem:quitMenuItem];
|
||||
[appMenuItem setSubmenu:appMenu];
|
||||
id window = [ [ [NSWindow alloc] initWithContentRect:NSMakeRect(0, 0, 340, 480)
|
||||
styleMask:NSTitledWindowMask backing:NSBackingStoreBuffered defer:NO]
|
||||
autorelease];
|
||||
[window cascadeTopLeftFromPoint:NSMakePoint(20,20)];
|
||||
[window setTitle:appName];
|
||||
[window makeKeyAndOrderFront:nil];
|
||||
[NSApp activateIgnoringOtherApps:YES];
|
||||
[NSApp run];
|
||||
return 0;
|
||||
}
|
||||
|
||||
// gcc -framework Cocoa -x objective-c -o testApplDirectMinimal sources/ewol/renderer/os/gui.MacOs.Interface.mm
|
||||
|
@ -16,7 +16,7 @@
|
||||
self = [super initWithFrame:frame];
|
||||
if (self) {
|
||||
// Initialization code
|
||||
|
||||
|
||||
CAEAGLLayer* eaglLayer = (CAEAGLLayer*) super.layer;
|
||||
eaglLayer.opaque = YES;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user