mirror of
				https://github.com/bytecodealliance/wasm-micro-runtime.git
				synced 2025-10-20 16:01:24 +00:00 
			
		
		
		
	 653b926d53
			
		
	
	
		653b926d53
		
			
		
	
	
	
	
		
			
			Upgrade WAMR-IDE: test-tools/wamr-ide folder - add `wamr-sdk` to include libc-builtin-sysroot header files - add `prettier` check and apply script in `package.json` - update `wasm-toolchain` dockerfile and resource - enhance `build | run | debug` process to clean up the container - enhance the change workspace - enhance `wasm` type project check before building, running and debugging - format the project_compilation.json - update documents
		
			
				
	
	
		
			32 lines
		
	
	
		
			903 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			903 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| # Copyright (C) 2019 Intel Corporation.  All rights reserved.
 | |
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 | |
| 
 | |
| cmake_minimum_required (VERSION 2.9)
 | |
| 
 | |
| project(Main)
 | |
| 
 | |
| include(${CMAKE_CURRENT_SOURCE_DIR}/project.cmake)
 | |
| 
 | |
| set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -Wno-unused-command-line-argument " CACHE INTERNAL "")
 | |
| 
 | |
| set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -z stack-size=${STACK_SIZE}")
 | |
| 
 | |
| set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fdebug-prefix-map=/mnt='$ENV{PROJ_PATH}'")
 | |
| 
 | |
| set (CMAKE_EXE_LINKER_FLAGS
 | |
|     "${CMAKE_EXE_LINKER_FLAGS} -Wl,--initial-memory=${INIT_MEM_SIZE},--max-memory=${MAX_MEM_SIZE},")
 | |
| 
 | |
| set (CMAKE_EXE_LINKER_FLAGS
 | |
|     "${CMAKE_EXE_LINKER_FLAGS} \
 | |
|      ${EXPORTED_SYMBOLS},")
 | |
| 
 | |
| set (SRC_LIST
 | |
|     ${PROJECT_SRC_LIST})
 | |
| 
 | |
| set (HEADER_LIST
 | |
|     ${CMAKE_CURRENT_SOURCE_DIR}/../include
 | |
|     ${PROJECT_INCLUDES})
 | |
| 
 | |
| include_directories(${HEADER_LIST})
 | |
| 
 | |
| add_executable (${OUTPUT_FILE_NAME} ${SRC_LIST}) |