"Logging specific to SIMIX (network)");
static xbt_dict_t rdv_points = NULL;
-XBT_PUBLIC(unsigned long int) smx_total_comms = 0;
+XBT_IMPORT_NO_EXPORT(unsigned long int) smx_total_comms = 0;
static void SIMIX_waitany_remove_simcall_from_actions(smx_simcall_t simcall);
static void SIMIX_comm_copy_data(smx_action_t comm);
INCLUDEARGS="-I@includedir@ -I@includedir@/smpi -I@CMAKE_BINARY_DIR@/include"
CMAKE_LINKARGS="-L@CMAKE_LINKARGS@"
-if [ @WIN32@ != 1 ]; then
-LINKARGS="-lsimgrid -lsmpi -lm"
-CFLAGS="-O2 -Dmain=smpi_simulated_main"
+if [ "@WIN32@" != "1" ]; then
+ LINKARGS="-lsimgrid -lsmpi -lm"
+ CFLAGS="-O2 -Dmain=smpi_simulated_main"
else
-CFLAGS="-O2 -include @includedir@/smpi/smpi_main.h"
-LINKARGS="@CMAKE_BINARY_DIR@\lib\libsimgrid.dll @CMAKE_BINARY_DIR@\lib\libsmpi.dll"
+ CFLAGS="-O2 -include @includedir@/smpi/smpi_main.h"
+ LINKARGS="@CMAKE_BINARY_DIR@\lib\libsimgrid.dll @CMAKE_BINARY_DIR@\lib\libsmpi.dll"
fi
CMDLINE=""
static char *old_buff = NULL;
-XBT_PUBLIC(unsigned int) surfxml_buffer_stack_stack_ptr;
-XBT_PUBLIC(unsigned int) surfxml_buffer_stack_stack[1024];
+XBT_IMPORT_NO_EXPORT(unsigned int) surfxml_buffer_stack_stack_ptr;
+XBT_IMPORT_NO_EXPORT(unsigned int) surfxml_buffer_stack_stack[1024];
void surfxml_bufferstack_push(int new)
set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
if(NOT WIN32)
-add_executable(log_large_test log_large_test.c)
-add_executable(parallel_log_crashtest parallel_log_crashtest.c)
-if(HAVE_MMAP)
- add_executable(mmalloc_test mmalloc_test.c)
+ add_executable(log_large_test log_large_test.c)
+ add_executable(parallel_log_crashtest parallel_log_crashtest.c)
+ if(HAVE_MMAP)
+ add_executable(mmalloc_test mmalloc_test.c)
+ endif()
endif()
### Add definitions for compile