Adding stdlib target to CMake, migrating runtime to C++.
This commit is contained in:
parent
8656d5c761
commit
83a331a9af
|
@ -109,3 +109,7 @@ target_link_libraries(mcc
|
||||||
${LLVM_LIBRARIES}
|
${LLVM_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
## 6. Build the runtime library too
|
||||||
|
|
||||||
|
add_library(mcrt STATIC Runtime.cpp)
|
||||||
|
|
||||||
|
|
|
@ -17,11 +17,11 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Runtime.h"
|
#include "Runtime.hpp"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <cstdio>
|
||||||
#include <stdlib.h>
|
#include <cstdlib>
|
||||||
#include <assert.h>
|
#include <cassert>
|
||||||
|
|
||||||
|
|
||||||
void __Monicelli_main();
|
void __Monicelli_main();
|
Reference in New Issue
Block a user