You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Timo Röhling cf677c087a
New upstream version 3.28.0
1 year ago
..
CMakeLists.txt New upstream version 3.16.3 5 years ago
README New upstream version 3.16.3 5 years ago
aix-C-XL-13.1.3.input New upstream version 3.16.3 5 years ago
aix-C-XLClang-16.1.0.1.input New upstream version 3.16.3 5 years ago
aix-CXX-XL-13.1.3.input New upstream version 3.16.3 5 years ago
aix-CXX-XLClang-16.1.0.1.input New upstream version 3.16.3 5 years ago
craype-C-Cray-8.7.input New upstream version 3.16.3 5 years ago
craype-C-Cray-9.0-hlist-ad.input New upstream version 3.16.3 5 years ago
craype-C-GNU-7.3.0.input New upstream version 3.16.3 5 years ago
craype-C-Intel-18.0.2.20180210.input New upstream version 3.16.3 5 years ago
craype-CXX-Cray-8.7.input New upstream version 3.16.3 5 years ago
craype-CXX-Cray-9.0-hlist-ad.input New upstream version 3.16.3 5 years ago
craype-CXX-GNU-7.3.0.input New upstream version 3.16.3 5 years ago
craype-CXX-Intel-18.0.2.20180210.input New upstream version 3.16.3 5 years ago
craype-Fortran-Cray-8.7.input New upstream version 3.16.3 5 years ago
craype-Fortran-Cray-9.0-hlist-ad.input New upstream version 3.16.3 5 years ago
craype-Fortran-GNU-7.3.0.input New upstream version 3.16.3 5 years ago
craype-Fortran-Intel-18.0.2.20180210.input New upstream version 3.16.3 5 years ago
darwin-C-AppleClang-8.0.0.8000042.input New upstream version 3.16.3 5 years ago
darwin-CXX-AppleClang-8.0.0.8000042.input New upstream version 3.16.3 5 years ago
darwin_nostdinc-C-AppleClang-8.0.0.8000042.input New upstream version 3.16.3 5 years ago
darwin_nostdinc-CXX-AppleClang-8.0.0.8000042.input New upstream version 3.16.3 5 years ago
freebsd-C-Clang-3.3.0.input New upstream version 3.16.3 5 years ago
freebsd-CXX-Clang-3.3.0.input New upstream version 3.16.3 5 years ago
freebsd-Fortran-GNU-4.6.4.input New upstream version 3.16.3 5 years ago
hand-C-empty.input New upstream version 3.16.3 5 years ago
hand-C-relative.input New upstream version 3.26.4 2 years ago
hand-CXX-empty.input New upstream version 3.16.3 5 years ago
hand-CXX-relative.input New upstream version 3.26.4 2 years ago
linux-C-GNU-7.3.0.input New upstream version 3.16.3 5 years ago
linux-C-GNU-10.2.1-static-libgcc.input New upstream version 3.21.2 3 years ago
linux-C-Intel-18.0.0.20170811.input New upstream version 3.16.3 5 years ago
linux-C-NVHPC-21.1.0.input New upstream version 3.21.2 3 years ago
linux-C-PGI-18.10.1.input New upstream version 3.16.3 5 years ago
linux-C-XL-12.1.0.input New upstream version 3.16.3 5 years ago
linux-C-XL-16.1.0.0.input New upstream version 3.16.3 5 years ago
linux-CUDA-NVIDIA-9.2.148-GCC.input New upstream version 3.16.3 5 years ago
linux-CUDA-NVIDIA-10.1.168-CLANG.input New upstream version 3.16.3 5 years ago
linux-CUDA-NVIDIA-10.1.168-XLClang-v.input New upstream version 3.16.3 5 years ago
linux-CXX-GNU-7.3.0.input New upstream version 3.16.3 5 years ago
linux-CXX-GNU-10.2.1-static-libstdc++.input New upstream version 3.21.2 3 years ago
linux-CXX-Intel-18.0.0.20170811.input New upstream version 3.16.3 5 years ago
linux-CXX-NVHPC-21.1.0.input New upstream version 3.21.2 3 years ago
linux-CXX-PGI-18.10.1.input New upstream version 3.16.3 5 years ago
linux-CXX-XL-12.1.0.input New upstream version 3.16.3 5 years ago
linux-CXX-XL-16.1.0.0.input New upstream version 3.16.3 5 years ago
linux-Fortran-GNU-7.3.0.input New upstream version 3.16.3 5 years ago
linux-Fortran-GNU-10.2.1-static-libgfortran.input New upstream version 3.21.2 3 years ago
linux-Fortran-LLVMFlang-15.0.0.input New upstream version 3.24.3 2 years ago
linux-Fortran-PGI-18.10.1.input New upstream version 3.16.3 5 years ago
linux-Fortran-XL-14.1.0.input New upstream version 3.16.3 5 years ago
linux-custom_clang-C-Clang-13.0.0.input New upstream version 3.22.1 3 years ago
linux-custom_clang-CXX-Clang-13.0.0.input New upstream version 3.22.1 3 years ago
linux_nostdinc-C-PGI-18.10.1.input New upstream version 3.16.3 5 years ago
linux_nostdinc-C-XL-12.1.0.input New upstream version 3.16.3 5 years ago
linux_nostdinc-CXX-PGI-18.10.1.input New upstream version 3.16.3 5 years ago
linux_nostdinc-CXX-XL-12.1.0.input New upstream version 3.16.3 5 years ago
linux_nostdinc-Fortran-PGI-18.10.1.input New upstream version 3.16.3 5 years ago
linux_nostdinc_i-C-XL-12.1.0.input New upstream version 3.16.3 5 years ago
linux_nostdinc_i-CXX-XL-12.1.0.input New upstream version 3.16.3 5 years ago
linux_pgf77-Fortran-PGI-18.10.1.input New upstream version 3.16.3 5 years ago
mingw.org-C-GNU-4.9.3.input New upstream version 3.18.2 4 years ago
mingw.org-CXX-GNU-4.9.3.input New upstream version 3.18.2 4 years ago
netbsd-C-GNU-4.8.5.input New upstream version 3.16.3 5 years ago
netbsd-CXX-GNU-4.8.5.input New upstream version 3.16.3 5 years ago
netbsd_nostdinc-C-GNU-4.8.5.input New upstream version 3.16.3 5 years ago
netbsd_nostdinc-CXX-GNU-4.8.5.input New upstream version 3.16.3 5 years ago
openbsd-C-Clang-5.0.1.input New upstream version 3.16.3 5 years ago
openbsd-CXX-Clang-5.0.1.input New upstream version 3.16.3 5 years ago
sunos-C-SunPro-5.13.0.input New upstream version 3.16.3 5 years ago
sunos-CXX-SunPro-5.13.0.input New upstream version 3.16.3 5 years ago
sunos-Fortran-SunPro-8.8.0.input New upstream version 3.16.3 5 years ago
windows_arm64-C-Clang-17.0.1-MSVC.input New upstream version 3.28.0 1 year ago
windows_arm64-CXX-Clang-17.0.1-MSVC.input New upstream version 3.28.0 1 year ago
windows_arm64-Fortran-LLVMFlang-17.0.1-MSVC.input New upstream version 3.28.0 1 year ago
windows_x86_64-C-Clang-17.0.1-MSVC.input New upstream version 3.28.0 1 year ago
windows_x86_64-CXX-Clang-17.0.1-MSVC.input New upstream version 3.28.0 1 year ago
windows_x86_64-Fortran-LLVMFlang-17.0.1-MSVC.input New upstream version 3.28.0 1 year ago

