CMake Option Names

Hey guys,
I am including the SDL CMake as a subproject of another CMake
project. There are a ton of options that don’t play well with the
CMake grouping option. When mixed with other projects this way it is
not always clear which options are part of SDL. Additionally, names
like ‘LIBC’ and “SSE” seem likely to conflict with other projects… I
am updating my copy to have prefixes that provide more clarification,
thinks like ‘SDLOPTION_LIBC’, ‘SDLOPTION_SSE’ and ‘SDLVIDEO_’ instead
of ‘VIDEO’.
Who else who like something like this? Once I am done, I can create
a patch easily enough.–

  • Joe Toppi
    (402) 714-7539
    BlackTopp Studios Inc.
    Lead Software Developer
    Toppij at BlackToppStudios.com

Oh, thanks. I will be very glad if you will publish this patchOn Tue, Jan 1, 2013 at 5:59 AM, Joseph Toppi wrote:

Hey guys,
I am including the SDL CMake as a subproject of another CMake
project. There are a ton of options that don’t play well with the
CMake grouping option. When mixed with other projects this way it is
not always clear which options are part of SDL. Additionally, names
like ‘LIBC’ and “SSE” seem likely to conflict with other projects… I
am updating my copy to have prefixes that provide more clarification,
thinks like ‘SDLOPTION_LIBC’, ‘SDLOPTION_SSE’ and ‘SDLVIDEO_’ instead
of ‘VIDEO’.
Who else who like something like this? Once I am done, I can create
a patch easily enough.

  • Joe Toppi
    (402) 714-7539
    BlackTopp Studios Inc.
    Lead Software Developer
    Toppij at BlackToppStudios.com

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

It is half done now. The X 11 video component threw me off for a bit I will
probably finish it in the next 48 hours.On Jan 1, 2013 2:40 AM, “Igor Gutnik” <igor.gutnik at gmail.com> wrote:

Oh, thanks. I will be very glad if you will publish this patch

On Tue, Jan 1, 2013 at 5:59 AM, Joseph Toppi <@Joseph_Toppi> wrote:

Hey guys,
I am including the SDL CMake as a subproject of another CMake
project. There are a ton of options that don’t play well with the
CMake grouping option. When mixed with other projects this way it is
not always clear which options are part of SDL. Additionally, names
like ‘LIBC’ and “SSE” seem likely to conflict with other projects… I
am updating my copy to have prefixes that provide more clarification,
thinks like ‘SDLOPTION_LIBC’, ‘SDLOPTION_SSE’ and ‘SDLVIDEO_’ instead
of ‘VIDEO’.
Who else who like something like this? Once I am done, I can create
a patch easily enough.

  • Joe Toppi
    (402) 714-7539
    BlackTopp Studios Inc.
    Lead Software Developer
    Toppij at BlackToppStudios.com

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Can we use SDL_XXX as the option name, not SDLOPTION? Or SDL_OPTION_XXX?
The cmake gui will automatically group the options under the parent key if
you do that.~
Doug,

On Tue, Jan 1, 2013 at 5:53 PM, Joseph Toppi wrote:

It is half done now. The X 11 video component threw me off for a bit I
will probably finish it in the next 48 hours.

On Jan 1, 2013 2:40 AM, “Igor Gutnik” <igor.gutnik at gmail.com> wrote:

Oh, thanks. I will be very glad if you will publish this patch

On Tue, Jan 1, 2013 at 5:59 AM, Joseph Toppi < toppij at blacktoppstudios.com> wrote:

Hey guys,
I am including the SDL CMake as a subproject of another CMake
project. There are a ton of options that don’t play well with the
CMake grouping option. When mixed with other projects this way it is
not always clear which options are part of SDL. Additionally, names
like ‘LIBC’ and “SSE” seem likely to conflict with other projects… I
am updating my copy to have prefixes that provide more clarification,
thinks like ‘SDLOPTION_LIBC’, ‘SDLOPTION_SSE’ and ‘SDLVIDEO_’ instead
of ‘VIDEO’.
Who else who like something like this? Once I am done, I can create
a patch easily enough.

  • Joe Toppi
    (402) 714-7539
    BlackTopp Studios Inc.
    Lead Software Developer
    Toppij at BlackToppStudios.com

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

