44 lines
1.1 KiB
CMake
44 lines
1.1 KiB
CMake
SET(TARGET_SRC
|
|
llembeddedbrowser.cpp
|
|
llembeddedbrowserwindow.cpp
|
|
llmozlib2.cpp
|
|
osgbrowser.cpp
|
|
)
|
|
|
|
SET(TARGET_H
|
|
llembeddedbrowser.h
|
|
llembeddedbrowserwindow.h
|
|
llmozlib2.h
|
|
)
|
|
|
|
ADD_DEFINITIONS(-DMOZILLA_INTERNAL_API)
|
|
|
|
# MESSAGE("XUL_LIB_DIRS = " ${XUL_LIB_DIRS})
|
|
# MESSAGE("XUL_LIBRARIES = " ${XUL_LIBRARIES})
|
|
# MESSAGE("XUL_INCLUDE_DIRS = " ${XUL_INCLUDE_DIRS})
|
|
|
|
INCLUDE_DIRECTORIES(
|
|
${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
|
|
)
|
|
LINK_DIRECTORIES( ${XUL_LIB_DIRS})
|
|
SET(TARGET_EXTERNAL_LIBRARIES ${XUL_LIBRARIES})
|
|
|
|
#### end var setup ###
|
|
SETUP_EXAMPLE(osgbrowser)
|
|
|