mirror of
https://github.com/meekrosoft/fff
synced 2026-01-23 00:15:59 +01:00
Migrate build to CMake and standard github workflows
Replace makefiles with CMakeLists.txt. This will allow for IDE and platform agnostic builds of FFF. Update the CI for FFF to use github workflows which don't depend on MS VC. The workflow added will verify the pull requests sent to master buy running 'buildandtest' which mirrors the developer workflow. Signed-off-by: Yuval Peress <peress@google.com>
This commit is contained in:
@@ -8,6 +8,10 @@ $MAX_ARGS = 20
|
||||
$DEFAULT_ARG_HISTORY = 50
|
||||
$MAX_CALL_HISTORY = 50
|
||||
|
||||
def license
|
||||
File.foreach("#{__dir__}/LICENSE") { |line| putd line }
|
||||
end
|
||||
|
||||
def include_dependencies
|
||||
putd "#include <stdarg.h>"
|
||||
putd "#include <string.h> /* For memset and memcpy */"
|
||||
@@ -636,6 +640,7 @@ def output_macro_counting_shortcuts(has_calling_conventions)
|
||||
end
|
||||
|
||||
def output_c_and_cpp(has_calling_conventions)
|
||||
license
|
||||
include_guard {
|
||||
include_dependencies
|
||||
output_constants
|
||||
|
||||
Reference in New Issue
Block a user