Overview
The lmxdev developer tool is a multipurpose utility for generating security configuration files and includes files for compilation.
The lmxdev command usage is as follows:
-genconfig security_config.lmx
-embedlicense lmx.lic file
-embedsecurityconfig security_config.lmx file
-verifysecurityconfig
Where:
LM-X Developer utility (lmxdev
) is an essential utility within the LM-X License Manager SDK, primarily used during the development and build processes. This utility facilitates creating, embedding, and verifying security configuration files and licensing information, ensuring that the security and licensing features are integrated seamlessly into your applications.
Purpose
The LM-X Developer utility is designed to assist developers in managing and implementing security configurations and license management features effectively. By automating the inclusion of these elements, the LM-X Developer utility helps maintain consistency and integrity across different builds and deployments. The LM-X Developer utility is a powerful utility that enhances the security and licensing capabilities of software developed using the LM-X SDK, providing you with robust utilitys to manage and secure your applications effectively.
Usage
Usage details for lmxdev
, including command line options and examples, are detailed below.
Command line options
The lmxdev
utility includes the following commands for specific development needs related to security and licensing.
Command-line option | Description | ||
---|---|---|---|
-genconfig filename -genconfig security_config.lmx | Generates an LM-X security configuration file (security_config.lmx) that holds , specified by | ||
-embedlicense | lmx.lic license_file target_file | Embeds an LM-X License Manager license from the specified | .specified by |
-embedsecurityconfig security_config.lmx config_file target_file | Embeds a security configuration from the specified | ||
-verifysecurityconfig file | Verifies | if that the security configuration is properly embedded in the specified |
Extended command features
For advanced security needs, the lmxdev
utility also includes the following extended commands.
...
Command-line option | Description |
---|---|
-embedsecurityconfigext config_file target_file | Extends the usage of |
-verifysecurityconfigext file | Extends the usage of |
Example usage
Generating a security configuration file
To generate a security configuration file, use lmxdev as shown in the following example.
Code Block | ||
---|---|---|
| ||
$ ./lmxdev -genconfig ../config/security_config.lmx
LM-X Developer Utility v5.5.6
Copyright (C) 2002-2024 X-Formation. All rights reserved.
Please wait while a configuration file is being created...
#####################################################################################################
File ../config/security_config.lmx successfully written... |
Embedding a license file
To embed a license file, use lmxdev as shown in the following example.
Code Block | ||
---|---|---|
| ||
$ ./lmxdev -embedlicense ../config/lmx.lic ./liblmx.so
LM-X Developer Utility v5.5.6
Copyright (C) 2002-2024 X-Formation. All rights reserved.
License file successfully embedded! |
Verifying security configuration
To verify the security configuration, use lmxdev as shown in the following example.
Code Block | ||
---|---|---|
| ||
$ ./lmxdev -verifysecurityconfig ../config/security_config.lmx ./liblmx.so LM-X Developer Utility v5.5.6 Copyright (C) 2002-2024 X-Formation. All rights reserved. Public security configuration is verified. |