}
va_end(ap);
}
- int main(int argc, char *argv[])
+ int main(void)
{
- test("test", 1, 2, 3, 4, 5, 6, 7, 8, 9);
+ test(\"test\", 1, 2, 3, 4, 5, 6, 7, 8, 9);
exit(0);
}"
)
### Check if OSX can compile with ucontext (with gcc 4.[1-5] it is broken)
if(APPLE)
if(APPLE_NEED_GCC_VERSION GREATER COMPILER_C_VERSION_MAJOR_MINOR)
- message(STATUS "Ucontext can't be used with this version of gcc (must be greater than 4.5")
+ message(STATUS "Ucontext can't be used with this version of gcc (must be greater than 4.5)")
set(HAVE_UCONTEXT_H 0)
endif(APPLE_NEED_GCC_VERSION GREATER COMPILER_C_VERSION_MAJOR_MINOR)
endif(APPLE)
SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES
"${generate_files_to_clean}")
+
+configure_file("${CMAKE_HOME_DIRECTORY}/buildtools/Cmake/simgrid.nsi.in" "${CMAKE_BINARY_DIR}/simgrid.nsi" @ONLY IMMEDIATE)