mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 15:12:46 +08:00
e6b174ed58
* [ampl-mp] Add new port This port aims for solver development, so it does not build any existing solver modules. The shared library build is disabled for now because it has some problem on Windows. closes: #4491 * [ampl-mp] Disable MATLAB MEX support
15 lines
571 B
Diff
15 lines
571 B
Diff
--- a/src/asl/CMakeLists.txt 2019-02-07 22:45:15.191909400 -0600
|
|
+++ b/src/asl/CMakeLists.txt 2019-02-07 22:47:10.364936600 -0600
|
|
@@ -216,6 +216,11 @@ add_mp_library(asl-core OBJECT ${ASL_COR
|
|
COMPILE_DEFINITIONS ${ASL_COMPILE_DEFINITIONS}
|
|
INCLUDE_DIRECTORIES ${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
+if (MSVC)
|
|
+ set_source_files_properties(solvers/avltree.c solvers/sphes.c
|
|
+ PROPERTIES COMPILE_OPTIONS /Od)
|
|
+endif ()
|
|
+
|
|
# Public ASL headers.
|
|
set(ASL_HEADERS aslbuilder.h aslexpr.h aslexpr-visitor.h
|
|
aslproblem.h aslinterface.h ${CMAKE_CURRENT_BINARY_DIR}/stdio1.h)
|