Changeset 2298 for trunk


Ignore:
Timestamp:
09/14/11 17:39:07 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: Yes

What Interface Changed: Defined CXX_FLAGS_TAIL_END

Test Programs: build asap

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Defined CXX_FLAGS_TAIL_END option. If it is defined when cmaking,
those options will be put at the end of compile options.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CMakeLists.txt

    r2297 r2298  
    6363set( CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL "-Wl,-s" )
    6464set( CMAKE_EXE_LINKER_FLAGS_MINSIZEREL "-Wl,-s" )
     65
     66if ( DEFINED CXX_FLAGS_TAIL_END )
     67   set( CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} ${CXX_FLAGS_TAIL_END}" )
     68   set( CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} ${CXX_FLAGS_TAIL_END}" )
     69   set( CMAKE_CXX_FLAGS_MINSIZEREL "${CMAKE_CXX_FLAGS_MINSIZEREL} ${CXX_FLAGS_TAIL_END}" )
     70   set( CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} ${CXX_FLAGS_TAIL_END}" )
     71   set( CMAKE_CXX_FLAGS_PROFILE "${CMAKE_CXX_FLAGS_PROFILE} ${CXX_FLAGS_TAIL_END}" )
     72endif()
    6573
    6674# default flags
Note: See TracChangeset for help on using the changeset viewer.