mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 13:02:45 +00:00 
			
		
		
		
	 733a318709
			
		
	
	
		733a318709
		
	
	
	
	
		
			
			Clean up the Wasm spec tests CMake rules to extract and compile the wat files into wasm files in the LibWasm binary directory instead of its source directory. Also make the rules more robust to missing host tools, and use more CMake install rules for the test files rather than relying on build-root-filesystem.sh. Add some FIXMEs for later, we really shouldn't be doing installation of test files into /home/anon at the build-root-filesystem stage in $CURRENT_YEAR. Tests go in /usr/Tests
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			428 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			428 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(SOURCES
 | |
|     AbstractMachine/AbstractMachine.cpp
 | |
|     AbstractMachine/BytecodeInterpreter.cpp
 | |
|     AbstractMachine/Configuration.cpp
 | |
|     AbstractMachine/Validator.cpp
 | |
|     Parser/Parser.cpp
 | |
|     Printer/Printer.cpp
 | |
| )
 | |
| 
 | |
| serenity_lib(LibWasm wasm)
 | |
| target_link_libraries(LibWasm PRIVATE LibCore)
 | |
| 
 | |
| # FIXME: Install these into usr/Tests/LibWasm
 | |
| include(wasm_spec_tests)
 | |
| install(DIRECTORY Tests/ DESTINATION home/anon/Tests/wasm-tests)
 |