mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-05-28 15:14:11 +02: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:
parent
2216fda5ce
commit
ab438ac9b9
@ -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() {}
|
Loading…
x
Reference in New Issue
Block a user