Commit 0ffe9895 authored by Jan Möbius's avatar Jan Möbius

Extension for extra compiler flags in PluginLib

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7419 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 9beac898
......@@ -3,6 +3,7 @@ include (ACGCommon)
set ( ADDITIONAL_PLUGINLIB_LIBS "")
set ( ADDITIONAL_PLUGINLIB_INCS "")
set ( ADDITIONAL_PLUGINLIB_COMPILER_FLAGS "")
# search all ObjectTypes in the ObjectType directory for additional build information
file (
......@@ -72,6 +73,10 @@ acg_qt4_autouic (uic_targets ${ui})
acg_qt4_automoc (moc_targets ${headers})
acg_add_library (PluginLib SHARED ${uic_targets} ${sources} ${headers} ${moc_targets})
set_target_properties (
PluginLib PROPERTIES
COMPILE_FLAGS ${ADDITIONAL_PLUGINLIB_COMPILER_FLAGS}
)
set (trans_files ${sources})
list (APPEND trans_files ${ui})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment