File tree Expand file tree Collapse file tree 3 files changed +9
-10
lines changed
src/scikit_build_core/build
tests/packages/simplest_c Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -265,7 +265,7 @@ print(mk_skbuild_docs())
265265 :confval:`build-dir` must be set.
266266```
267267
268- ``` {eval-rst}
268+ ```` {eval-rst}
269269.. confval:: editable.verbose
270270 :type: ``bool``
271271 :default: true
@@ -279,8 +279,9 @@ print(mk_skbuild_docs())
279279
280280 Build directory to use when ``editable.mode`` is ``"inplace"``. If empty, the project
281281 source directory is used.
282- ```
283- ```
282+ ````
283+
284+ ````
284285
285286## generate[]
286287
@@ -294,7 +295,7 @@ print(mk_skbuild_docs())
294295 The ``build`` directory is useful for CMake files, and the ``install`` directory is
295296 useful for Python files, usually. You can also write directly to the ``source``
296297 directory, will overwrite existing files & remember to gitignore the file.
297- ```
298+ ````
298299
299300``` {eval-rst}
300301.. confval:: generate[].path
Original file line number Diff line number Diff line change @@ -289,9 +289,7 @@ def _build_wheel_impl_impl(
289289 log_build_dir = True
290290 if cmake is not None and editable and settings .editable .mode == "inplace" :
291291 if settings .editable .build_dir :
292- build_dir = Path (
293- settings .editable .build_dir .format (** format_data )
294- )
292+ build_dir = Path (settings .editable .build_dir .format (** format_data ))
295293 else :
296294 build_dir = settings .cmake .source_dir
297295 log_build_dir = False
Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ if(DEFINED SKBUILD_EDITABLE_MODE AND SKBUILD_EDITABLE_MODE STREQUAL "inplace")
2121 "${CMAKE_SOURCE_DIR} /src/${SKBUILD_PROJECT_NAME} $<0:>" )
2222elseif ("${CMAKE_CURRENT_SOURCE_DIR} " STREQUAL "${CMAKE_CURRENT_BINARY_DIR} "
2323 AND DEFINED SKBUILD)
24- # Editable in-place builds with an in-source build directory. The empty generator
25- # expression ensures multi-config generators keep us from having to set
26- # LIBRARY_OUTPUT_DIRECTORY_<CONFIG> too.
24+ # Editable in-place builds with an in-source build directory. The empty
25+ # generator expression ensures multi-config generators keep us from having to
26+ # set LIBRARY_OUTPUT_DIRECTORY_<CONFIG> too.
2727 set_target_properties (
2828 _module PROPERTIES LIBRARY_OUTPUT_DIRECTORY
2929 "${CMAKE_BINARY_DIR} /src/${SKBUILD_PROJECT_NAME} $<0:>" )
You can’t perform that action at this time.
0 commit comments