2013-06-11 01:46:48 +08:00
|
|
|
########################################################
|
|
|
|
# Include file for user options
|
|
|
|
########################################################
|
|
|
|
|
2013-09-20 00:38:08 +08:00
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
#------------------- E X A M P L E B E G I N--------------------------------
|
2013-06-11 01:46:48 +08:00
|
|
|
#-----------------------------------------------------------------------------
|
2013-06-18 00:43:33 +08:00
|
|
|
# Option to Build with User Defined Values
|
2013-06-11 04:39:00 +08:00
|
|
|
#-----------------------------------------------------------------------------
|
2013-06-18 00:43:33 +08:00
|
|
|
MACRO (MACRO_USER_DEFINED_LIBS)
|
2014-03-12 05:14:57 +08:00
|
|
|
set (USER_DEFINED_VALUE "FALSE")
|
2013-06-18 00:43:33 +08:00
|
|
|
ENDMACRO (MACRO_USER_DEFINED_LIBS)
|
|
|
|
|
|
|
|
#-------------------------------------------------------------------------------
|
2014-03-12 05:14:57 +08:00
|
|
|
option (BUILD_USER_DEFINED_LIBS "Build With User Defined Values" OFF)
|
|
|
|
if (BUILD_USER_DEFINED_LIBS)
|
2013-06-18 00:43:33 +08:00
|
|
|
MACRO_USER_DEFINED_LIBS ()
|
2014-03-12 05:14:57 +08:00
|
|
|
endif (BUILD_USER_DEFINED_LIBS)
|
2013-09-20 00:38:08 +08:00
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
#------------------- E X A M P L E E N D -----------------------------------
|
|
|
|
#-----------------------------------------------------------------------------
|
2013-06-11 01:46:48 +08:00
|
|
|
|