You need cmake version 2.8.8 or higher. You may want to use ccmake
for a graphical interface over cmake.
- LibBoost:
- - osX: with <a href="http://www.finkproject.org/">fink</a>: `sudo fink install boost1.53.nopython`
+ - osX: with <a href="http://www.finkproject.org/">fink</a>: `fink install boost1.53.nopython`,
+ or with homebrew: `brew install boost`
- debian: `apt-get install libboost-dev libboost-context-dev`
+ - Java (only needed if you want to use the Java bindings): Grab a
+ full JDK from http://www.oracle.com/technetwork/java/javase/downloads
For platform specific details, please see @ref install_cmake_mac and
@ref install_cmake_windows.
CMAKE_OSX_SYSROOT:PATH=/Applications/XCode.app/Contents/Developer/Platforms/MacOSX.platform/Developer
@endverbatim
+In the El Capitan version of Max OS X, Apple decided that users don't
+need no /usr/include directory anymore. If you are hit by this pure
+madness, just run the following command to restore that classical
+UNIX directory: `xcode-select -install`
+
\subsubsection install_cmake_windows Building on Windows
Building from the source on Windows, may be something of an adventure.
message("______________________________________________________________________ DEBUG")
message("CMAKE_HOME_DIRECTORY ........: ${CMAKE_HOME_DIRECTORY}")
message("")
- message("SIZEOF_MAX ..................: ${SIZEOF_MAX}")
message("PTH_STACKGROWTH .............: ${PTH_STACKGROWTH}")
message("need_asprintf ...............: ${simgrid_need_asprintf}")
message("need_vasprintf ..............: ${simgrid_need_vasprintf}")
message("HAVE_NANOSLEEP ..............: ${HAVE_NANOSLEEP}")
message("HAVE_GETDTABLESIZE ..........: ${HAVE_GETDTABLESIZE}")
message("HAVE_SYSCONF ................: ${HAVE_SYSCONF}")
- message("HAVE_READV ..................: ${HAVE_READV}")
message("HAVE_POPEN ..................: ${HAVE_POPEN}")
- message("HAVE_SIGNAL .................: ${HAVE_SIGNAL}")
message("HAVE_MAKECONTEXT ............: ${HAVE_MAKECONTEXT}")
message("HAVE_SNPRINTF ...............: ${HAVE_SNPRINTF}")
message("HAVE_VSNPRINTF ..............: ${HAVE_VSNPRINTF}")
#ifndef _M_IX86
#cmakedefine _M_IX86 @_M_IX86@
#endif
-#cmakedefine _XBT_WIN32 @_XBT_WIN32@ //this variable is set if it is a windows platform
-#cmakedefine _WIN32 @_WIN32@ //this variable is set if it is a 32 bits windows platform
-#cmakedefine _WIN64 @_WIN64@ //this variable is set if it is a 64 bits windows platform
-#cmakedefine __VISUALC__ @__VISUALC__@
-#cmakedefine __BORLANDC__ @__BORLANDC__@
+#cmakedefine _XBT_WIN32 @_XBT_WIN32@ // this variable is set if it is a windows platform
+#cmakedefine _WIN32 @_WIN32@ // this variable is set if it is a 32 bits windows platform
+#cmakedefine _WIN64 @_WIN64@ // this variable is set if it is a 64 bits windows platform
#cmakedefine APPLE @APPLE@
/* Set to true if enable_model-checking is true */
#cmakedefine MMALLOC_WANT_OVERRIDE_LEGACY @MMALLOC_WANT_OVERRIDE_LEGACY@
/* Define if building universal (internal helper macro) */
#cmakedefine AC_APPLE_UNIVERSAL_BUILD @AC_APPLE_UNIVERSAL_BUILD@
-/* Arguments passed to the configure script */
-#cmakedefine AC_CONFIGURE_ARGS @AC_CONFIGURE_ARGS@
-
/* Path to the addr2line tool */
#cmakedefine ADDR2LINE "@ADDR2LINE@"
#cmakedefine HAVE_RAW_CONTEXTS @HAVE_RAW_CONTEXTS@
#cmakedefine HAVE_BOOST_CONTEXTS @HAVE_BOOST_CONTEXTS@
-/* Define to 1 if you have the GNU ld library */
-#cmakedefine HAVE_GNU_LD @HAVE_GNU_LD@
-
/* Define to 1 if you have the <errno.h> header file. */
#cmakedefine HAVE_ERRNO_H @HAVE_ERRNO_H@
/* defines whether Lua bindings must be compiled or not */
#cmakedefine HAVE_LUA @HAVE_LUA@
-/* Define to 1 if you have the <lua5.1/lualib.h> header file. */
-#cmakedefine HAVE_LUA5_1_LUALIB_H @HAVE_LUA5_1_LUALIB_H@
-
/* Define to 1 if you have the `makecontext' function. */
#cmakedefine HAVE_MAKECONTEXT @HAVE_MAKECONTEXT@
/* Define to 1 if threads are usable . */
#cmakedefine HAVE_PTHREAD @HAVE_PTHREAD@
-/* Define to 1 if you have the `readv' function. */
-#cmakedefine HAVE_READV @HAVE_READV@
-
/* Define if sem_init() is avaible or not (part of XPG6 standard only) */
#cmakedefine HAVE_SEM_INIT @HAVE_SEM_INIT@
/* Define if sem_timedwait() is avaible or not (part of XPG6 standard only) */
#cmakedefine HAVE_SEM_TIMEDWAIT @HAVE_SEM_TIMEDWAIT@
-/* Define to 1 if you have the `signal' function. */
-#cmakedefine HAVE_SIGNAL @HAVE_SIGNAL@
-
/* Define to 1 if you have the <signal.h> header file. */
#cmakedefine HAVE_SIGNAL_H @HAVE_SIGNAL_H@
/* Define to 1 if you have the <windows.h> header file. */
#cmakedefine HAVE_WINDOWS_H @HAVE_WINDOWS_H@
-/* Define to the sub-directory in which libtool stores uninstalled libraries.*/
-#cmakedefine LT_OBJDIR @LT_OBJDIR@
-
/* enable the asprintf replacement */
#cmakedefine NEED_ASPRINTF @NEED_ASPRINTF@
/* define for stack growth */
#cmakedefine PTH_STACKGROWTH @PTH_STACKGROWTH@
-/* The maximal size of any scalar on this arch */
-#cmakedefine SIZEOF_MAX @SIZEOF_MAX@
-
/* Define to 1 if you have the ANSI C header files. */
#cmakedefine STDC_HEADERS @STDC_HEADERS@