Hello SDL folks,
Are there any plans to create CMakeLists.txt files for the SDL2 extensions
like SDL2_image and SDL2_mixer?
Since the core SDL library comes with a CMakeLists.txt, having one for all
the extensions would make the setup much easier.
Cheers,
Nicolas
It?s on my TODO list. As I want to clean up the current SDL2 CMake and add it to the other sub projects.On Mar 4, 2014, at 3:50 AM, Nicolas Guillemot wrote:
Hello SDL folks,
Are there any plans to create CMakeLists.txt files for the SDL2 extensions like SDL2_image and SDL2_mixer?
Since the core SDL library comes with a CMakeLists.txt, having one for all the extensions would make the setup much easier.
Cheers,
Nicolas
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Doug1
March 5, 2014, 1:10am
3
You can use ExternalProject to get support for them for the time being,
like this:
# Copyright 2013 Douglas Linder
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# We have configure style deps, sadly.
include(ExternalProject)
# Archive names
set(SDL "SDL-2.0.3-8615")
set(SDL_IMG "SDL2_image-2.0.0")
This file has been truncated. show original
Of course that relies on you having a sane build environment, which VS is
not. It works reasonably well on other target though.
Actually ‘CMakizing’ all of the components is a titanic amount of work when
you look at all the dependencies.~
Doug.
On Tue, Mar 4, 2014 at 4:50 PM, Nicolas Guillemot wrote:
Hello SDL folks,
Are there any plans to create CMakeLists.txt files for the SDL2 extensions
like SDL2_image and SDL2_mixer?
Since the core SDL library comes with a CMakeLists.txt, having one for all
the extensions would make the setup much easier.
Cheers,
Nicolas
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org