Conan 1.3 Documentationprevious page) import re def get_version(): try: content = load("CMakeLists.txt") version = re.search(b"set\(MY_LIBRARY_VERSION (.*)\)", content).group(1) return version.strip() except Exception as0 码力 | 397 页 | 2.77 MB | 1 年前3
Conan 1.4 Documentationprevious page) import re def get_version(): try: content = load("CMakeLists.txt") version = re.search(b"set\(MY_LIBRARY_VERSION (.*)\)", content).group(1) return version.strip() except Exception as0 码力 | 421 页 | 2.84 MB | 1 年前3
Conan 1.5 Documentationtools import load import re def get_version(): try: content = load("CMakeLists.txt") version = re.search(b"set\(MY_LIBRARY_VERSION (.*)\)", content).group(1) return version.strip() except Exception as0 码力 | 422 页 | 2.85 MB | 1 年前3
Conan 1.6 Documentationtools import load import re def get_version(): try: content = load("CMakeLists.txt") version = re.search(b"set\(MY_LIBRARY_VERSION (.*)\)", content).group(1) return version.strip() except Exception as0 码力 | 428 页 | 2.87 MB | 1 年前3
Conan 1.7 Documentationtools import load import re def get_version(): try: content = load("CMakeLists.txt") version = re.search(b"set\(MY_LIBRARY_VERSION (.*)\)", content).group(1) return version.strip() except Exception as0 码力 | 433 页 | 2.95 MB | 1 年前3
Conan 1.8 Documentationtools import load import re def get_version(): try: content = load("CMakeLists.txt") version = re.search(b"set\(MY_LIBRARY_VERSION (.*)\)", content).group(1) return version.strip() except Exception as0 码力 | 458 页 | 3.03 MB | 1 年前3
Conan 1.9 Documentationtools import load import re def get_version(): try: content = load("CMakeLists.txt") version = re.search(b"set\(MY_LIBRARY_VERSION (.*)\)", content).group(1) return version.strip() except Exception as0 码力 | 470 页 | 3.05 MB | 1 年前3
Conan 1.10 Documentationtools import load import re def get_version(): try: content = load("CMakeLists.txt") version = re.search(b"set\(MY_LIBRARY_VERSION (.*)\)", content).group(1) return version.strip() except Exception as0 码力 | 479 页 | 3.09 MB | 1 年前3
Conan 1.11 Documentationtools import load import re def get_version(): try: content = load("CMakeLists.txt") version = re.search(b"set\(MY_LIBRARY_VERSION (.*)\)", content).group(1) return version.strip() except Exception as0 码力 | 490 页 | 4.05 MB | 1 年前3
Conan 1.16 Documentationtools import load import re def get_version(): try: content = load("CMakeLists.txt") version = re.search(b"set\(MY_LIBRARY_VERSION (.*)\)", content).group(1) return version.strip() except Exception as0 码力 | 545 页 | 4.34 MB | 1 年前3
共 63 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













