Skip to content
Snippets Groups Projects
Commit da3f6ffd authored by Andy Green's avatar Andy Green
Browse files

cmake add gcc compile options

parent ca0a1290
Branches
Tags
No related merge requests found
...@@ -301,6 +301,11 @@ if (UNIX) ...@@ -301,6 +301,11 @@ if (UNIX)
endif() endif()
endif(UNIX) endif(UNIX)
if (UNIX)
set( CMAKE_C_FLAGS "-Wall -Werror -O4 " )
endif (UNIX)
source_group("Headers Private" FILES ${HDR_PRIVATE}) source_group("Headers Private" FILES ${HDR_PRIVATE})
source_group("Headers Public" FILES ${HDR_PUBLIC}) source_group("Headers Public" FILES ${HDR_PUBLIC})
source_group("Sources" FILES ${SOURCES}) source_group("Sources" FILES ${SOURCES})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment