Skip to content

Commit

Permalink
Merge pull request #14 from loki04/csibe-flags
Browse files Browse the repository at this point in the history
Add CSiBE_C{*}FLAGS to the corresponding CMAKE variables
  • Loading branch information
bgabor666 committed Mar 13, 2016
2 parents 9e12962 + c98dbe3 commit b11a654
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions gen/CMakeLists.inc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ file(GLOB SRC ${PROJECT_SOURCE_DIR}/*.c)

add_library(${PROJECT_NAME} OBJECT ${SRC})

include(${CSiBE_GEN_DIR}/CSiBE_flags.inc)
include(${CSiBE_GEN_DIR}/GCC.inc)
include(${CSiBE_GEN_DIR}/Clang.inc)

Expand Down
2 changes: 2 additions & 0 deletions gen/CSiBE_flags.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} $ENV{CSiBE_CFLAGS}")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} $ENV{CSiBE_CXXFLAGS}")

0 comments on commit b11a654

Please sign in to comment.