Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mbedtls
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BC
public
external
mbedtls
Commits
3083053d
Commit
3083053d
authored
Jul 01, 2015
by
Manuel Pégourié-Gonnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More cmake for windows tune-ups
parent
5fe51d75
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
CMakeLists.txt
CMakeLists.txt
+4
-0
CMakeLists.txt
tests/CMakeLists.txt
+4
-0
No files found.
CMakeLists.txt
View file @
3083053d
...
@@ -26,6 +26,10 @@ if(CMAKE_COMPILER_IS_CLANG)
...
@@ -26,6 +26,10 @@ if(CMAKE_COMPILER_IS_CLANG)
set
(
CMAKE_C_FLAGS_CHECK
"-Werror -Os"
)
set
(
CMAKE_C_FLAGS_CHECK
"-Werror -Os"
)
endif
(
CMAKE_COMPILER_IS_CLANG
)
endif
(
CMAKE_COMPILER_IS_CLANG
)
if
(
MSVC
)
set
(
CMAKE_C_FLAGS_CHECK
"/WX"
)
endif
(
MSVC
)
set
(
CMAKE_BUILD_TYPE
${
CMAKE_BUILD_TYPE
}
set
(
CMAKE_BUILD_TYPE
${
CMAKE_BUILD_TYPE
}
CACHE STRING
"Choose the type of build: None Debug Release Coverage ASan ASanDbg MemSan MemSanDbg Check CheckFull"
CACHE STRING
"Choose the type of build: None Debug Release Coverage ASan ASanDbg MemSan MemSanDbg Check CheckFull"
FORCE
)
FORCE
)
...
...
tests/CMakeLists.txt
View file @
3083053d
...
@@ -33,6 +33,10 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_CLANG)
...
@@ -33,6 +33,10 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_CLANG)
set
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
-Wno-unused-function"
)
set
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
-Wno-unused-function"
)
endif
(
CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_CLANG
)
endif
(
CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_CLANG
)
if
(
MSVC
)
set
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
/w"
)
# no warnings here
endif
(
MSVC
)
add_test_suite
(
aes aes.ecb
)
add_test_suite
(
aes aes.ecb
)
add_test_suite
(
aes aes.cbc
)
add_test_suite
(
aes aes.cbc
)
add_test_suite
(
aes aes.cfb
)
add_test_suite
(
aes aes.cfb
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment