generate a compilation database when building with make for the default target, so that clang-tidy can be used
This commit is contained in:
		@@ -4,7 +4,7 @@ Notes on how we can update the different packages for ixwebsocket.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
Visit the [releases](https://github.com/machinezone/IXWebSocket/releases) page on Github. A tag must have been made first.
 | 
					Visit the [releases](https://github.com/machinezone/IXWebSocket/releases) page on Github. A tag must have been made first.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Download the latest entry. 
 | 
					Download the latest entry.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
$ cd /tmp
 | 
					$ cd /tmp
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								makefile
									
									
									
									
									
								
							@@ -20,7 +20,7 @@ install: brew
 | 
				
			|||||||
# Release, Debug, MinSizeRel, RelWithDebInfo are the build types
 | 
					# Release, Debug, MinSizeRel, RelWithDebInfo are the build types
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
brew:
 | 
					brew:
 | 
				
			||||||
	mkdir -p build && (cd build ; cmake -DCMAKE_BUILD_TYPE=Debug -DUSE_TLS=1 -DUSE_WS=1 -DUSE_TEST=1 .. ; make -j 4 install)
 | 
						mkdir -p build && (cd build ; cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Debug -DUSE_TLS=1 -DUSE_WS=1 -DUSE_TEST=1 .. ; make -j 4 install)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Docker default target. We've add problem with OpenSSL and TLS 1.3 (on the
 | 
					# Docker default target. We've add problem with OpenSSL and TLS 1.3 (on the
 | 
				
			||||||
# server side ?) and I can't work-around it easily, so we're using mbedtls on
 | 
					# server side ?) and I can't work-around it easily, so we're using mbedtls on
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user