├── LICENSE ├── README.md ├── cmake ├── LLVMIRUtil.cmake └── LLVMIRUtilInternal.cmake ├── example01 ├── CMakeLists.txt ├── include │ ├── bar.hpp │ ├── detail │ │ └── bar_impl.hpp │ └── general │ │ └── general.h └── src │ ├── CMakeLists.txt │ ├── bar.cpp │ └── foo.cpp ├── example02 ├── CMakeLists.txt ├── include │ └── bar.hpp └── src │ ├── CMakeLists.txt │ └── bar.cpp └── example03 ├── CMakeLists.txt ├── include └── bar.hpp └── src ├── CMakeLists.txt └── bar.cpp /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compor/llvm-ir-cmake-utils/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compor/llvm-ir-cmake-utils/HEAD/README.md -------------------------------------------------------------------------------- /cmake/LLVMIRUtil.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compor/llvm-ir-cmake-utils/HEAD/cmake/LLVMIRUtil.cmake -------------------------------------------------------------------------------- /cmake/LLVMIRUtilInternal.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compor/llvm-ir-cmake-utils/HEAD/cmake/LLVMIRUtilInternal.cmake -------------------------------------------------------------------------------- /example01/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compor/llvm-ir-cmake-utils/HEAD/example01/CMakeLists.txt -------------------------------------------------------------------------------- /example01/include/bar.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compor/llvm-ir-cmake-utils/HEAD/example01/include/bar.hpp -------------------------------------------------------------------------------- /example01/include/detail/bar_impl.hpp: -------------------------------------------------------------------------------- 1 | 2 | 3 | namespace detail { 4 | const int g_bar_count = 0; 5 | } 6 | 7 | -------------------------------------------------------------------------------- /example01/include/general/general.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compor/llvm-ir-cmake-utils/HEAD/example01/include/general/general.h -------------------------------------------------------------------------------- /example01/src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compor/llvm-ir-cmake-utils/HEAD/example01/src/CMakeLists.txt -------------------------------------------------------------------------------- /example01/src/bar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compor/llvm-ir-cmake-utils/HEAD/example01/src/bar.cpp -------------------------------------------------------------------------------- /example01/src/foo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compor/llvm-ir-cmake-utils/HEAD/example01/src/foo.cpp -------------------------------------------------------------------------------- /example02/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compor/llvm-ir-cmake-utils/HEAD/example02/CMakeLists.txt -------------------------------------------------------------------------------- /example02/include/bar.hpp: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | void foo(); 4 | 5 | -------------------------------------------------------------------------------- /example02/src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compor/llvm-ir-cmake-utils/HEAD/example02/src/CMakeLists.txt -------------------------------------------------------------------------------- /example02/src/bar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compor/llvm-ir-cmake-utils/HEAD/example02/src/bar.cpp -------------------------------------------------------------------------------- /example03/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compor/llvm-ir-cmake-utils/HEAD/example03/CMakeLists.txt -------------------------------------------------------------------------------- /example03/include/bar.hpp: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | void foo(); 4 | 5 | -------------------------------------------------------------------------------- /example03/src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compor/llvm-ir-cmake-utils/HEAD/example03/src/CMakeLists.txt -------------------------------------------------------------------------------- /example03/src/bar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/compor/llvm-ir-cmake-utils/HEAD/example03/src/bar.cpp --------------------------------------------------------------------------------