File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ ecosystem.
99* [ 2. General guidelines] ( #2-general-guidelines )
1010 * [ 2.1. End commands] ( #21-end-commands )
1111 * [ 2.2. Source and binary directories] ( #22-source-and-binary-directories )
12- * [ 2.3. Check modules] ( #23-check-modules )
1312* [ 3. Variables] ( #3-variables )
1413 * [ 3.1. Variable scope] ( #31-variable-scope )
1514 * [ 3.1.1. Local variables] ( #311-local-variables )
@@ -193,21 +192,6 @@ these variables become distinct.
193192 project source and build directories from the most recent
194193 ` project(ProjectName ...) ` call.
195194
196- ### 2.3. Check modules
197-
198- * Use ` check_compiler_flag() ` , ` check_source_compiles() ` , ` check_source_runs() `
199- instead of language-specific ` check_<LANG>_...() ` .
200-
201- * For checking header files, use ` CheckIncludeFiles ` module instead of
202- ` CheckIncludeFile ` or ` CheckIncludeFileCXX ` . It simplifies and unifies
203- checking single or multiple headers into a common usage across the code.
204-
205- ``` cmake
206- include(CheckIncludeFiles)
207- check_include_files(sys/types.h HAVE_SYS_TYPES_H)
208- check_include_files("sys/socket.h;net/if.h" HAVE_NET_IF_H)
209- ```
210-
211195## 3. Variables
212196
213197### 3.1. Variable scope
You can’t perform that action at this time.
0 commit comments