@@ -86,15 +86,12 @@ option(NFX_DATATYPES_BUILD_SAMPLES "Build samples" O
8686option(NFX_DATATYPES_BUILD_BENCHMARKS "Build benchmarks" OFF )
8787option(NFX_DATATYPES_BUILD_DOCUMENTATION "Build Doxygen documentation" OFF )
8888
89- # Installation
90- option(NFX_DATATYPES_INSTALL_PROJECT "Install project" OFF )
89+ # Performance options
90+ option(NFX_DATATYPES_ENABLE_NATIVE_OPTS "Enable native CPU optimizations" ON )
9191
92- # Packaging
92+ # Installation and packaging
93+ option(NFX_DATATYPES_INSTALL_PROJECT "Install project" OFF )
9394option(NFX_DATATYPES_PACKAGE_SOURCE "Enable source package generation" OFF )
94- option(NFX_DATATYPES_PACKAGE_ARCHIVE "Enable TGZ/ZIP package generation" OFF )
95- option(NFX_DATATYPES_PACKAGE_DEB "Enable DEB package generation" OFF )
96- option(NFX_DATATYPES_PACKAGE_RPM "Enable RPM package generation" OFF )
97- option(NFX_DATATYPES_PACKAGE_WIX "Enable WiX MSI installer" OFF )
9895```
9996
10097### Using in Your Project
@@ -380,56 +377,6 @@ Sum: 1111111110111111111011111111100
380377Equals 0.3? Yes
381378```
382379
383- ## Installation & Packaging
384-
385- nfx-datatypes provides packaging options for distribution.
386-
387- ### Package Generation
388-
389- ``` bash
390- # Configure with packaging options
391- cmake .. -DCMAKE_BUILD_TYPE=Release \
392- -DNFX_DATATYPES_BUILD_STATIC=ON \
393- -DNFX_DATATYPES_BUILD_SHARED=ON \
394- -DNFX_DATATYPES_PACKAGE_ARCHIVE=ON \
395- -DNFX_DATATYPES_PACKAGE_DEB=ON \
396- -DNFX_DATATYPES_PACKAGE_RPM=ON
397-
398- # Generate binary packages
399- cmake --build . --target package
400- # or
401- cd build && cpack
402-
403- # Generate source packages
404- cd build && cpack --config CPackSourceConfig.cmake
405- ```
406-
407- ### Supported Package Formats
408-
409- | Format | Platform | Description | Requirements |
410- | ----------- | -------------- | ---------------------------------- | ------------ |
411- | ** TGZ/ZIP** | Cross-platform | Compressed archive packages | None |
412- | ** DEB** | Debian/Ubuntu | Native Debian packages | ` dpkg-dev ` |
413- | ** RPM** | RedHat/SUSE | Native RPM packages | ` rpm-build ` |
414- | ** WiX** | Windows | Professional MSI installer | ` WiX 3.11+ ` |
415- | ** Source** | Cross-platform | Source code distribution (TGZ+ZIP) | None |
416-
417- ### Installation
418-
419- ``` bash
420- # Linux (DEB-based systems)
421- sudo dpkg -i nfx-datatypes_* _amd64.deb
422-
423- # Linux (RPM-based systems)
424- sudo rpm -ivh nfx-datatypes-* -Linux.rpm
425-
426- # Windows (MSI installer)
427- nfx-datatypes-0.1.0-MSVC.msi
428-
429- # Manual installation (extract archive)
430- tar -xzf nfx-datatypes-* -Linux.tar.gz -C /usr/local/
431- ```
432-
433380## Project Structure
434381
435382```
@@ -469,4 +416,4 @@ All dependencies are automatically fetched via CMake FetchContent when building
469416
470417---
471418
472- _ Updated on November 24, 2025 _
419+ _ Updated on Februrary 15, 2026 _
0 commit comments