Linux build with CMake
This commit is contained in:
parent
d3b33e5512
commit
4d599e2f9f
3 changed files with 60 additions and 14 deletions
|
@ -7,4 +7,15 @@ endif(WIN32)
|
|||
|
||||
file(GLOB core_headers *.hpp)
|
||||
file(GLOB core_src *.cpp)
|
||||
add_library(${PROJECT_NAME} STATIC ${core_src} ${core_headers})
|
||||
add_library(${PROJECT_NAME} STATIC ${core_src} ${core_headers})
|
||||
|
||||
if(UNIX)
|
||||
set_source_files_properties(
|
||||
Salsa20.cpp
|
||||
SHA512.cpp
|
||||
C25519.cpp
|
||||
Poly1305.cpp
|
||||
PROPERTIES
|
||||
COMPILE_FLAGS "-Wall -O3"
|
||||
)
|
||||
endif(UNIX)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue