File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ set(PACKAGE_VERSION_PATCH "7")
20
20
21
21
set (PACKAGE_VERSION "${PACKAGE_VERSION_MAJOR} .${PACKAGE_VERSION_MINOR} .${PACKAGE_VERSION_PATCH} " )
22
22
23
+ # TODO: Probably beter to set a debug interface target
24
+ # set(CMAKE_CXX_FLAGS_DEBUG "-Wall -O0 -g -DDEBUG")
25
+
26
+ set (CMAKE_CXX_STANDARD 17)
27
+
23
28
# Ipopt support is disabled by default
24
29
option (GRIDKIT_ENABLE_IPOPT "Enable Ipopt support" OFF )
25
30
@@ -33,6 +38,7 @@ option(GRIDKIT_ENABLE_SUNDIALS_SPARSE "Enable SUNDIALS sparse linear solvers" ON
33
38
option (GRIDKIT_ENABLE_ENZYME "Enable automatic differentiation with Enzyme" OFF )
34
39
35
40
set (CMAKE_MACOSX_RPATH 1)
41
+ set (CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS 1)
36
42
37
43
list (APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR} /cmake)
38
44
@@ -57,11 +63,6 @@ if("${isSystemDir}" STREQUAL "-1")
57
63
endif ("${isSystemDir} " STREQUAL "-1" )
58
64
59
65
60
- # TODO: Probably beter to set a debug interface target
61
- set (CMAKE_CXX_FLAGS_DEBUG "-Wall -O0 -g -DDEBUG" )
62
-
63
- set (CMAKE_CXX_STANDARD 17)
64
-
65
66
include_directories (${CMAKE_CURRENT_SOURCE_DIR} /src)
66
67
67
68
option (GRIDKIT_BUILD_SHARED "Build shared libraries" ON )
You can’t perform that action at this time.
0 commit comments