File tree 3 files changed +34
-0
lines changed
3 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ set_target_properties(
14
14
XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "Developer ID Application: Daniel Kroening"
15
15
)
16
16
17
+ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
18
+ target_compile_options(glucose-condensed PUBLIC /w)
19
+ endif()
20
+
17
21
target_include_directories(glucose-condensed
18
22
PUBLIC
19
23
${CMAKE_CURRENT_SOURCE_DIR}
Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ set_target_properties(
14
14
XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "Developer ID Application: Daniel Kroening"
15
15
)
16
16
17
+ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
18
+ target_compile_options(minisat2-condensed PUBLIC /w)
19
+ endif()
20
+
17
21
target_include_directories(minisat2-condensed
18
22
PUBLIC
19
23
${CMAKE_CURRENT_SOURCE_DIR}
Original file line number Diff line number Diff line change @@ -193,6 +193,32 @@ SRC = $(BOOLEFORCE_SRC) \
193
193
194
194
include ../common
195
195
196
+ ifneq ($(MINISAT2 ) ,)
197
+ ifeq ($(BUILD_ENV_ ) ,MSVC)
198
+ sat/satcheck_minisat2$(OBJEXT ) : sat/satcheck_minisat2.cpp
199
+ $(CXX ) $(CP_CXXFLAGS ) /w /nologo /c /EHsc $< /Fo$@
200
+
201
+ $(MINISAT2 ) /minisat/simp/SimpSolver$(OBJEXT ) : $(MINISAT2 ) /minisat/simp/SimpSolver.cc
202
+ $(CXX ) $(CP_CXXFLAGS ) /w /nologo /c /EHsc $< /Fo$@
203
+
204
+ $(MINISAT2 ) /minisat/core/Solver$(OBJEXT ) : $(MINISAT2 ) /minisat/core/Solver.cc
205
+ $(CXX ) $(CP_CXXFLAGS ) /w /nologo /c /EHsc $< /Fo$@
206
+ endif
207
+ endif
208
+
209
+ ifneq ($(GLUCOSE ) ,)
210
+ ifeq ($(BUILD_ENV_ ) ,MSVC)
211
+ sat/satcheck_glucose$(OBJEXT ) : sat/satcheck_glucose.cpp
212
+ $(CXX ) $(CP_CXXFLAGS ) /w /nologo /c /EHsc $< /Fo$@
213
+
214
+ $(GLUCOSE ) /simp/SimpSolver$(OBJEXT ) : $(GLUCOSE ) /simp/SimpSolver.cc
215
+ $(CXX ) $(CP_CXXFLAGS ) /w /nologo /c /EHsc $< /Fo$@
216
+
217
+ $(GLUCOSE ) /core/Solver$(OBJEXT ) : $(GLUCOSE ) /core/Solver.cc
218
+ $(CXX ) $(CP_CXXFLAGS ) /w /nologo /c /EHsc $< /Fo$@
219
+ endif
220
+ endif
221
+
196
222
INCLUDES += -I .. \
197
223
$(CHAFF_INCLUDE ) $(BOOLEFORCE_INCLUDE ) $(MINISAT_INCLUDE ) $(MINISAT2_INCLUDE ) \
198
224
$(IPASIR_INCLUDE ) \
You can’t perform that action at this time.
0 commit comments