CheckTypeSize: Add unit test to cover the no-C case
This commit is contained in:
parent
7d6d45f23c
commit
7f857775e2
|
@ -0,0 +1,4 @@
|
||||||
|
enable_language(CXX)
|
||||||
|
include(CheckTypeSize)
|
||||||
|
check_type_size(int SIZEOF_INT LANGUAGE CXX)
|
||||||
|
check_type_size(int SIZEOF_INT BUILTIN_TYPES_ONLY LANGUAGE CXX)
|
|
@ -12,3 +12,5 @@ run_cmake(CheckTypeSizeUnknownLanguage)
|
||||||
run_cmake(CheckTypeSizeMissingLanguage)
|
run_cmake(CheckTypeSizeMissingLanguage)
|
||||||
run_cmake(CheckTypeSizeUnknownArgument)
|
run_cmake(CheckTypeSizeUnknownArgument)
|
||||||
run_cmake(CheckTypeSizeMixedArgs)
|
run_cmake(CheckTypeSizeMixedArgs)
|
||||||
|
|
||||||
|
run_cmake(CheckTypeSizeOkNoC)
|
||||||
|
|
Loading…
Reference in New Issue