* Major CMake refactor
* CI fixes
* Fix CMake errors
* Install graphviz on Windows
* More consistent CMake build types
* Fix compiler defines for Windows
* Fix more bugs
* Add standalone tool building support
* Fix typo
* Update README
* Install sleighLift before trying to smoketest it
* Test coverage preset
The compiler option '-fkeep-inline-functions' originally included with
the coverage build type causes errors with the message "undefined
reference to 'vtable for OpAction*'" for all OpAction subclasses.
This StackOverflow answer might help in resolving this?
https://stackoverflow.com/a/57504289
* Build documentation by default with CI presets
* Use COMPONENT for install commands
This allows for someone to specify which components they want to install
if they only want or need a subset
* Support cross compiling with host system sleigh compiler
* Various fixes found during review
* Move "_WINDOWS" define to CMakeLists.txt file
* Rename ToB 'tools' directory to 'extra-tools'
* Separate projects for sleigh tools
Library is still top-level CMakeLists.txt
More options
* CMake find_package(Git)
* Fix bad merge for patch paths
* Fix missing libconfig.h header install
* Fix issues with installation of headers
* More refactoring
* Refactor sleighexample into its own project/directory
* Refactor specfiles building into separate project/directory
* Check for termios.h header and set define if found
* Update READMEs
* Better consistency with install rules
* Build sleighLift as a standalone project with added source
* More changes to CMake subprojects
* Also add "Specs" component to sleigh installation config
* Try to be better at bootstrapping subprojects (hopefully this doesn't
bite us, but if it does, I'm happy to remove it and say "not
supported")
* Address some code review
* Add project sleigh_tool for tool subdirectory
Could make it easier to build just the tools
* Add help text to name the tool executable name
* Add license notice to CMake files
* Fix/Remove too specific CPack packaging configuration
* Consistent capitalization of Sleigh
Co-authored-by: Alex Cameron <asc@tetsuo.sh>
Add new source file marshal.cc and header marshal.hh
Big changes for supporting stable and HEAD
Conditional compilation based on whether sleigh is HEAD version
Expose CMake variable to determine if version is HEAD
* CI: Enable Windows testing
* Fix compilation error on Windows
* Remove compiler warnings as errors
* Move tests to the last step to upload Windows binaries
* Add test for find_package testing in Windows
Makes testing it easier for multi-config generators
* sleigh-lift: Create `--help` and `--version` flags
* cmake: Bring in `git_watcher.cmake`
* support: Add version module to support lib
* support: Add helpers for GHIDRA version and commit hash
* cmake: Cleanup
* cmake, support: Record `cmake-git-version-tracking` Git hash
* sleigh-lift, support: Add helper for GHIDRA release type
* doc: Fix GitHub links to include commit hashes
* sleigh-lift: Add support for loading PSPEC files
* sleigh-lift: Remove code to manually switch on `longMode`
* doc: Fix README usage text
* Update main.cpp
Co-authored-by: Peter Goodman <peter@trailofbits.com>
The original source code does not set up the headers this way, but it is
best practice to use the project's name prefix to avoid polluting the
include search paths and avoid name conflicts
* Add CMake ALIAS for libraries and executables to mimic find_package
This is useful if this project is included as a subdirectory in another
project
* Use aliased targets internally
This is best practice and catches any mispellings before CMake uses the
name as a dynamic link library name
* cmake: Specify headers for the sla and decomp libraries
* example: Create `sleigh-lift` program
* Move `sleigh-lift` under tools and make it part of the same CMake project
* Turn on more stringent warnings
* Consolidate on types
* Only apply stringent compiler warnings for debug builds
* Add missing cassert include
* Rename `ParseBytes` => `ParseHexBytes`
* Fix types
* Add license header to `sleigh-lift`
* Add section to README introducing `sleigh-lift`
* Reword README
* Add `libsleigh.hh` which includes all SLEIGH headers and applies
appropriate pragmas to silence warnings
* Change `find_package` test to use the `libsleigh.hh` header
* Fix `libsleigh` header to check install directory
* Older version of Clang don't have `-Wdeprecated-copy` as a separate
warning to `-Wdeprecated`