src/simdag/sd_workstation.c
src/simdag/sd_daxloader.c
)
+if(HAVE_CGRAPH_H)
+ set(SIMDAG_SRC
+ ${SIMDAG_SRC}
+ src/simdag/sd_dotloader.c
+ )
+
+endif(HAVE_CGRAPH_H)
set(GRAS_COMMON_SRC
src/gras/gras.c
include/amok/peermanagement.h
include/amok/bandwidth.h
include/instr/instr.h
-include/instr/tracing_config.h
include/simgrid_config.h
include/gras.h
include/xbt.h
)
set(TEST_UNITS
-cunit_unit.c
-ex_unit.c
-dynar_unit.c
-dict_unit.c
-set_unit.c
-swag_unit.c
-xbt_str_unit.c
-xbt_strbuff_unit.c
-xbt_sha_unit.c
-config_unit.c
-xbt_synchro_unit.c
+${PROJECT_DIRECTORY}/src/cunit_unit.c
+${PROJECT_DIRECTORY}/src/ex_unit.c
+${PROJECT_DIRECTORY}/src/dynar_unit.c
+${PROJECT_DIRECTORY}/src/dict_unit.c
+${PROJECT_DIRECTORY}/src/set_unit.c
+${PROJECT_DIRECTORY}/src/swag_unit.c
+${PROJECT_DIRECTORY}/src/xbt_str_unit.c
+${PROJECT_DIRECTORY}/src/xbt_strbuff_unit.c
+${PROJECT_DIRECTORY}/src/xbt_sha_unit.c
+${PROJECT_DIRECTORY}/src/config_unit.c
+${PROJECT_DIRECTORY}/src/xbt_synchro_unit.c
)
set(TEST_CFILES
src/xbt/xbt_synchro.c
)
-#Here must have all files which permit to generate source files
-set(SRC_TO_LOOK
-src/surf/simgrid.dtd
-src/xbt/graphxml.dtd
-src/simdag/dax.dtd
-examples/gras/ping/ping.xml
-examples/gras/rpc/rpc.xml
-examples/gras/spawn/spawn.xml
-examples/gras/timer/timer.xml
-examples/gras/chrono/chrono.xml
-examples/gras/mutual_exclusion/simple_token/simple_token.xml
-examples/gras/mmrpc/mmrpc.xml
-examples/gras/all2all/all2all.xml
-examples/gras/pmm/pmm.xml
-examples/gras/synchro/synchro.xml
-examples/gras/properties/properties.xml
-teshsuite/gras/msg_handle/msg_handle.xml
-teshsuite/gras/empty_main/empty_main.xml
-teshsuite/gras/small_sleep/small_sleep.xml
-examples/amok/bandwidth/bandwidth.xml
-examples/amok/saturate/saturate.xml
-)
-
### depend of some variables setted upper
# -->CONTEXT_THREADS
-if(${CONTEXT_THREADS})
+if(${CONTEXT_THREADS} OR WIN32)
set(SURF_SRC
${SURF_SRC}
src/xbt/xbt_os_thread.c
${EXTRA_DIST}
src/simix/smx_context_sysv.c
)
-else(${CONTEXT_THREADS})
+else(${CONTEXT_THREADS} OR WIN32)
set(SURF_SRC
${SURF_SRC}
src/simix/smx_context_sysv.c
src/xbt/xbt_os_thread.c
src/simix/smx_context_thread.c
)
-endif(${CONTEXT_THREADS})
+endif(${CONTEXT_THREADS} OR WIN32)
# -->HAVE_GTNETS
if(HAVE_GTNETS)
${AMOK_SRC}
)
-if(enable_model-checking AND HAVE_MMAP)
+if(HAVE_MC)
set(simgrid_sources
- ${simgrid_source}
+ ${simgrid_sources}
${MC_SRC}
)
-endif(enable_model-checking AND HAVE_MMAP)
+endif(HAVE_MC)
### Gras Lib sources
set(gras_sources
buildtools/Cmake/test_prog/prog_va_copy.c
buildtools/Cmake/test_prog/prog_vsnprintf.c
buildtools/Cmake/gras_config.h.in
- buildtools/Cmake/tracing_config.h.in
AUTHORS
ChangeLog
COPYING