Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jeremy MOLES
committed
Nov 24, 2008
1 parent
dbc537b
commit 1f45374
Showing
139 changed files
with
12,797 additions
and
2,495 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,182 @@ | ||
# Locate gdal | ||
# This module defines | ||
# XUL_LIBRARIES | ||
# XUL_FOUND, if false, do not try to link to gdal | ||
# XUL_INCLUDE_DIR, where to find the headers | ||
# | ||
# $XUL_DIR is an environment variable that would | ||
# correspond to the ./configure --prefix=$XUL_DIR | ||
# | ||
# Created by Robert Osfield. | ||
|
||
FIND_PATH(XUL_INCLUDE_DIR nsEmbedAPI.h | ||
$ENV{OSG_DIR}/include/xulrunner | ||
$ENV{OSG_DIR}/include | ||
$ENV{OSG_DIR}/xulrunner | ||
$ENV{OSG_DIR} | ||
$ENV{OSGDIR}/include/xulrunner | ||
$ENV{OSGDIR}/include | ||
$ENV{OSGDIR}/xulrunner | ||
$ENV{OSGDIR} | ||
$ENV{OSG_ROOT}/include/xulrunner | ||
$ENV{OSG_ROOT}/include | ||
~/Library/Frameworks | ||
/Library/Frameworks | ||
/usr/local/include/xulrunner | ||
/usr/local/include | ||
/usr/include/xulrunner | ||
/usr/include | ||
/sw/include/xulrunner # Fink | ||
/sw/include # Fink | ||
/opt/local/include/xulrunner # DarwinPorts | ||
/opt/local/include # DarwinPorts | ||
/opt/csw/include/xulrunner # Blastwave | ||
/opt/csw/include # Blastwave | ||
/opt/include/xulrunner | ||
/opt/include | ||
[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\ Manager\\Environment;OSG_ROOT]/include/xulrunner | ||
[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\ Manager\\Environment;OSG_ROOT]/include | ||
/usr/freeware/include/xulrunner | ||
/usr/freeware/include | ||
) | ||
|
||
FIND_PATH(NSPR_INCLUDE_DIR prtypes.h | ||
$ENV{OSG_DIR}/include/nspr | ||
$ENV{OSG_DIR}/include | ||
$ENV{OSG_DIR}/nspr | ||
$ENV{OSG_DIR} | ||
$ENV{OSGDIR}/include/nspr | ||
$ENV{OSGDIR}/include | ||
$ENV{OSGDIR}/nspr | ||
$ENV{OSGDIR} | ||
$ENV{OSG_ROOT}/include/nspr | ||
$ENV{OSG_ROOT}/include | ||
~/Library/Frameworks | ||
/Library/Frameworks | ||
/usr/local/include/nspr | ||
/usr/local/include | ||
/usr/include/nspr | ||
/usr/include | ||
/sw/include/nspr # Fink | ||
/sw/include # Fink | ||
/opt/local/include/nspr # DarwinPorts | ||
/opt/local/include # DarwinPorts | ||
/opt/csw/include/nspr # Blastwave | ||
/opt/csw/include # Blastwave | ||
/opt/include/nspr | ||
/opt/include | ||
[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\ Manager\\Environment;OSG_ROOT]/include/nspr | ||
[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\ Manager\\Environment;OSG_ROOT]/include | ||
/usr/freeware/include/nspr | ||
/usr/freeware/include | ||
) | ||
|
||
FIND_PATH(MOZJS_INCLUDE_DIR jsapi.h | ||
$ENV{OSG_DIR}/include/mozjs | ||
$ENV{OSG_DIR}/include | ||
$ENV{OSG_DIR}/mozjs | ||
$ENV{OSG_DIR} | ||
$ENV{OSGDIR}/include/mozjs | ||
$ENV{OSGDIR}/include | ||
$ENV{OSGDIR}/mozjs | ||
$ENV{OSGDIR} | ||
$ENV{OSG_ROOT}/include/mozjs | ||
$ENV{OSG_ROOT}/include | ||
~/Library/Frameworks | ||
/Library/Frameworks | ||
/usr/local/include/mozjs | ||
/usr/local/include | ||
/usr/include/mozjs | ||
/usr/include | ||
/sw/include/mozjs # Fink | ||
/sw/include # Fink | ||
/opt/local/include/mozjs # DarwinPorts | ||
/opt/local/include # DarwinPorts | ||
/opt/csw/include/mozjs # Blastwave | ||
/opt/csw/include # Blastwave | ||
/opt/include/mozjs | ||
/opt/include | ||
[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\ Manager\\Environment;OSG_ROOT]/include/mozjs | ||
[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\ Manager\\Environment;OSG_ROOT]/include | ||
/usr/freeware/include/mozjs | ||
/usr/freeware/include | ||
) | ||
|
||
FIND_PATH(XUL_DIR | ||
NAMES components/appshell.xpt | ||
PATHS | ||
$ENV{OSG_DIR}/lib | ||
$ENV{OSG_DIR} | ||
$ENV{OSGDIR}/lib | ||
$ENV{OSGDIR} | ||
$ENV{OSG_ROOT}/lib | ||
~/Library/Frameworks | ||
/Library/Frameworks | ||
/usr/local/lib/xulrunner | ||
/usr/local/lib | ||
/usr/lib/xulrunner | ||
/usr/lib | ||
/sw/lib/xulrunner | ||
/sw/lib | ||
/opt/local/lib/xulrunner | ||
/opt/local/lib | ||
/opt/csw/lib/xulrunner | ||
/opt/csw/lib | ||
/opt/lib/xulrunner | ||
/opt/lib | ||
[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\ Manager\\Environment;OSG_ROOT]/lib | ||
/usr/freeware/lib64/xulrunner | ||
/usr/freeware/lib64 | ||
) | ||
|
||
|
||
MACRO(FIND_XUL_LIBRARY MYLIBRARY MYLIBRARYNAME) | ||
|
||
FIND_LIBRARY(${MYLIBRARY} | ||
NAMES ${MYLIBRARYNAME} | ||
PATHS | ||
$ENV{OSG_DIR}/lib | ||
$ENV{OSG_DIR} | ||
$ENV{OSGDIR}/lib | ||
$ENV{OSGDIR} | ||
$ENV{OSG_ROOT}/lib | ||
~/Library/Frameworks | ||
/Library/Frameworks | ||
/usr/local/lib/xulrunner | ||
/usr/local/lib | ||
/usr/lib/xulrunner | ||
/usr/lib | ||
/sw/lib/xulrunner | ||
/sw/lib | ||
/opt/local/lib/xulrunner | ||
/opt/local/lib | ||
/opt/csw/lib/xulrunner | ||
/opt/csw/lib | ||
/opt/lib/xulrunner | ||
/opt/lib | ||
[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\ Manager\\Environment;OSG_ROOT]/lib | ||
/usr/freeware/lib64/xulrunner | ||
/usr/freeware/lib64 | ||
) | ||
|
||
ENDMACRO(FIND_XUL_LIBRARY LIBRARY LIBRARYNAME) | ||
|
||
|
||
FIND_XUL_LIBRARY(XUL_LIBRARY xul plds4 plc4 nspr4) | ||
FIND_XUL_LIBRARY(XUL_MOZJS_LIBRARY mozjs) | ||
FIND_XUL_LIBRARY(XUL_XPCOM_LIBRARY xpcom) | ||
FIND_XUL_LIBRARY(XUL_PLUGIN_LIBRARY plds4) | ||
FIND_XUL_LIBRARY(XUL_NSS_LIBRARY nss3) | ||
|
||
|
||
SET(XUL_FOUND "NO") | ||
IF(XUL_LIBRARY AND XUL_INCLUDE_DIR) | ||
|
||
SET(XUL_FOUND "YES") | ||
SET(XUL_LIBRARIES ${XUL_LIBRARY} ${XUL_MOZJS_LIBRARY} ${XUL_XPCOM_LIBRARY} ${XUL_PLUGIN_LIBRARY} ${XUL_NSS_LIBRARY}) | ||
SET(XUL_INCLUDE_DIRS ${XUL_INCLUDE_DIR} ${NSPR_INCLUDE_DIR} ${MOZJS_INCLUDE_DIR}) | ||
|
||
ENDIF(XUL_LIBRARY AND XUL_INCLUDE_DIR) | ||
|
||
# MESSAGE("XUL_INCLUDE_DIR " ${XUL_INCLUDE_DIR}) | ||
# MESSAGE("XUL_LIBRARIES " ${XUL_LIBRARIES}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
SET(TARGET_SRC osganimationnode.cpp ) | ||
SET(TARGET_ADDED_LIBRARIES osgAnimation ) | ||
SETUP_EXAMPLE(osganimationnode) | ||
#SET(TARGET_SRC osganimationnode.cpp ) | ||
#SET(TARGET_ADDED_LIBRARIES osgAnimation ) | ||
#SETUP_EXAMPLE(osganimationnode) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
SET(TARGET_SRC | ||
osgbrowser.cpp | ||
) | ||
|
||
SET(TARGET_ADDED_LIBRARIES osgWidget) | ||
|
||
#### end var setup ### | ||
SETUP_EXAMPLE(osgbrowser) | ||
|
Oops, something went wrong.