Vala*CommonRules: *ValaOpts variable added for conditional compilation.

This commit is contained in:
Kolan Sh 2015-12-15 13:35:40 +03:00
parent d54f2ba119
commit 126f4cc3fe
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ SET (CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/run") # Avoid of "dll n
VALA_PRECOMPILE (VALA_C ${BinSources} VALA_PRECOMPILE (VALA_C ${BinSources}
PACKAGES ${BinPackages} PACKAGES ${BinPackages}
OPTIONS --thread ${VALA_DEBUG} OPTIONS ${BinValaOpts} --thread ${VALA_DEBUG}
CUSTOM_VAPIS ${BinCustomVapis} CUSTOM_VAPIS ${BinCustomVapis}
GENERATE_VAPI GENERATE_VAPI
GENERATE_HEADER GENERATE_HEADER

View File

@ -9,7 +9,7 @@ ENDIF (WIN32)
VALA_PRECOMPILE (VALA_C ${LibSources} VALA_PRECOMPILE (VALA_C ${LibSources}
PACKAGES ${LibPackages} PACKAGES ${LibPackages}
OPTIONS --thread ${VALA_DEBUG} --vapi=${LibName}-${MAJOR}.vapi OPTIONS --thread ${LibValaOpts} ${VALA_DEBUG} --vapi=${LibName}-${MAJOR}.vapi
CUSTOM_VAPIS ${LibCustomVapis} CUSTOM_VAPIS ${LibCustomVapis}
GENERATE_VAPI GENERATE_VAPI
GENERATE_HEADER ${LibName}-${MAJOR} GENERATE_HEADER ${LibName}-${MAJOR}

View File

@ -5,7 +5,7 @@ FIND_PACKAGE (PkgConfig REQUIRED)
VALA_PRECOMPILE (VALA_C ${PluginSources} VALA_PRECOMPILE (VALA_C ${PluginSources}
PACKAGES ${PluginPackages} PACKAGES ${PluginPackages}
OPTIONS --thread ${VALA_DEBUG} OPTIONS --thread ${PluginValaOpts} ${VALA_DEBUG}
CUSTOM_VAPIS ${PluginCustomVapis} CUSTOM_VAPIS ${PluginCustomVapis}
GENERATE_VAPI GENERATE_VAPI
GENERATE_HEADER GENERATE_HEADER