mirror of
				https://github.com/ton-blockchain/ton
				synced 2025-03-09 15:40:10 +00:00 
			
		
		
		
	* Bugfixes in TVM and node * Upgrade to C++17 * Improve GitHub builds * Fix existing tests and partially integrate them into builds --------- Co-authored-by: neodiX42 <namlem@gmail.com> Co-authored-by: EmelyanenkoK <emelyanenko.kirill@gmail.com>
		
			
				
	
	
		
			32 lines
		
	
	
		
			No EOL
		
	
	
		
			1 KiB
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			No EOL
		
	
	
		
			1 KiB
		
	
	
	
		
			CMake
		
	
	
	
	
	
| cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
 | |
| 
 | |
| add_executable(embed-provider-code smartcont/embed-provider-code.cpp)
 | |
| 
 | |
| add_custom_command(
 | |
|   WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
 | |
|   COMMAND embed-provider-code smartcont/storage-provider-code.boc smartcont/provider-code.h
 | |
|   COMMENT "Generate provider-code.h"
 | |
|   DEPENDS embed-provider-code smartcont/storage-provider-code.boc
 | |
|   OUTPUT smartcont/provider-code.h
 | |
| )
 | |
| 
 | |
| set(STORAGE_DAEMON_SOURCE
 | |
|   storage-daemon.cpp
 | |
|   StorageManager.h
 | |
|   StorageManager.cpp
 | |
|   StorageProvider.h
 | |
|   StorageProvider.cpp
 | |
|   smc-util.h
 | |
|   smc-util.cpp
 | |
|   smartcont/provider-code.h)
 | |
| 
 | |
| set(STORAGE_DAEMON_CLI_SOURCE
 | |
|   storage-daemon-cli.cpp
 | |
|   )
 | |
| 
 | |
| add_executable(storage-daemon ${STORAGE_DAEMON_SOURCE})
 | |
| target_link_libraries(storage-daemon storage overlay tdutils tdactor adnl tl_api dht
 | |
|   rldp rldp2 fift-lib memprof git tonlib)
 | |
| 
 | |
| add_executable(storage-daemon-cli ${STORAGE_DAEMON_CLI_SOURCE})
 | |
| target_link_libraries(storage-daemon-cli tdutils tdactor adnllite tl_api tl_lite_api tl-lite-utils ton_block terminal git) |