forked from trilinos/Trilinos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmsvc-11-win64-options.cmake
19 lines (18 loc) · 1 KB
/
msvc-11-win64-options.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Ross Bartlet (2012/12/20): Base options file I use for "MS Visual C++ 11
# Win64" to set some basic options that I set with
# Trilinos_CONFIGURE_OPTIONS_FILE with the QT CMake interface. I use this as
# a template that I copy into the build directory and then I configure with
# the CMake GUI on Windows by first manually setting the option
# Trilinos_CONFIGURE_OPTIONS_FILE and then running configure. Using this
# approach makes it easy to reconfigure from scratch. This is highly
# recommended. Note that when building Trilinos withthe 64 bit compiler, you
# also need to build and link against CLAPACK that is also built with the 64
# bit compiler.
SET(CMAKE_BUILD_TYPE DEBUG CACHE STRING "")
SET(BUILD_SHARED_LIBS OFF CACHE BOOL "")
SET(CLAPACKDIR "C:/_mystuff/T/CLAPACK64" CACHE FILEPATH "")
SET(Trilinos_ENABLE_TESTS ON CACHE BOOL "")
SET(Trilinos_ENABLE_Teuchos ON CACHE BOOL "")
SET(Trilinos_ENABLE_Thyra ON CACHE BOOL "")
SET(CMAKE_CXX_FLAGS "/bigobj" CACHE STRING "")
SET(TPL_ENABLE_Pthread OFF CACHE BOOL "")