Skip to content

Commit

Permalink
Merge pull request #48 from baskapteijn/staging/baskapteijn/strip-rel…
Browse files Browse the repository at this point in the history
…ease

Added strip option to cmake release build and W64 release build
  • Loading branch information
baskapteijn committed Dec 28, 2018
2 parents a9e82a6 + 4a3f9f0 commit d8fd9e8
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 d8fd9e8

Please sign in to comment.