2008-11-13 23:35:08 +08:00
|
|
|
SET(TARGET_SRC
|
|
|
|
llembeddedbrowser.cpp
|
|
|
|
llembeddedbrowserwindow.cpp
|
|
|
|
llmozlib2.cpp
|
2008-11-17 18:36:55 +08:00
|
|
|
nsProfileDirServiceProvider.cpp
|
2008-11-13 23:35:08 +08:00
|
|
|
osgbrowser.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
SET(TARGET_H
|
|
|
|
llembeddedbrowser.h
|
|
|
|
llembeddedbrowserwindow.h
|
|
|
|
llmozlib2.h
|
2008-11-17 18:36:55 +08:00
|
|
|
nsProfileDirServiceProvider.h
|
|
|
|
nsProfileLock.h
|
|
|
|
nsProfileStringTypes.h
|
2008-11-13 23:35:08 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
ADD_DEFINITIONS(-DMOZILLA_INTERNAL_API)
|
|
|
|
|
|
|
|
# MESSAGE("XUL_LIB_DIRS = " ${XUL_LIB_DIRS})
|
|
|
|
# MESSAGE("XUL_LIBRARIES = " ${XUL_LIBRARIES})
|
|
|
|
# MESSAGE("XUL_INCLUDE_DIRS = " ${XUL_INCLUDE_DIRS})
|
|
|
|
|
2008-11-15 00:48:07 +08:00
|
|
|
INCLUDE_DIRECTORIES( ${GLUT_INCLUDE_DIR}
|
|
|
|
${GTK_INCLUDE_DIRS} ${GTKGL_INCLUDE_DIRS}
|
2008-11-13 23:35:08 +08:00
|
|
|
${XUL_INCLUDE_DIRS}
|
|
|
|
/usr/include/xulrunner/locale
|
|
|
|
/usr/include/xulrunner/view
|
|
|
|
/usr/include/xulrunner/content
|
|
|
|
/usr/include/xulrunner/gfx
|
|
|
|
/usr/include/xulrunner/layout
|
|
|
|
/usr/include/xulrunner/webbrwsr
|
|
|
|
/usr/include/xulrunner/widget
|
|
|
|
/usr/include/xulrunner/dom
|
|
|
|
/usr/include/xulrunner/docshell
|
|
|
|
/usr/include/xulrunner/pref
|
|
|
|
/usr/include/xulrunner/nkcache
|
|
|
|
/usr/include/xulrunner/necko/
|
|
|
|
/usr/include/xulrunner/profdirserviceprovider
|
|
|
|
/usr/include/xulrunner/nkcache
|
|
|
|
/usr/include/xulrunner/xulapp
|
2008-11-17 18:36:55 +08:00
|
|
|
/usr/include/xulrunner/profile
|
|
|
|
/usr/include/xulrunner/appshell
|
|
|
|
/usr/include/xulrunner/xpcom_obsolete
|
|
|
|
/usr/include/xulrunner/intl
|
|
|
|
/usr/include/xulrunner/windowwatcher
|
|
|
|
/usr/include/xulrunner/xpconnect
|
2008-11-13 23:35:08 +08:00
|
|
|
)
|
|
|
|
LINK_DIRECTORIES( ${XUL_LIB_DIRS})
|
2008-11-15 00:48:07 +08:00
|
|
|
SET(TARGET_EXTERNAL_LIBRARIES ${XUL_LIBRARIES} ${GLUT_glut_LIBRARY})
|
2008-11-13 23:35:08 +08:00
|
|
|
|
|
|
|
#### end var setup ###
|
|
|
|
SETUP_EXAMPLE(osgbrowser)
|
|
|
|
|