patch: for irix, don't build test code and ignore a few warnings (thanks to Jim Hague)

This commit is contained in:
Nick Bolton 2012-07-20 15:11:37 +00:00
parent 82a439f893
commit fb377bbc78
2 changed files with 19 additions and 10 deletions

View File

@ -382,6 +382,13 @@ if (CONF_DOXYGEN)
set(VERSION, "${VERSION}") set(VERSION, "${VERSION}")
# For doxygen.cfg, save the results based on a template (doxygen.cfg.in). # For doxygen.cfg, save the results based on a template (doxygen.cfg.in).
configure_file(${cmake_dir}/doxygen.cfg.in ${doc_dir}/doxygen.cfg) configure_file(${cmake_dir}/doxygen.cfg.in ${doc_dir}/doxygen.cfg)
endif() endif()
if (${CMAKE_SYSTEM_NAME} MATCHES "IRIX")
set_target_properties(synergys PROPERTIES LINK_FLAGS "-all -woff 33 -woff 84 -woff 15")
set_target_properties(synergyc PROPERTIES LINK_FLAGS "-all -woff 33 -woff 84 -woff 15")
set_target_properties(synergyd PROPERTIES LINK_FLAGS "-all -woff 33 -woff 84 -woff 15")
endif()

View File

@ -12,13 +12,15 @@
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
add_subdirectory(lib) add_subdirectory(lib)
add_subdirectory(cmd) add_subdirectory(cmd)
add_subdirectory(test) if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "IRIX")
add_subdirectory(plugin) add_subdirectory(test)
add_subdirectory(micro) endif()
add_subdirectory(plugin)
add_subdirectory(micro)
if (VNC_SUPPORT) if (VNC_SUPPORT)
add_subdirectory(vnc) add_subdirectory(vnc)
endif() endif()