We could, but it might confuse some things. All of the SDL subsystems use
the SDL prefix, and all other options have none. Adding the word 'option’
to the prefix creates 2 separate groups , as opposed to the 1 group and
muddled separate options. In some projects I have even seen more groups
make sense. Of course I will defer to the wisdom of senior team members.On Jan 1, 2013 4:29 AM, “Doug” <douglas.linder at gmail.com> wrote:

Can we use SDL_XXX as the option name, not SDLOPTION? Or SDL_OPTION_XXX?
The cmake gui will automatically group the options under the parent key if
you do that.

~
Doug,

On Tue, Jan 1, 2013 at 5:53 PM, Joseph Toppi <@Joseph_Toppi>wrote:

It is half done now. The X 11 video component threw me off for a bit I
will probably finish it in the next 48 hours.

On Jan 1, 2013 2:40 AM, “Igor Gutnik” <igor.gutnik at gmail.com> wrote:

Oh, thanks. I will be very glad if you will publish this patch

On Tue, Jan 1, 2013 at 5:59 AM, Joseph Toppi < @Joseph_Toppi> wrote:

Hey guys,
I am including the SDL CMake as a subproject of another CMake
project. There are a ton of options that don’t play well with the
CMake grouping option. When mixed with other projects this way it is
not always clear which options are part of SDL. Additionally, names
like ‘LIBC’ and “SSE” seem likely to conflict with other projects… I
am updating my copy to have prefixes that provide more clarification,
thinks like ‘SDLOPTION_LIBC’, ‘SDLOPTION_SSE’ and ‘SDLVIDEO_’ instead
of ‘VIDEO’.
Who else who like something like this? Once I am done, I can create
a patch easily enough.

  • Joe Toppi
    (402) 714-7539
    BlackTopp Studios Inc.
    Lead Software Developer
    Toppij at BlackToppStudios.com

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

What about CMAKESDL_?On Tue, Jan 1, 2013 at 4:33 AM, Joseph Toppi wrote:

We could, but it might confuse some things. All of the SDL subsystems use
the SDL prefix, and all other options have none. Adding the word 'option’
to the prefix creates 2 separate groups , as opposed to the 1 group and
muddled separate options. In some projects I have even seen more groups
make sense. Of course I will defer to the wisdom of senior team members.
On Jan 1, 2013 4:29 AM, “Doug” <douglas.linder at gmail.com> wrote:

Can we use SDL_XXX as the option name, not SDLOPTION? Or SDL_OPTION_XXX?
The cmake gui will automatically group the options under the parent key if
you do that.

~
Doug,

On Tue, Jan 1, 2013 at 5:53 PM, Joseph Toppi <toppij at blacktoppstudios.com wrote:

It is half done now. The X 11 video component threw me off for a bit I
will probably finish it in the next 48 hours.

On Jan 1, 2013 2:40 AM, “Igor Gutnik” <igor.gutnik at gmail.com> wrote:

Oh, thanks. I will be very glad if you will publish this patch

On Tue, Jan 1, 2013 at 5:59 AM, Joseph Toppi < toppij at blacktoppstudios.com> wrote:

Hey guys,
I am including the SDL CMake as a subproject of another CMake
project. There are a ton of options that don’t play well with the
CMake grouping option. When mixed with other projects this way it is
not always clear which options are part of SDL. Additionally, names
like ‘LIBC’ and “SSE” seem likely to conflict with other projects… I
am updating my copy to have prefixes that provide more clarification,
thinks like ‘SDLOPTION_LIBC’, ‘SDLOPTION_SSE’ and ‘SDLVIDEO_’ instead
of ‘VIDEO’.
Who else who like something like this? Once I am done, I can create
a patch easily enough.

  • Joe Toppi
    (402) 714-7539
    BlackTopp Studios Inc.
    Lead Software Developer
    Toppij at BlackToppStudios.com

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Hey Sam,
I can make them all that, or did you want to keep the options in that
group and the subsystems in ‘SDL_’.On Jan 1, 2013 9:15 AM, “Sam Lantinga” wrote:

What about CMAKESDL_?

On Tue, Jan 1, 2013 at 4:33 AM, Joseph Toppi wrote:

We could, but it might confuse some things. All of the SDL subsystems use
the SDL prefix, and all other options have none. Adding the word 'option’
to the prefix creates 2 separate groups , as opposed to the 1 group and
muddled separate options. In some projects I have even seen more groups
make sense. Of course I will defer to the wisdom of senior team members.
On Jan 1, 2013 4:29 AM, “Doug” <douglas.linder at gmail.com> wrote:

Can we use SDL_XXX as the option name, not SDLOPTION? Or SDL_OPTION_XXX?
The cmake gui will automatically group the options under the parent key if
you do that.

~
Doug,

On Tue, Jan 1, 2013 at 5:53 PM, Joseph Toppi < @Joseph_Toppi> wrote:

It is half done now. The X 11 video component threw me off for a bit I
will probably finish it in the next 48 hours.

On Jan 1, 2013 2:40 AM, “Igor Gutnik” <igor.gutnik at gmail.com> wrote:

Oh, thanks. I will be very glad if you will publish this patch

On Tue, Jan 1, 2013 at 5:59 AM, Joseph Toppi < @Joseph_Toppi> wrote:

Hey guys,
I am including the SDL CMake as a subproject of another CMake
project. There are a ton of options that don’t play well with the
CMake grouping option. When mixed with other projects this way it is
not always clear which options are part of SDL. Additionally, names
like ‘LIBC’ and “SSE” seem likely to conflict with other projects… I
am updating my copy to have prefixes that provide more clarification,
thinks like ‘SDLOPTION_LIBC’, ‘SDLOPTION_SSE’ and ‘SDLVIDEO_’ instead
of ‘VIDEO’.
Who else who like something like this? Once I am done, I can
create

a patch easily enough.

  • Joe Toppi
    (402) 714-7539
    BlackTopp Studios Inc.
    Lead Software Developer
    Toppij at BlackToppStudios.com

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I would prefer to keep them SDL_, unless there are naming convention
conflicts.On Tue, Jan 1, 2013 at 10:27 AM, Joseph Toppi wrote:

Hey Sam,
I can make them all that, or did you want to keep the options in that
group and the subsystems in ‘SDL_’.
On Jan 1, 2013 9:15 AM, “Sam Lantinga” <@slouken> wrote:

What about CMAKESDL_?

On Tue, Jan 1, 2013 at 4:33 AM, Joseph Toppi wrote:

We could, but it might confuse some things. All of the SDL subsystems
use the SDL prefix, and all other options have none. Adding the word
’option’ to the prefix creates 2 separate groups , as opposed to the 1
group and muddled separate options. In some projects I have even seen more
groups make sense. Of course I will defer to the wisdom of senior team
members.
On Jan 1, 2013 4:29 AM, “Doug” <douglas.linder at gmail.com> wrote:

Can we use SDL_XXX as the option name, not SDLOPTION? Or
SDL_OPTION_XXX? The cmake gui will automatically group the options under
the parent key if you do that.

~
Doug,

On Tue, Jan 1, 2013 at 5:53 PM, Joseph Toppi < toppij at blacktoppstudios.com> wrote:

It is half done now. The X 11 video component threw me off for a bit I
will probably finish it in the next 48 hours.

On Jan 1, 2013 2:40 AM, “Igor Gutnik” <igor.gutnik at gmail.com> wrote:

Oh, thanks. I will be very glad if you will publish this patch

On Tue, Jan 1, 2013 at 5:59 AM, Joseph Toppi < toppij at blacktoppstudios.com> wrote:

Hey guys,
I am including the SDL CMake as a subproject of another CMake
project. There are a ton of options that don’t play well with the
CMake grouping option. When mixed with other projects this way it is
not always clear which options are part of SDL. Additionally, names
like ‘LIBC’ and “SSE” seem likely to conflict with other projects…
I

am updating my copy to have prefixes that provide more
clarification,

thinks like ‘SDLOPTION_LIBC’, ‘SDLOPTION_SSE’ and 'SDLVIDEO_'
instead

of ‘VIDEO’.
Who else who like something like this? Once I am done, I can
create

a patch easily enough.

  • Joe Toppi
    (402) 714-7539
    BlackTopp Studios Inc.
    Lead Software Developer
    Toppij at BlackToppStudios.com

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org