README

This directory contains sample input files for the implicit include
directories, and link info parsers for testing. For each configuration
there is one ".input" file and matching ".output" files in
ParseImplicitIncludeInfo/results and ParseImplicitLinkInfo/results.

To generate ".input" files for a system, create a temporary build
directory and chdir to it. Then run cmake pointing to this directory.
The CMakeLists.txt file here will generate ".input" files in your
build directory. The default set of languages is C and CXX. This
can be changed with -DLANGUAGES=language_list. For example:
-DLANGUAGES=Fortran will generate Fortran parser input.

The ".output" files should be generated by hand from the input files.
The test will compare the parser output to the manually generated
".output" file. The two should match.

For compilers that support "-nostdinc"-like flags, you can generate
a test for this with a command like:
cmake -DUNAME=netbsd_nostdinc \
-DCMAKE_C_FLAGS=-nostdinc -DCMAKE_CXX_FLAGS=-nostdinc .

Here is an example for testing the XL compiler with both -I and nostdinc:

env CC=xlc CXX=xlC cmake -DUNAME=linux_nostdinc_i \
-DCMAKE_C_FLAGS='-qnostdinc -I/tmp/ii/test_c' \
-DCMAKE_CXX_FLAGS='-qnostdinc -I/tmp/ii/test_c -I/tmp/ii/test_cxx' .