Skip to content

Commit 745dfd6

Browse files
committed
Codex review-round and clean-ups
1 parent 2a58064 commit 745dfd6

14 files changed

Lines changed: 161 additions & 721 deletions

.github/workflows/build.yml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,6 @@ env:
77
BUILD_TYPE: Release
88

99
jobs:
10-
guard-build-script-refs:
11-
runs-on: ubuntu-latest
12-
13-
steps:
14-
- uses: actions/checkout@v4
15-
16-
- name: Ensure no stale Perl script references remain in active build paths
17-
shell: bash
18-
run: |
19-
! rg -n "genvarimp\\.perl|misc/genrc\\.perl" \
20-
CMakeLists.txt \
21-
cmake/GenerateVarImp.cmake \
22-
Makefile.in \
23-
misc/genrc.py
24-
! rg -n "PROG_PERL" configure.ac configure.ac.in configure
25-
2610
build-autoconf:
2711
runs-on: ${{ matrix.os }}
2812
strategy:
@@ -141,9 +125,9 @@ jobs:
141125
shell: pwsh
142126
run: cmake --build "${{ github.workspace }}\\build" --config ${{ env.BUILD_TYPE }}
143127

144-
- name: Build test binary
128+
- name: Check
145129
shell: pwsh
146-
run: cmake --build "${{ github.workspace }}\\build" --config ${{ env.BUILD_TYPE }} --target gecode-test
130+
run: cmake --build "${{ github.workspace }}\\build" --config ${{ env.BUILD_TYPE }} --target check
147131

148132
build-autoconf-windows:
149133
runs-on: windows-latest

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,7 @@ examples/sudoku-advanced
105105
examples/tsp
106106
examples/warehouses
107107
examples/word-square
108+
109+
# Ignore build tree outputs (version metadata lives in top-level
110+
# gecode-version.m4).
111+
build/

CMakeLists.txt

