Secure and convenient password management with CodeLite build workspace guidance.
Password Safe is a password manager described as a popular, secure, and convenient way to manage passwords. This README focuses on the available project information for working with Password Safe through the CodeLite IDE on Linux.
The provided project notes are centered on building and browsing Password Safe using CodeLite rather than using makefiles. They describe how to configure CodeLite for a wxWidgets 3.x-based build, how to set editor preferences to avoid unintended whitespace changes, and how the included workspace projects are intended to be used.
Password Safe uses wxWidgets 3.x. Because some Linux distributions may not ship wxWidgets 3.x by default, you may need to build wxWidgets 3.x separately and configure CodeLite so it can find the correct headers and libraries.
| Component | Purpose |
|---|---|
| CodeLite | IDE used to browse, build, and debug Password Safe |
| wxWidgets 3.x | GUI toolkit required by the wxWidgets build |
| wx-config | Used by CodeLite to locate wxWidgets build configuration |
CodeLite should be able to see the following environment variables:
WX3_CONFIG_DEBUG=<path to wx-config of your wx3 debug build>
WX3_CONFIG_RELEASE=<path to wx-config of your wx3 release build>
These variables should point to the wx-config files for the debug and release builds of wxWidgets 3.x.
To build Password Safe using CodeLite:
- Launch CodeLite.
- Open the workspace through Workspace β Switch to Workspace....
- Select the
PasswordSafe.workspacefile. - In the Workspace view, right-click
pwsafeunder thePasswordSaferoot item. - Choose Build.
Alternatively, use Build β Build Workspace from the CodeLite menu.
Depending on the selected configuration, CodeLite creates a Debug or Release directory under the CodeLite workspace directory. The build output described in the project notes includes intermediate and final build artifacts such as:
libcore.alibos.apwsafe
The project notes recommend specific indentation settings when editing Password Safe source code in CodeLite. These settings help reduce unintended whitespace changes.
Recommended settings:
- Do not use tabs.
- Use 2-character indentation.
- Convert each tab to 2 spaces.
In CodeLite, these can be configured from:
Settings β Global Editor Preferences β General β Indentation
Suggested values:
- Uncheck Use tabs in indentation
- Set Columns per indentation level to
2 - Set Columns per tab character in document to
2
If you only want these settings to apply to the Password Safe workspace, use Workspace Editor Preferences for the PasswordSafe workspace and override the global indentation settings there.
Before committing changes, review diffs carefully to ensure that unrelated whitespace changes are not included.
The CodeLite workspace includes projects that serve different purposes.
The pwsafe project is the main build target used when building Password Safe from CodeLite.
The Windows project exists for browsing the source files related to the Windows/MFC build. It is not described as a build target when building pwsafe or the full workspace.
The wxWidgets project exists to make wxWidgets source code easier to browse from within CodeLite. It assumes wxWidgets sources are available in a wx subdirectory under the CodeLite directory.
For example, if wxWidgets sources are located at /usr/src/wxGTK-2.8.10/, the project notes suggest creating a symlink named wx pointing to that directory.
This project is intended for source browsing, symbol cross-referencing, and debugging convenience. It is not described as a build target.
- The CodeLite files are intended to make browsing, building, and debugging Password Safe more convenient.
- wxWidgets 3.x must be available and visible to CodeLite.
- Editor indentation settings matter because CodeLite may adjust whitespace depending on configuration.
- The Windows and wxWidgets workspace projects are provided for navigation and reference, not as active build targets.
Password Safe is a password manager described as secure, convenient, and popular.
This README summarizes the available CodeLite workspace guidance for building and browsing Password Safe.
The provided project notes state that Password Safe uses wxWidgets 3.x.
Yes. The project notes describe using CodeLite to build Password Safe as an alternative to makefiles.
No. The available notes describe them as browsing/reference projects, not as build targets for the main CodeLite build.
The project notes warn that CodeLite may adjust whitespace depending on editor settings, so consistent indentation settings are recommended.