File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ Example usage
300
300
set(CPACK_GENERATOR NuGet)
301
301
# Set up package metadata
302
302
set(CPACK_PACKAGE_NAME SamplePackage)
303
- set(CPACK_PACKAGE_VERSION "1.0.0") # Why doesn't this pick up the version from the project?
303
+ set(CPACK_PACKAGE_VERSION "1.0.0")
304
304
set(CPACK_PACKAGE_VENDOR "Example Inc")
305
305
set(CPACK_NUGET_PACKAGE_OWNERS "Example Inc")
306
306
set(CPACK_PACKAGE_DESCRIPTION "A .NET wrapper around the foobar library for frobbling bratchens")
@@ -319,12 +319,11 @@ Example usage
319
319
set(CPACK_NUGET_PACKAGE_DEPENDENCIES "Baz")
320
320
set(CPACK_NUGET_PACKAGE_DEPENDENCIES_Baz_VERSION "9.8.6")
321
321
# NB: Since "net6.0" was listed but no dependencies have been specified, an empty group
322
- # will be added to the nuspec file for this framework. This can be used to address ` NU5128`_ .
322
+ # will be added to the nuspec file for this framework. This can be used to address warning NU5128.
323
323
324
324
include(CPack)
325
325
326
326
327
-
328
327
.. _nuget.org : https://www.nuget.org
329
328
.. _version specification : https://learn.microsoft.com/en-us/nuget/concepts/package-versioning#version-ranges
330
329
.. _SPDX license identifier : https://spdx.org/licenses
Original file line number Diff line number Diff line change 7
7
the platform.
8
8
9
9
In CMake 3.29 and below, on platforms that do not support shared libraries
10
- (:prop_gbl: `TARGET_SUPPORTS_SHARED_LIBS ` is `` false `` ), the
11
- :command: `add_library ` command automatically converted ``SHARED `` libraries to
10
+ (:prop_gbl: `TARGET_SUPPORTS_SHARED_LIBS ` is false), the
11
+ :command: `add_library ` command automatically converts ``SHARED `` libraries to
12
12
``STATIC `` libraries to help users build projects on such platforms. However,
13
13
the semantics of shared and static libraries are different enough that such
14
14
automatic conversion cannot work in general. Projects using shared libraries
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ TARGET_SUPPORTS_SHARED_LIBS
3
3
4
4
Does the target platform support shared libraries.
5
5
6
- TARGET_SUPPORTS_SHARED_LIBS is a boolean specifying whether the target
6
+ `` TARGET_SUPPORTS_SHARED_LIBS `` is a boolean specifying whether the target
7
7
platform supports shared libraries. Basically all current general
8
- general purpose OS do so, the exception are usually embedded systems
8
+ purpose OS do so, the exceptions are usually embedded systems
9
9
with no or special OSs.
You can’t perform that action at this time.
0 commit comments