summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
fae9252)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7110
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
message("RUBY_PATH ${RUBY_PATH}")
CHECK_INCLUDE_FILE(${RUBY_PATH}/ruby.h HAVE_RUBY_H)
message("RUBY_PATH ${RUBY_PATH}")
CHECK_INCLUDE_FILE(${RUBY_PATH}/ruby.h HAVE_RUBY_H)
+if(HAVE_RUBY_H AND NOT disable_ruby)
add_definitions("-I${RUBY_PATH} -I${PROJECT_DIRECTORY}/src/bindings/ruby -I${PROJECT_DIRECTORY}/src/simix")
add_definitions("-I${RUBY_PATH} -I${PROJECT_DIRECTORY}/src/bindings/ruby -I${PROJECT_DIRECTORY}/src/simix")
+endif(HAVE_RUBY_H AND NOT disable_ruby)
#--------------------------------------------------------------------------------------------------
### Initialize of CONTEXT JAVA
#--------------------------------------------------------------------------------------------------
### Initialize of CONTEXT JAVA
option(disable_java "This variable set the java context." ON)
option(disable_gtnets "This variable set the gtnets context." ON)
option(disable_lua "This variable set lua use." ON)
option(disable_java "This variable set the java context." ON)
option(disable_gtnets "This variable set the gtnets context." ON)
option(disable_lua "This variable set lua use." ON)
+option(disable_ruby "This variable set ruby use." ON)
option(enable_compile_warnings "" OFF)
option(enable_compile_optimizations "" OFF)
option(enable_compile_warnings "" OFF)
option(enable_compile_optimizations "" OFF)
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
#include <ruby.h>
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
#include <ruby.h>
#include "xbt/function_types.h"
#include "context_sysv_config.h"
#include "xbt/function_types.h"
#include "context_sysv_config.h"