Merge pull request #225 from k0ekk0ek/documentation
Generate documentation using the FindSphinx.cmake module
This commit is contained in:
		
						commit
						15e68152c9
					
				
					 23 changed files with 154 additions and 3506 deletions
				
			
		| 
						 | 
				
			
			@ -83,3 +83,18 @@ install(
 | 
			
		|||
if(BUILD_IDLC)
 | 
			
		||||
  add_subdirectory(xtests)
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
if(BUILD_DOCS)
 | 
			
		||||
  set(DOXYGEN_GENERATE_HTML NO)
 | 
			
		||||
  set(DOXYGEN_GENERATE_XML YES)
 | 
			
		||||
  set(DOXYGEN_EXCLUDE_PATTERNS "*/tests/*")
 | 
			
		||||
  set(DOXYGEN_MACRO_EXPANSION YES)
 | 
			
		||||
  set(DOXYGEN_PREDEFINED
 | 
			
		||||
    "__restrict="
 | 
			
		||||
    "__attribute__="
 | 
			
		||||
    "__declspec(x)="
 | 
			
		||||
    "DDS_EXPORT="
 | 
			
		||||
    "DDS_DEPRECATED_EXPORT=")
 | 
			
		||||
  find_package(Doxygen REQUIRED)
 | 
			
		||||
  doxygen_add_docs(ddsc_api_docs "ddsc/include")
 | 
			
		||||
endif()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue