Build improvements (improved CMakeLists.txt, added proper support for testing)

This commit is contained in:
kobalicek
2020-05-01 12:20:42 +02:00
parent 9057aa30b6
commit fc7eed5304
12 changed files with 84 additions and 71 deletions

View File

@@ -1,4 +1,4 @@
// [AsmJit]
// [AsmJit]you want
// Machine Code Generation for C++.
//
// [License]
@@ -13,14 +13,13 @@
// - Tell the CodeHolder to resolve unresolved links and check whether
// all links were resolved.
// - Relocate the code
// - Copy the code to the location you want.
// - Copy the code to the destination address.
#include <asmjit/x86.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "./asmjit.h"
using namespace asmjit;
// The generated function is very simple, it only accesses the built-in data