mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-10-31 13:10:19 -04:00 
			
		
		
		
	More complete CMake install target including sample WAV files from
SVN, user manual and, HRD Interface runtime on Windows. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3554 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
		
							parent
							
								
									7018428068
								
							
						
					
					
						commit
						dbd94dae6a
					
				| @ -2,8 +2,8 @@ cmake_minimum_required (VERSION 2.8.9) | |||||||
| 
 | 
 | ||||||
| project (wsjtx C CXX Fortran) | project (wsjtx C CXX Fortran) | ||||||
| 
 | 
 | ||||||
| set (wsjtx_VERSION_MAJOR 1) | set (WSJTX_VERSION_MAJOR 1) | ||||||
| set (wsjtx_VERSION_MINOR 2) | set (WSJTX_VERSION_MINOR 2) | ||||||
| 
 | 
 | ||||||
| if (POLICY CMP0020) | if (POLICY CMP0020) | ||||||
|   cmake_policy (SET CMP0020 NEW) # link to Qt winmain on Windows |   cmake_policy (SET CMP0020 NEW) # link to Qt winmain on Windows | ||||||
| @ -124,7 +124,7 @@ add_subdirectory (lib) | |||||||
| # UI generation | # UI generation | ||||||
| qt5_wrap_ui (GENUISRCS ${UISRCS}) | qt5_wrap_ui (GENUISRCS ${UISRCS}) | ||||||
| 
 | 
 | ||||||
| add_executable (wsjtx ${CXXSRCS} ${GENUISRCS} ${GENQRC}) | add_executable (wsjtx ${CXXSRCS} ${GENUISRCS} wsjtx.rc) | ||||||
| target_link_libraries (wsjtx jt9impl ${hamlib} ${fftw3f}) | target_link_libraries (wsjtx jt9impl ${hamlib} ${fftw3f}) | ||||||
| if (WIN32) | if (WIN32) | ||||||
|   target_link_libraries (wsjtx ${CMAKE_CURRENT_SOURCE_DIR}/libHRDInterface001.a) |   target_link_libraries (wsjtx ${CMAKE_CURRENT_SOURCE_DIR}/libHRDInterface001.a) | ||||||
| @ -143,15 +143,21 @@ install ( | |||||||
|   ) |   ) | ||||||
| 
 | 
 | ||||||
| install (DIRECTORY Palettes DESTINATION bin PATTERN *.pal) | install (DIRECTORY Palettes DESTINATION bin PATTERN *.pal) | ||||||
|  | install (DIRECTORY samples DESTINATION bin/save) | ||||||
| 
 | 
 | ||||||
| install ( | install ( | ||||||
|   PROGRAMS ${CMAKE_BINARY_DIR}/contrib/kvasd${CMAKE_EXECUTABLE_SUFFIX} |   PROGRAMS ${CMAKE_BINARY_DIR}/contrib/kvasd${CMAKE_EXECUTABLE_SUFFIX} | ||||||
|   DESTINATION bin |   DESTINATION bin | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
|  | install ( | ||||||
|  |   FILES WSJT-X_Users_Guide_v${WSJTX_VERSION_MAJOR}.${WSJTX_VERSION_MINOR}.docx | ||||||
|  |   DESTINATION bin | ||||||
|  |   ) | ||||||
|  | 
 | ||||||
| if (WIN32) | if (WIN32) | ||||||
|   install ( |   install ( | ||||||
|     FILES ${hamlib} ${hamlib-backends} ${fftw3f} ${usb} |     FILES ${hamlib} ${hamlib-backends} ${fftw3f} ${usb} contrib/HRDInterface001.dll | ||||||
|     DESTINATION bin COMPONENT Runtime |     DESTINATION bin COMPONENT Runtime | ||||||
|     ) |     ) | ||||||
| endif (WIN32) | endif (WIN32) | ||||||
|  | |||||||
| @ -168,13 +168,13 @@ add_definitions (-DBIGSYM=1) | |||||||
| add_library (jt9impl STATIC ${FSRCS} ${CSRCS} ${CXXSRCS}) | add_library (jt9impl STATIC ${FSRCS} ${CSRCS} ${CXXSRCS}) | ||||||
| qt5_use_modules (jt9impl Core) | qt5_use_modules (jt9impl Core) | ||||||
| 
 | 
 | ||||||
| add_executable (jt9sim jt9sim.f90) | add_executable (jt9sim jt9sim.f90 ../wsjtx.rc) | ||||||
| target_link_libraries (jt9sim jt9impl) | target_link_libraries (jt9sim jt9impl) | ||||||
| 
 | 
 | ||||||
| add_executable (jt9code jt9code.f90) | add_executable (jt9code jt9code.f90 ../wsjtx.rc) | ||||||
| target_link_libraries (jt9code jt9impl) | target_link_libraries (jt9code jt9impl) | ||||||
| 
 | 
 | ||||||
| add_executable (jt9 jt9.f90 jt9a.f90 jt9b.f90 jt9c.f90) | add_executable (jt9 jt9.f90 jt9a.f90 jt9b.f90 jt9c.f90 ../wsjtx.rc) | ||||||
| target_link_libraries (jt9 jt9impl ${fftw3f}) | target_link_libraries (jt9 jt9impl ${fftw3f}) | ||||||
| add_dependencies (jt9 fftw3f) | add_dependencies (jt9 fftw3f) | ||||||
| qt5_use_modules (jt9 Core) | qt5_use_modules (jt9 Core) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user