Cmake message
This commit is contained in:
		
							parent
							
								
									1ac6c9f9c2
								
							
						
					
					
						commit
						c031ae2aab
					
				@ -12,7 +12,7 @@ if(NOT CMAKE_BUILD_TYPE)
 | 
				
			|||||||
    set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose Release or Debug" FORCE)
 | 
					    set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose Release or Debug" FORCE)
 | 
				
			||||||
endif()
 | 
					endif()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
message(STATUS "Build type: " ${CMAKE_BUILD_TYPE})
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#---------------------------------------------------------------------------------------
 | 
					#---------------------------------------------------------------------------------------
 | 
				
			||||||
# compiler config
 | 
					# compiler config
 | 
				
			||||||
@ -54,6 +54,9 @@ option(SPDLOG_INSTALL "Generate the install target." ${SPDLOG_MASTER_PROJECT})
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
set(HEADER_BASE "${CMAKE_CURRENT_SOURCE_DIR}/include/spdlog")
 | 
					set(HEADER_BASE "${CMAKE_CURRENT_SOURCE_DIR}/include/spdlog")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					message(STATUS "Build type: " ${CMAKE_BUILD_TYPE})
 | 
				
			||||||
 | 
					message(STATUS "Static lib: " ${SPDLOG_STATIC_LIB})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if(SPDLOG_STATIC_LIB)
 | 
					if(SPDLOG_STATIC_LIB)
 | 
				
			||||||
    add_definitions(-DSPDLOG_STATIC_LIB)
 | 
					    add_definitions(-DSPDLOG_STATIC_LIB)
 | 
				
			||||||
    file(GLOB SRC_FILES ${HEADER_BASE}/impl/*.cpp)
 | 
					    file(GLOB SRC_FILES ${HEADER_BASE}/impl/*.cpp)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user