Skip to content

Commit

Permalink
Added strip option to cmake release build and W64 release build
Browse files Browse the repository at this point in the history
  • Loading branch information
baskghs committed Dec 28, 2018
1 parent a9e82a6 commit 4a3f9f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ script:
- ./coverage.sh
- cd ..
- cd build/
- i686-w64-mingw32-gcc -D__USE_MINGW_ANSI_STDIO -Wall -O3 -o numconvert.exe ../src/main.c
- i686-w64-mingw32-gcc -s -D__USE_MINGW_ANSI_STDIO -Wall -O3 -o numconvert.exe ../src/main.c

deploy:
provider: releases
Expand Down
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
cmake_minimum_required(VERSION 3.2.3)
project(numconvert C)

set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -s")

set(SRC_DIR src)
include_directories(${SRC_DIR})

Expand Down

0 comments on commit 4a3f9f0

Please sign in to comment.