Lines changed: 41 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ option(GECODE_REGENERATE_VARIMP "Regenerate checked-in var-imp headers during bu
6161
set(GECODE_FREELIST32_SIZE_MAX "" CACHE STRING "Max freelist size on 32-bit platforms")
6262
set(GECODE_FREELIST64_SIZE_MAX "" CACHE STRING "Max freelist size on 64-bit platforms")
6363
set(GECODE_WITH_VIS "" CACHE STRING "Additional .vis files (comma-separated)")
64+
set(GECODE_LIB_PREFIX "" CACHE STRING "User-defined prefix for generated library basenames")
65+
set(GECODE_LIB_SUFFIX "" CACHE STRING "User-defined suffix for generated library basenames")
6466

6567
# Compatibility aliases (temporary)
6668
if(GECODE_USED_ENABLE_THREADS_ALIAS)
@@ -181,57 +183,30 @@ string(REGEX MATCHALL "[^\n]*\n" CONFIG
181183
#undef PACKAGE_VERSION
182184
")
183185

184-
# Pull package info from configure.ac to keep one version source of truth.
185-
file(READ configure.ac LINES)
186-
string(REPLACE ";" "<semi>" LINES "${LINES}")
187-
string(REGEX MATCHALL "[^\n]*\n" LINES "${LINES}")
188-
set(ah_command FALSE)
189-
foreach(line "${EXTRA_CONFIG}" ${LINES})
190-
string(REPLACE ";" "" line "${line}")
191-
if(ah_command)
192-
# keep collecting
193-
elseif(line MATCHES "AC_INIT\\(([^,]*), *([^,]*), *([^)]*)\\)")
194-
set(PACKAGE ${CMAKE_MATCH_1})
195-
set(VERSION ${CMAKE_MATCH_2})
196-
set(PACKAGE_BUGREPORT ${CMAKE_MATCH_3})
197-
message(STATUS "Got VERSION=${VERSION} from configure.ac")
198-
elseif(line MATCHES "ac_gecode_soversion=(.*)\n")
199-
set(GECODE_SOVERSION "${CMAKE_MATCH_1}")
200-
elseif(line MATCHES "ac_gecode_flatzincversion=(.*)\n")
201-
set(GECODE_FLATZINC_VERSION "${CMAKE_MATCH_1}")
202-
elseif(line MATCHES "AH_BOTTOM\\(\\[(.*)")
203-
set(ah_command bottom)
204-
set(line "${CMAKE_MATCH_1}")
205-
elseif(line MATCHES "AH_VERBATIM[^,]+,(.*)")
206-
set(ah_command verbatim)
207-
set(line "${CMAKE_MATCH_1}")
208-
endif()
186+
set(GECODE_VERSION_METADATA_FILE "${CMAKE_CURRENT_SOURCE_DIR}/gecode-version.m4")
187+
if(NOT EXISTS "${GECODE_VERSION_METADATA_FILE}")
188+
message(FATAL_ERROR "Missing version metadata file: ${GECODE_VERSION_METADATA_FILE}")
189+
endif()
190+
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS
191+
"${GECODE_VERSION_METADATA_FILE}")
192+
file(READ "${GECODE_VERSION_METADATA_FILE}" GECODE_VERSION_METADATA)
209193

210-
if(ah_command)
211-
set(saved_ah_command ${ah_command})
212-
if(line MATCHES "^\\[(.*)")
213-
set(line "${CMAKE_MATCH_1}")
214-
endif()
215-
if(line MATCHES "\\]\\)")
216-
set(ah_command FALSE)
217-
string(REPLACE "])" "" line "${line}")
218-
endif()
219-
string(REGEX MATCHALL "[^\n]*\n" sublines "${line}")
220-
set(config_add "")
221-
foreach(subline ${sublines})
222-
set(config_add ${config_add} "${subline}")
223-
endforeach()
224-
if(saved_ah_command STREQUAL "verbatim")
225-
set(CONFIG ${config_add} ${CONFIG})
226-
else()
227-
set(CONFIG ${CONFIG} "\n" ${config_add})
228-
endif()
194+
function(gecode_extract_version_metadata macro_name output_var)
195+
string(REGEX MATCH "m4_define\\(\\[${macro_name}\\], *\\[([^]]+)\\]\\)" _match
196+
"${GECODE_VERSION_METADATA}")
197+
if(NOT _match)
198+
message(FATAL_ERROR
199+
"Could not parse ${macro_name} from ${GECODE_VERSION_METADATA_FILE}")
229200
endif()
230-
endforeach()
201+
set(${output_var} "${CMAKE_MATCH_1}" PARENT_SCOPE)
202+
endfunction()
231203

232-
if(NOT DEFINED GECODE_SOVERSION)
233-
set(GECODE_SOVERSION 51)
234-
endif()
204+
gecode_extract_version_metadata("GECODE_M4_VERSION" VERSION)
205+
gecode_extract_version_metadata("GECODE_M4_SOVERSION" GECODE_SOVERSION)
206+
gecode_extract_version_metadata("GECODE_M4_FLATZINC_VERSION" GECODE_FLATZINC_VERSION)
207+
208+
set(PACKAGE "GECODE")
209+
set(PACKAGE_BUGREPORT "users@gecode.org")
235210

236211
set(PACKAGE_NAME ${PACKAGE})
237212
string(TOLOWER ${PACKAGE} PACKAGE_TARNAME)
@@ -246,8 +221,8 @@ if(VERSION MATCHES "(.*)\\.(.*)\\.(.*)")
246221
"${CMAKE_MATCH_1} * 100000 + ${CMAKE_MATCH_2} * 100 + ${CMAKE_MATCH_3}")
247222
endif()
248223

249-
set(GECODE_DLL_USERPREFIX "")
250-
set(GECODE_DLL_USERSUFFIX "")
224+
set(GECODE_DLL_USERPREFIX "${GECODE_LIB_PREFIX}")
225+
set(GECODE_DLL_USERSUFFIX "${GECODE_LIB_SUFFIX}")
251226
if(GECODE_ENABLE_INT_VARS)
252227
set(GECODE_HAS_INT_VARS "/**/")
253228
endif()
@@ -484,6 +459,7 @@ endif()
484459
function(add_gecode_component_library lib)
485460
string(TOUPPER ${lib} libupper)
486461
set(sources ${GECODE_${libupper}_SOURCES})
462+
set(component_output_name "${GECODE_LIB_PREFIX}gecode${lib}${GECODE_LIB_SUFFIX}")
487463
if(lib STREQUAL "float" AND NOT (GECODE_ENABLE_MPFR AND MPFR_FOUND))
488464
# Keep in sync with Make behavior: skip empty MPFR-only source when MPFR is absent.
489465
list(REMOVE_ITEM sources "gecode/float/rounding.cpp")
@@ -506,7 +482,7 @@ function(add_gecode_component_library lib)
506482
target_compile_options(gecode${lib}_shared PRIVATE ${GECODE_VISIBILITY_COMPILE_OPTION})
507483
endif()
508484
set_target_properties(gecode${lib}_shared PROPERTIES
509-
OUTPUT_NAME gecode${lib}
485+
OUTPUT_NAME "${component_output_name}"
510486
VERSION ${GECODE_PROJECT_VERSION}
511487
SOVERSION ${GECODE_SOVERSION})
512488
add_dependencies(gecode${lib}_shared gecode-varimp-gen)
@@ -528,7 +504,8 @@ function(add_gecode_component_library lib)
528504
if(GECODE_VISIBILITY_COMPILE_OPTION)
529505
target_compile_options(gecode${lib}_static PRIVATE ${GECODE_VISIBILITY_COMPILE_OPTION})
530506
endif()
531-
set_target_properties(gecode${lib}_static PROPERTIES OUTPUT_NAME gecode${lib})
507+
set_target_properties(gecode${lib}_static PROPERTIES
508+
OUTPUT_NAME "${component_output_name}")
532509
add_dependencies(gecode${lib}_static gecode-varimp-gen)
533510
list(APPEND GECODE_INSTALL_TARGETS gecode${lib}_static)
534511
list(APPEND GECODE_EXPORT_TARGETS gecode${lib}_static)
@@ -716,10 +693,18 @@ if(GECODE_CAN_BUILD_TESTS)
716693
endforeach()
717694

