mirror of
				https://github.com/msgpack/msgpack-c.git
				synced 2025-11-03 19:40:38 +01:00 
			
		
		
		
	Added multi files that includes msgpack.hpp linking test.
It detects a lack of inline keyword in a function definition.
This commit is contained in:
		@@ -73,3 +73,9 @@ FOREACH (source_file ${check_PROGRAMS})
 | 
			
		||||
        ENDIF ()
 | 
			
		||||
    ENDIF ()
 | 
			
		||||
ENDFOREACH ()
 | 
			
		||||
 | 
			
		||||
ADD_EXECUTABLE (
 | 
			
		||||
    multi_file
 | 
			
		||||
    multi_file1.cpp multi_file2.cpp
 | 
			
		||||
)
 | 
			
		||||
ADD_TEST (multi_file multi_file)
 | 
			
		||||
 
 | 
			
		||||
@@ -23,6 +23,7 @@ check_PROGRAMS = \
 | 
			
		||||
		msgpack_stream \
 | 
			
		||||
		msgpack_vref \
 | 
			
		||||
		msgpack_cpp11 \
 | 
			
		||||
		multi_file \
 | 
			
		||||
		reference_cpp11 \
 | 
			
		||||
		reference \
 | 
			
		||||
		limit \
 | 
			
		||||
@@ -88,6 +89,8 @@ raw_SOURCES = raw.cpp
 | 
			
		||||
 | 
			
		||||
iterator_cpp11_SOURCES = iterator_cpp11.cpp
 | 
			
		||||
 | 
			
		||||
multi_file_SOURCES = multi_file1.cpp multi_file2.cpp
 | 
			
		||||
 | 
			
		||||
boost_fusion_SOURCES = boost_fusion.cpp
 | 
			
		||||
 | 
			
		||||
boost_optional_SOURCES = boost_optional.cpp
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1
									
								
								test/multi_file1.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								test/multi_file1.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
#include <msgpack.hpp>
 | 
			
		||||
							
								
								
									
										3
									
								
								test/multi_file2.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								test/multi_file2.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
#include <msgpack.hpp>
 | 
			
		||||
 | 
			
		||||
int main() {}
 | 
			
		||||
		Reference in New Issue
	
	Block a user