From c8902bbebbc3c71ec1417bf3a92ba41386c704b2 Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Mon, 14 Mar 2011 12:05:01 -0700 Subject: Added cmake files to the solution. This should've been done AGES ago --- linden/indra/cmake/CMakeLists.txt | 119 +++++++++++++++++++++++++++++++++++++ linden/indra/cmake/cmake_dummy.cpp | 30 ++++++++++ 2 files changed, 149 insertions(+) create mode 100644 linden/indra/cmake/cmake_dummy.cpp diff --git a/linden/indra/cmake/CMakeLists.txt b/linden/indra/cmake/CMakeLists.txt index e69de29..4a7d633 100644 --- a/linden/indra/cmake/CMakeLists.txt +++ b/linden/indra/cmake/CMakeLists.txt @@ -0,0 +1,119 @@ +# -*- cmake -*- + +include(00-Common) + +project(cmake) + +set(cmake_SOURCE_FILES + CMakeLists.txt + + 00-Common.cmake + APR.cmake + Audio.cmake + BerkeleyDB.cmake + Boost.cmake + BuildVersion.cmake + CARes.cmake + CMakeCopyIfDifferent.cmake + CopyBackToSource.cmake + CopyWinLibs.cmake + CSharpMacros.cmake + CURL.cmake + DBusGlib.cmake + DirectX.cmake + ELFIO.cmake + ExamplePlugin.cmake + EXPAT.cmake + FindAPR.cmake + FindBerkeleyDB.cmake + FindCARes.cmake + FindELFIO.cmake + FindGooglePerfTools.cmake + FindHunSpell.cmake + FindJsonCpp.cmake + FindLLQtWebkit.cmake + FindMono.cmake + FindMT.cmake + FindMySQL.cmake + FindNDOF.cmake + FindOpenJPEG.cmake + FindSCP.cmake + FindTut.cmake + FindXmlRpcEpi.cmake + FindZLIB.cmake + FMOD.cmake + FreeType.cmake + Glui.cmake + Glut.cmake + GooglePerfTools.cmake + GStreamer010Plugin.cmake + HUNSPELL.cmake + JPEG.cmake + JsonCpp.cmake + Linking.cmake + LLAddBuildTest.cmake + LLAudio.cmake + LLCharacter.cmake + LLCommon.cmake + LLCrashLogger.cmake + LLDatabase.cmake + LLImage.cmake + LLImageJ2COJ.cmake + LLInventory.cmake + LLMath.cmake + LLMessage.cmake + LLPlugin.cmake + LLPrimitive.cmake + LLRender.cmake + LLScene.cmake + LLUI.cmake + LLVFS.cmake + LLWindow.cmake + LLXML.cmake + LScript.cmake + MediaPluginBase.cmake + MonoDeps.cmake + MonoEmbed.cmake + Mozlib.cmake + MySQL.cmake + NDOF.cmake + OPENAL.cmake + OpenGL.cmake + OpenJPEG.cmake + OpenSSL.cmake + PluginAPI.cmake + PNG.cmake + Prebuilt.cmake + PulseAudio.cmake + Python.cmake + QuickTimePlugin.cmake + RunBuildTest.cmake + TemplateCheck.cmake + Tut.cmake + UI.cmake + UnixInstall.cmake + Variables.cmake + ViewerArtwork.cmake + ViewerMiscLibs.cmake + WebKitLibPlugin.cmake + XmlRpcEpi.cmake + ZLIB.cmake + ) + +source_group("Shared Rules" FILES ${cmake_SOURCE_FILES}) + +set(master_SOURCE_FILES + ../CMakeLists.txt + ../develop.py + ) + +source_group("Master Rules" FILES ${master_SOURCE_FILES}) + +set_source_files_properties(${cmake_SOURCE_FILES} ${master_SOURCE_FILES} + PROPERTIES HEADER_FILE_ONLY TRUE) + +add_library(cmake + cmake_dummy.cpp + ${cmake_SOURCE_FILES} + ${master_SOURCE_FILES} + ) diff --git a/linden/indra/cmake/cmake_dummy.cpp b/linden/indra/cmake/cmake_dummy.cpp new file mode 100644 index 0000000..25191e2 --- /dev/null +++ b/linden/indra/cmake/cmake_dummy.cpp @@ -0,0 +1,30 @@ +/** + * @file cmake_dummy.cpp + * + * $LicenseInfo:firstyear=2008&license=viewergpl$ + * + * Copyright (c) 2008-2009, Linden Research, Inc. + * + * Second Life Viewer Source Code + * The source code in this file ("Source Code") is provided by Linden Lab + * to you under the terms of the GNU General Public License, version 2.0 + * ("GPL"), unless you have obtained a separate licensing agreement + * ("Other License"), formally executed by you and Linden Lab. Terms of + * the GPL can be found in doc/GPL-license.txt in this distribution, or + * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 + * + * There are special exceptions to the terms and conditions of the GPL as + * it is applied to this Source Code. View the full text of the exception + * in the file doc/FLOSS-exception.txt in this software distribution, or + * online at + * http://secondlifegrid.net/programs/open_source/licensing/flossexception + * + * By copying, modifying or distributing this software, you acknowledge + * that you have read and understood your obligations described above, + * and agree to abide by those obligations. + * + * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO + * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, + * COMPLETENESS OR PERFORMANCE. + * $/LicenseInfo$ + */ -- cgit v1.1