mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:22:45 +00:00 
			
		
		
		
	 ce2f1b845f
			
		
	
	
		ce2f1b845f
		
	
	
	
	
		
			
			Otherwise, we end up propagating those dependencies into targets that link against that library, which creates unnecessary link-time dependencies. Also included are changes to readd now missing dependencies to tools that actually need them.
		
			
				
	
	
		
			36 lines
		
	
	
	
		
			920 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
	
		
			920 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| add_compile_options(-Wvla)
 | |
| 
 | |
| set(SOURCES
 | |
|     ASN1/ASN1.cpp
 | |
|     ASN1/DER.cpp
 | |
|     ASN1/PEM.cpp
 | |
|     Authentication/GHash.cpp
 | |
|     Authentication/Poly1305.cpp
 | |
|     BigFraction/BigFraction.cpp
 | |
|     BigInt/Algorithms/BitwiseOperations.cpp
 | |
|     BigInt/Algorithms/Division.cpp
 | |
|     BigInt/Algorithms/GCD.cpp
 | |
|     BigInt/Algorithms/ModularInverse.cpp
 | |
|     BigInt/Algorithms/ModularPower.cpp
 | |
|     BigInt/Algorithms/Multiplication.cpp
 | |
|     BigInt/Algorithms/SimpleOperations.cpp
 | |
|     BigInt/SignedBigInteger.cpp
 | |
|     BigInt/UnsignedBigInteger.cpp
 | |
|     Checksum/Adler32.cpp
 | |
|     Checksum/CRC32.cpp
 | |
|     Cipher/AES.cpp
 | |
|     Cipher/ChaCha20.cpp
 | |
|     Curves/Curve25519.cpp
 | |
|     Curves/Ed25519.cpp
 | |
|     Curves/SECP256r1.cpp
 | |
|     Curves/X25519.cpp
 | |
|     Curves/X448.cpp
 | |
|     Hash/MD5.cpp
 | |
|     Hash/SHA1.cpp
 | |
|     Hash/SHA2.cpp
 | |
|     NumberTheory/ModularFunctions.cpp
 | |
|     PK/RSA.cpp
 | |
| )
 | |
| 
 | |
| serenity_lib(LibCrypto crypto)
 | |
| target_link_libraries(LibCrypto PRIVATE LibCore)
 |