mirror of
				https://github.com/TheLartians/ModernCppStarter.git
				synced 2025-10-31 18:21:35 +01:00 
			
		
		
		
	support dynamic library too
generate export header needed and install it
This commit is contained in:
		
							parent
							
								
									7f36b7cb86
								
							
						
					
					
						commit
						0bad72b51e
					
				
					 4 changed files with 37 additions and 21 deletions
				
			
		|  | @ -16,7 +16,7 @@ TEST_CASE("Greeter") { | |||
| } | ||||
| 
 | ||||
| TEST_CASE("Greeter version") { | ||||
| #if ((__cplusplus >= 201907L) || __cpp_lib_starts_ends_with) | ||||
| #if (__APPLE__ || __cpp_lib_starts_ends_with) | ||||
|   static_assert(std::string_view(GREETER_VERSION).starts_with("1.0"));  // TBD C++20 only
 | ||||
|   CHECK(std::string(GREETER_VERSION).starts_with("1.0"));               // SameMajorVersion
 | ||||
| #else | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue