luciferz2012 / findtbb Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/findtbb
Automatically exported from code.google.com/p/findtbb
I have made several changes to the module including:
-Support for MSVC10
-Detecting whether the TBB_COMPILER and TBB_ARCHITECTURE variables were
actually set by the user before parsing them
-Searching in both the paths specified by TBB_ARCH_PLATFORM and the
TBB_COMPILER and TBB_ARCHITECTURE variables as well as in default paths and the
paths in LIBRARY_PATH and LD_LIBRARY_PATH which are now the sole places where
tbbvars.sh registers it's paths on Linux
-Fixed the semantics of the PATHS and HINTS variables being sent to the find_
commands
-Various other little changes, I marked them all with # My change:
Feel free to incorporate any/all of these changes into the project and thank
you for taking your time to put this online. If at any point in the future you
wish to donate the module to the public domain, I would be more than happy.
Original issue reported on code.google.com by [email protected]
on 3 Apr 2011 at 1:09
Attachments:
Hi,
I'm using this FindTBB for the CGAL project. Thank you for the work you did. I
modified the file in order to:
1. Add support for the TBB malloc proxy.
2. Add support for MSVC11 (VC++ 2012).
3. Use the CMake "optimized" and "debug" keywords in TBB_LIBRARIES and
TBB_LIBRARY_DIRS, so that it covers both release and debug version of TBB. The
variables are now:
#TBB_INCLUDE_DIRS, where to find task_scheduler_init.h, etc.
#TBB_LIBRARY_DIRS, where to find TBB libraries (both release and debug
versions, using "optimized" and "debug" CMake keywords).
#TBB_INSTALL_DIR, the base TBB install directory.
#TBB_LIBRARIES, all the TBB libraries (both release and debug versions, using
"optimized" and "debug" CMake keywords).
# TBB_RELEASE_LIBRARY, the TBB release library
# TBB_MALLOC_RELEASE_LIBRARY, the TBB release malloc library
# TBB_MALLOCPROXY_RELEASE_LIBRARY, the TBB release malloc_proxy library
# TBB_DEBUG_LIBRARY, the TBB debug library
# TBB_MALLOC_DEBUG_LIBRARY, the TBB debug malloc library
# TBB_MALLOCPROXY_DEBUG_LIBRARY, the TBB debug malloc_proxy library
#TBB_FOUND, If false, don't try to use TBB.
#TBB_INTERFACE_VERSION, as defined in tbb/tbb_stddef.h
For example, on my computer, TBB_LIBRARIES now contains:
optimized;D:/tbb/lib/intel64/vc11/tbb.lib;optimized;D:/tbb/lib/intel64/vc11/tbbm
alloc.lib;optimized;D:/tbb/lib/intel64/vc11/tbbmalloc_proxy.lib;debug;D:/tbb/lib
/intel64/vc11/tbb_debug.lib;debug;D:/tbb/lib/intel64/vc11/tbbmalloc_debug.lib;de
bug;D:/tbb/lib/intel64/vc11/tbbmalloc_proxy_debug.lib
You'll find my FindTBB.cmake attached if you're interested.
Best regards,
Clement.
Original issue reported on code.google.com by [email protected]
on 23 Jan 2013 at 4:40
Attachments:
Hi,
I don't know about windows, but certainly on linux I actually prefer to use the
source package of TBB. This avoids having to remember whether your CPU is
ia32/ia64/intel64, and ensures compatibility with your installed version of GCC
(though I guess that's probably not an issue in practice).
Anyway, if you're interested, I would suggest adding support for such an
installation by checking for definition of the cmake variable TBB_SRC_DIR,
which contains the path to the untarred TBB directory (user must have run
'make' already).
I attach the FindTBB.cmake I've been using, if you're interested in integrating
it into your all singing version.
Best wishes,
Tim.
Original issue reported on code.google.com by [email protected]
on 28 Feb 2012 at 7:46
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.