718695
add_test(NAME test COMMAND gecode-test ${GECODE_CHECK_ARGS})
719-
add_custom_target(check
720-
COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -R "^test$"
721-
DEPENDS gecode-test
722-
USES_TERMINAL)
696+
get_property(GECODE_IS_MULTI_CONFIG GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
697+
if(GECODE_IS_MULTI_CONFIG)
698+
add_custom_target(check
699+
COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -R "^test$" -C $<CONFIG>
700+
DEPENDS gecode-test
701+
USES_TERMINAL)
702+
else()
703+
add_custom_target(check
704+
COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -R "^test$"
705+
DEPENDS gecode-test
706+
USES_TERMINAL)
707+
endif()
723708
else()
724709
message(WARNING "Skipping gecode-test/check targets because required modules are disabled")
725710
add_custom_target(check

Makefile.in

Lines changed: 4 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1847,8 +1847,6 @@ doxygen.conf: $(top_srcdir)/doxygen/doxygen.conf.in config.status
18471847
# Documentation
18481848
#
18491849

1850-
export ENABLEDOCCHM = @ENABLEDOCCHM@
1851-
export ENABLEDOCDOCSET = @ENABLEDOCDOCSET@
18521850
ENABLEDOCSEARCH = @ENABLEDOCSEARCH@
18531851

18541852
.PHONY: doc
@@ -1879,60 +1877,14 @@ stat.hh: $(ALLGECODEHDR:%=$(top_srcdir)/%) $(ALLSRC:%=$(top_srcdir)/%) \
18791877
$(UVRUN) $(top_srcdir)/misc/genstatistics.py $^ > stat.hh
18801878

18811879

1882-
ifeq "@ENABLEDOCCHM@" "yes"
1883-
1884-
DOCTARGET=GecodeReference.chm
1885-
1886-
header.html: $(top_srcdir)/misc/doxygen/header.html doxygen.conf
1887-
grep -v '<form.*form>' < $< > $@
1888-
doxygen.conf.use: doxygen.conf
1889-
(echo "GENERATE_HTMLHELP = YES"; \
1890-
echo "SEARCHENGINE = NO";\
1891-
echo "HAVE_DOT = @GECODE_DOXYGEN_DOT@") | \
1892-
cat $< - > $@
1893-
1894-
doc: $(ALLGECODEHDR:%=$(top_srcdir)/%) $(VARIMPHDR) \
1895-
$(ALLSRC:%=$(top_srcdir)/%) $(DOCSRC)
1896-
mkdir -p doc/html
1897-
cp -f $(top_srcdir)/misc/doxygen/back.png \
1898-
$(top_srcdir)/misc/doxygen/gecode-logo-100.png doc/html
1899-
doxygen doxygen.conf.use
1900-
mv doc/html/GecodeReference.chm GecodeReference.chm
1901-
1902-
else
1903-
ifeq "@ENABLEDOCDOCSET@" "yes"
1904-
1905-
DOCTARGET=org.gecode.@VERSION@.docset
1906-
1907-
header.html: $(top_srcdir)/misc/doxygen/header.html doxygen.conf
1908-
grep -v '<form.*form>' < $< > $@
1909-
doxygen.conf.use: doxygen.conf
1910-
(echo "SEARCHENGINE = NO";\
1911-
echo "HAVE_DOT = @GECODE_DOXYGEN_DOT@";\
1912-
echo "GENERATE_DOCSET = YES";\
1913-
echo "DOCSET_BUNDLE_ID = org.gecode.@VERSION@";\
1914-
echo "DOCSET_FEEDNAME = Gecode") | \
1915-
cat $< - > $@
1916-
1917-
doc: $(ALLGECODEHDR:%=$(top_srcdir)/%) $(VARIMPHDR) \
1918-
$(ALLSRC:%=$(top_srcdir)/%) $(DOCSRC)
1919-
mkdir -p doc/html
1920-
cp -f $(top_srcdir)/misc/doxygen/back.png \
1921-
$(top_srcdir)/misc/doxygen/gecode-logo-100.png doc/html
1922-
doxygen doxygen.conf.use
1923-
cd doc/html && make
1924-
mv doc/html/$(DOCTARGET) .
1925-
1926-
else
19271880
DOCTARGET=doc/html
19281881

19291882
ifeq "@ENABLEDOCSEARCH@" "yes"
19301883

19311884
header.html: $(top_srcdir)/misc/doxygen/header.html doxygen.conf
19321885
cat < $< > $@
19331886
doxygen.conf.use: doxygen.conf
1934-
(echo "GENERATE_HTMLHELP = NO"; \
1935-
echo "SEARCHENGINE = YES"; \
1887+
(echo "SEARCHENGINE = YES"; \
19361888
echo "SERVER_BASED_SEARCH = YES"; \
19371889
echo "HAVE_DOT = @GECODE_DOXYGEN_DOT@") | \
19381890
cat $< - > $@
@@ -1941,14 +1893,13 @@ else
19411893
header.html: $(top_srcdir)/misc/doxygen/header.html doxygen.conf
19421894
grep -v '<form.*form>' < $< > $@
19431895
doxygen.conf.use: doxygen.conf
1944-
(echo "GENERATE_HTMLHELP = NO"; \
1945-
echo "SEARCHENGINE = NO"; \
1896+
(echo "SEARCHENGINE = NO"; \
19461897
echo "HAVE_DOT = @GECODE_DOXYGEN_DOT@") | \
19471898
cat $< - > $@
19481899

19491900
endif
19501901

1951-
doc: $(ALLGECODEHDR:%=$(top_srcdir)/%) $(VARIMPHDR) \
1902+
doc: mkcompiledirs $(ALLGECODEHDR:%=$(top_srcdir)/%) $(VARIMPHDR) \
19521903
$(ALLSRC:%=$(top_srcdir)/%) $(DOCSRC)
19531904
mkdir -p doc/html
19541905
cp -f $(top_srcdir)/misc/doxygen/back.png \
@@ -1963,9 +1914,6 @@ ifeq "@ENABLEDOCSEARCH@" "yes"
19631914
rm doc/html/search2.php
19641915
endif
19651916

1966-
endif
1967-
endif
1968-
19691917
#
19701918
# Installation
19711919
#
@@ -2116,7 +2064,7 @@ veryclean: clean
21162064
$(RMF) $(EXAMPLEEXE)
21172065
$(RMF) $(TESTEXE)
21182066
$(RMF) $(FLATZINCEXE)
2119-
$(RMF) doc GecodeReference.chm ChangeLog
2067+
$(RMF) doc ChangeLog
21202068
$(RMF) $(ALLOBJ:%$(OBJSUFFIX)=%.gcno) $(TESTOBJ:%$(OBJSUFFIX)=%.gcno)
21212069
$(RMF) $(ALLOBJ:%$(OBJSUFFIX)=%.gcda) $(TESTOBJ:%$(OBJSUFFIX)=%.gcda)
21222070

README.md

Lines changed: 45 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@ constraint-based systems and applications. Gecode provides a
77
constraint solver with state-of-the-art performance while being
88
modular and extensible.
99

10-
[master](https://github.com/Gecode/gecode/tree/master):
11-
[![Build Status master](https://api.travis-ci.org/Gecode/gecode.svg?branch=master)](https://travis-ci.org/Gecode/gecode)
12-
13-
[develop](https://github.com/Gecode/gecode/tree/develop):
14-
[![Build Status develop](https://api.travis-ci.org/Gecode/gecode.svg?branch=develop)](https://travis-ci.org/Gecode/gecode)
10+
[![CI](https://github.com/Gecode/gecode/actions/workflows/build.yml/badge.svg)](https://github.com/Gecode/gecode/actions/workflows/build.yml)
1511

1612
## Getting All the Info You Need...
1713

@@ -27,31 +23,50 @@ Gecode comes with
2723

2824
CMake now exposes options aligned with the Autoconf build switches.
2925
The minimum required CMake version is 3.21.
30-
Qt discovery uses CMake packages (Qt6 or Qt5).
31-
For Autoconf, `--enable-qt` now targets Qt 5/Qt 6 via `qmake`/`moc`
32-
discovery; if suitable Qt tools are unavailable, Qt (and therefore Gist)
33-
is disabled automatically.
34-
35-
| Configure switch | CMake option | Default |
36-
|---|---|---|
37-
| `--enable-shared` | `GECODE_BUILD_SHARED` | `ON` |
38-
| `--enable-static` | `GECODE_BUILD_STATIC` | `OFF` |
39-
| `--enable-thread` | `GECODE_ENABLE_THREAD` | `ON` |
40-
| `--enable-qt` | `GECODE_ENABLE_QT` | `ON` |
41-
| `--enable-gist` | `GECODE_ENABLE_GIST` | `ON` |
42-
| `--enable-cpprofiler` | `GECODE_ENABLE_CPPROFILER` | `ON` |
43-
| `--enable-cbs` | `GECODE_ENABLE_CBS` | `OFF` |
44-
| `--enable-examples` | `GECODE_ENABLE_EXAMPLES` | `ON` |
45-
| `--enable-search` | `GECODE_ENABLE_SEARCH` | `ON` |
46-
| `--enable-int-vars` | `GECODE_ENABLE_INT_VARS` | `ON` |
47-
| `--enable-set-vars` | `GECODE_ENABLE_SET_VARS` | `ON` |
48-
| `--enable-float-vars` | `GECODE_ENABLE_FLOAT_VARS` | `ON` |
49-
| `--enable-minimodel` | `GECODE_ENABLE_MINIMODEL` | `ON` |
50-
| `--enable-driver` | `GECODE_ENABLE_DRIVER` | `ON` |
51-
| `--enable-flatzinc` | `GECODE_ENABLE_FLATZINC` | `ON` |
52-
53-
Additional parity-oriented options are available for advanced features,
54-
including MPFR, allocator/audit toggles, visibility, and freelist sizes.
26+
`configure.ac` is the canonical autoconf source, and `configure` is generated
27+
from it.
28+
Version metadata shared by autoconf and CMake lives in `gecode-version.m4`.
29+
`build/` is reserved for generated build outputs.
30+
31+
| Autoconf switch | CMake option / mechanism | Status | Notes |
32+
|---|---|---|---|
33+
| `--enable-shared` | `GECODE_BUILD_SHARED` | Supported directly | Default `ON` |
34+
| `--enable-static` | `GECODE_BUILD_STATIC` | Supported directly | Default `OFF` |
35+
| `--enable-thread` | `GECODE_ENABLE_THREAD` | Supported directly | Default `ON` |
36+
| `--enable-osx-unfair-mutex` | `GECODE_ENABLE_OSX_UNFAIR_MUTEX` | Supported directly | Default `ON` |
37+
| `--enable-qt` | `GECODE_ENABLE_QT` | Supported directly | Qt5/Qt6 package discovery |
38+
| `--enable-gist` | `GECODE_ENABLE_GIST` | Supported directly | Disabled automatically if Qt is unavailable |
39+
| `--enable-cpprofiler` | `GECODE_ENABLE_CPPROFILER` | Supported directly | Default `ON` |
40+
| `--enable-cbs` | `GECODE_ENABLE_CBS` | Supported directly | Default `OFF` |
41+
| `--enable-examples` | `GECODE_ENABLE_EXAMPLES` | Supported directly | Default `ON` |
42+
| `--enable-search` | `GECODE_ENABLE_SEARCH` | Supported directly | Default `ON` |
43+
| `--enable-int-vars` | `GECODE_ENABLE_INT_VARS` | Supported directly | Default `ON` |
44+
| `--enable-set-vars` | `GECODE_ENABLE_SET_VARS` | Supported directly | Default `ON` |
45+
| `--enable-float-vars` | `GECODE_ENABLE_FLOAT_VARS` | Supported directly | Default `ON` |
46+
| `--enable-minimodel` | `GECODE_ENABLE_MINIMODEL` | Supported directly | Default `ON` |
47+
| `--enable-driver` | `GECODE_ENABLE_DRIVER` | Supported directly | Default `ON` |
48+
| `--enable-flatzinc` | `GECODE_ENABLE_FLATZINC` | Supported directly | Default `ON` |
49+
| `--enable-mpfr` | `GECODE_ENABLE_MPFR` | Supported directly | Default `ON`; uses `find_package(MPFR)` |
50+
| `--enable-allocator` | `GECODE_ENABLE_ALLOCATOR` | Supported directly | Default `ON` |
51+
| `--enable-audit` | `GECODE_ENABLE_AUDIT` | Supported directly | Default `OFF` |
52+
| `--enable-gcc-visibility` | `GECODE_ENABLE_GCC_VISIBILITY` | Supported directly | Default `ON` |
53+
| `--with-freelist32-size-max` | `GECODE_FREELIST32_SIZE_MAX` | Supported directly | Cache string |
54+
| `--with-freelist64-size-max` | `GECODE_FREELIST64_SIZE_MAX` | Supported directly | Cache string |
55+
| `--with-vis` | `GECODE_WITH_VIS` | Supported directly | Comma-separated list |
56+
| `--with-lib-prefix` | `GECODE_LIB_PREFIX` | Supported directly | Prefixes generated library basenames |
57+
| `--with-lib-suffix` | `GECODE_LIB_SUFFIX` | Supported directly | Suffixes generated library basenames |
58+
| `--enable-debug` | `CMAKE_BUILD_TYPE=Debug` (or multi-config `Debug`) | Mapped to native CMake mechanism | Use standard CMake build-type workflows |
59+
| `--enable-profile` | Toolchain/CMake compile+link flags | Mapped to native CMake mechanism | Configure profiling via standard compiler flags |
60+
| `--enable-gcov` | Toolchain/CMake coverage flags | Mapped to native CMake mechanism | Configure coverage instrumentation via compiler/linker flags |
61+
| `--with-mpfr-include`, `--with-mpfr-lib` | `CMAKE_PREFIX_PATH`, `MPFR_ROOT`, toolchain include/link paths | Mapped to native CMake mechanism | Use CMake package and toolchain discovery |
62+
| `--with-gmp-include`, `--with-gmp-lib` | Toolchain include/link paths | Mapped to native CMake mechanism | GMP is resolved through MPFR/toolchain linkage |
63+
| `--with-host-os` | None | Not supported in CMake | Generator/toolchain already determine host/target platform |
64+
| `--with-compiler-vendor` | None | Not supported in CMake | Compiler is selected through toolchain and generator |
65+
| `--with-sdk`, `--with-macosx-version-min`, `--with-architectures` | None | Not supported in CMake | Use native CMake/macOS toolchain settings |
66+
| `--enable-framework` | None | Not supported in CMake | No framework-bundle generator path is implemented |
67+
| `--enable-resource` | None | Not supported in CMake | No autoconf-style resource toggle in CMake |
68+
| `--enable-doc-dot`, `--enable-doc-search`, `--enable-doc-tagfile` | None | Not supported in CMake | No parity layer for doxygen doc toggles |
69+
5570
By default, CMake uses checked-in `gecode/kernel/var-type.hpp` and
5671
`gecode/kernel/var-imp.hpp`; regeneration is opt-in via
5772
`-DGECODE_REGENERATE_VARIMP=ON`.

0 commit comments

Comments
 (0)