Skip to content
Snippets Groups Projects
Select Git revision
  • 55e4c91365912d22f6cde0ddf380e7e19ef2779b
  • master default
  • cgnsUnstructured
  • partitioning
  • poppler
  • HighOrderBLCurving
  • gmsh_3_0_4
  • gmsh_3_0_3
  • gmsh_3_0_2
  • gmsh_3_0_1
  • gmsh_3_0_0
  • gmsh_2_16_0
  • gmsh_2_15_0
  • gmsh_2_14_1
  • gmsh_2_14_0
  • gmsh_2_13_2
  • gmsh_2_13_1
  • gmsh_2_12_0
  • gmsh_2_11_0
  • gmsh_2_10_1
  • gmsh_2_10_0
  • gmsh_2_9_3
  • gmsh_2_9_2
  • gmsh_2_9_1
  • gmsh_2_9_0
  • gmsh_2_8_6
26 results

command_line.texi

Blame
  • Forked from gmsh / gmsh
    Source project has a limited visibility.
    gmsh_win.ctest 1.61 KiB
    # Gmsh - Copyright (C) 1997-2013 C. Geuzaine, J.-F. Remacle
    #
    # See the LICENSE.txt file for license information. Please report all
    # bugs and problems to the public mailing list <gmsh@geuz.org>.
    
    set(CTEST_CMAKE_COMMAND "cmake")
    
    set(WEB_BIN "geuzaine@geuz.org:/home/www/geuz.org/gmsh/bin/Windows")
    
    set(WITH_TEST TRUE)      # run the tests?
    set(WITH_COVERAGE FALSE) # check code coverage?
    set(WITH_MEMCHECK FALSE) # check memory with valgrind?
    
    # Before you can configure Gmsh on cygwin with the mingw compilers, you need to
    # fix cmake 2.8.9's FindOpenGL.cmake module, by replacing if(WIN32 OR CYGWIN) by
    # if(WIN32) on line 49
    #
    # With mingw gcc 4.7 (we currently use gcc 4.5 on ace36), you should 
    #  1) add -DCMAKE_RC_COMPILER=/usr/bin/i686-w64-mingw32-windres.exe
    #  2) remove -mno-cygwin from FLTK's configure script: gcc 4.7 does not accept
    #     it anymore 
    
    #################################################################################
    set(CTEST_BUILD_NAME "Win32")
    set(OPT "-DGMSH_EXTRA_VERSION=${EXTRA_VERSION}")
    set(OPT "${OPT} -DCMAKE_PREFIX_PATH:path=/usr/local/opencascade;/usr/local;/usr/i686-w64-mingw32/sys-root/mingw")
    set(OPT "${OPT} -DCMAKE_C_COMPILER=/usr/bin/i686-w64-mingw32-gcc.exe")
    set(OPT "${OPT} -DCMAKE_CXX_COMPILER=/usr/bin/i686-w64-mingw32-g++.exe")
    set(OPT "${OPT} -DCMAKE_Fortran_COMPILER=/usr/bin/i686-w64-mingw32-gfortran.exe")
    set(OPT "${OPT} -DPETSC_ARCH=win32_complex_umfpack")
    set(OPT "${OPT} -DPETSC_DIR=$ENV{HOME}/src/petsc-3.0.0-p12")
    set(OPT "${OPT} -DSLEPC_DIR=$ENV{HOME}/src/slepc-3.0.0-p7")
    set(CTEST_BUILD_OPTIONS ${OPT})
    include(gmsh.ctest)
    upload_package(${WEB_BIN} Windows "" .zip .zip)