]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/CMakeLists.txt
radiant/texwindow: test .wad file extension case-insensitively on all systems, fix...
[xonotic/netradiant.git] / radiant / CMakeLists.txt
index c8672d4962e66af467dd7a8cee8044a1fdfbe3b1..93fedea428a461f615136ae3964c7d2e9e5f0238 100644 (file)
@@ -7,127 +7,129 @@ add_definitions(-DCMAKE_SHARED_MODULE_SUFFIX="${_clibext}")
 unset(_clibext)
 
 set(RADIANTLIST
-        autosave.cpp autosave.h
-        brush.cpp brush.h
-        brush_primit.cpp brush_primit.h
-        brushmanip.cpp brushmanip.h
-        brushmodule.cpp brushmodule.h
-        brushnode.cpp brushnode.h
-        brushtokens.cpp brushtokens.h
-        brushxml.cpp brushxml.h
-        build.cpp build.h
-        camwindow.cpp camwindow.h
-        clippertool.cpp clippertool.h
-        commands.cpp commands.h
-        console.cpp console.h
-        csg.cpp csg.h
-        dialog.cpp dialog.h
-        eclass.cpp eclass.h
-        eclass_def.cpp eclass_def.h
-        eclass_doom3.cpp eclass_doom3.h
-        eclass_fgd.cpp eclass_fgd.h
-        eclass_xml.cpp eclass_xml.h
-        entity.cpp entity.h
-        entityinspector.cpp entityinspector.h
-        entitylist.cpp entitylist.h
-        environment.cpp environment.h
-        error.cpp error.h
-        feedback.cpp feedback.h
-        filetypes.cpp filetypes.h
-        filters.cpp filters.h
-        findtexturedialog.cpp findtexturedialog.h
-        glwidget.cpp glwidget.h
-        grid.cpp grid.h
-        groupdialog.cpp groupdialog.h
-        gtkdlgs.cpp gtkdlgs.h
-        gtkmisc.cpp gtkmisc.h
-        help.cpp help.h
-        image.cpp image.h
-        main.cpp main.h
-        mainframe.cpp mainframe.h
-        map.cpp map.h
-        mru.cpp mru.h
-        nullmodel.cpp nullmodel.h
-        parse.cpp parse.h
-        patch.cpp patch.h
-        patchdialog.cpp patchdialog.h
-        patchmanip.cpp patchmanip.h
-        patchmodule.cpp patchmodule.h
-        plugin.cpp plugin.h
-        pluginapi.cpp pluginapi.h
-        pluginmanager.cpp pluginmanager.h
-        pluginmenu.cpp pluginmenu.h
-        plugintoolbar.cpp plugintoolbar.h
-        points.cpp points.h
-        preferencedictionary.cpp preferencedictionary.h
-        preferences.cpp preferences.h
-        qe3.cpp qe3.h
-        qgl.cpp qgl.h
-        referencecache.cpp referencecache.h
-        renderer.cpp renderer.h
-        renderstate.cpp renderstate.h
-        resource.h
-        scenegraph.cpp scenegraph.h
-        select.cpp select.h
-        selection.cpp selection.h
-        server.cpp server.h
-        shaders.cpp shaders.h
-        sockets.cpp sockets.h
-        stacktrace.cpp stacktrace.h
-        surfacedialog.cpp surfacedialog.h
-        texmanip.cpp texmanip.h
-        textureentry.cpp textureentry.h
-        textures.cpp textures.h
-        texwindow.cpp texwindow.h
-        timer.cpp timer.h
-        treemodel.cpp treemodel.h
-        undo.cpp undo.h
-        url.cpp url.h
-        view.cpp view.h
-        watchbsp.cpp watchbsp.h
-        winding.cpp winding.h
-        windowobservers.cpp windowobservers.h
-        xmlstuff.cpp xmlstuff.h
-        xywindow.cpp xywindow.h
-        )
+    autosave.cpp autosave.h
+    brush.cpp brush.h
+    brush_primit.cpp brush_primit.h
+    brushmanip.cpp brushmanip.h
+    brushmodule.cpp brushmodule.h
+    brushnode.cpp brushnode.h
+    brushtokens.cpp brushtokens.h
+    brushxml.cpp brushxml.h
+    build.cpp build.h
+    camwindow.cpp camwindow.h
+    clippertool.cpp clippertool.h
+    commands.cpp commands.h
+    console.cpp console.h
+    csg.cpp csg.h
+    dialog.cpp dialog.h
+    eclass.cpp eclass.h
+    eclass_def.cpp eclass_def.h
+    eclass_doom3.cpp eclass_doom3.h
+    eclass_fgd.cpp eclass_fgd.h
+    eclass_xml.cpp eclass_xml.h
+    entity.cpp entity.h
+    entityinspector.cpp entityinspector.h
+    entitylist.cpp entitylist.h
+    environment.cpp environment.h
+    error.cpp error.h
+    feedback.cpp feedback.h
+    filetypes.cpp filetypes.h
+    filters.cpp filters.h
+    findtexturedialog.cpp findtexturedialog.h
+    glwidget.cpp glwidget.h
+    grid.cpp grid.h
+    groupdialog.cpp groupdialog.h
+    gtkdlgs.cpp gtkdlgs.h
+    gtkmisc.cpp gtkmisc.h
+    help.cpp help.h
+    image.cpp image.h
+    main.cpp main.h
+    mainframe.cpp mainframe.h
+    map.cpp map.h
+    mru.cpp mru.h
+    nullmodel.cpp nullmodel.h
+    parse.cpp parse.h
+    patch.cpp patch.h
+    patchdialog.cpp patchdialog.h
+    patchmanip.cpp patchmanip.h
+    patchmodule.cpp patchmodule.h
+    plugin.cpp plugin.h
+    pluginapi.cpp pluginapi.h
+    pluginmanager.cpp pluginmanager.h
+    pluginmenu.cpp pluginmenu.h
+    plugintoolbar.cpp plugintoolbar.h
+    points.cpp points.h
+    preferencedictionary.cpp preferencedictionary.h
+    preferences.cpp preferences.h
+    qe3.cpp qe3.h
+    qgl.cpp qgl.h
+    referencecache.cpp referencecache.h
+    renderer.cpp renderer.h
+    renderstate.cpp renderstate.h
+    resource.h
+    scenegraph.cpp scenegraph.h
+    select.cpp select.h
+    selection.cpp selection.h
+    server.cpp server.h
+    shaders.cpp shaders.h
+    sockets.cpp sockets.h
+    stacktrace.cpp stacktrace.h
+    surfacedialog.cpp surfacedialog.h
+    texmanip.cpp texmanip.h
+    textureentry.cpp textureentry.h
+    textures.cpp textures.h
+    texwindow.cpp texwindow.h
+    timer.cpp timer.h
+    treemodel.cpp treemodel.h
+    undo.cpp undo.h
+    url.cpp url.h
+    view.cpp view.h
+    watchbsp.cpp watchbsp.h
+    winding.cpp winding.h
+    windowobservers.cpp windowobservers.h
+    xmlstuff.cpp xmlstuff.h
+    xywindow.cpp xywindow.h
+)
+
 if (WIN32)
     list(APPEND RADIANTLIST multimon.cpp multimon.h)
 endif ()
 
-radiant_tool(radiant WIN32 radiant.rc ${RADIANTLIST})
-add_dependencies(radiant modules)
-target_link_libraries(radiant
-        ${CMAKE_DL_LIBS}
-        ${LIBXML2_LIBRARIES}
-        ${OPENGL_gl_LIBRARY}
-        ${GTK${GTK_TARGET}_LIBRARIES}
-        ${GTKGL_LIBRARIES}
-        includes
-        cmdlib
-        container
-        ddslib
-        debugging
-        etclib
-        filematch
-        generic
-        l_net
-        math
-        mathlib
-        memory
-        modulesystem
-        os
-        picomodel
-        profile
-        script
-        signal
-        splines
-        stream
-        string
-        uilib
-        xmllib
-        )
+radiant_tool(${RADIANT_BASENAME} WIN32 radiant.rc ${RADIANTLIST})
+add_dependencies(${RADIANT_BASENAME} modules)
+target_link_libraries(${RADIANT_BASENAME}
+    ${CMAKE_DL_LIBS}
+    ${LIBXML2_LIBRARIES}
+    ${OPENGL_gl_LIBRARY}
+    ${GTK${GTK_TARGET}_LIBRARIES}
+    ${GTKGL_LIBRARIES}
+    includes
+    cmdlib
+    container
+    ddslib
+    debugging
+    etclib
+    filematch
+    generic
+    l_net
+    math
+    mathlib
+    memory
+    modulesystem
+    os
+    picomodel
+    profile
+    script
+    signal
+    splines
+    stream
+    string
+    uilib
+    xmllib
+)
+
 if (X11_LIBRARIES)
-    target_link_libraries(radiant ${X11_LIBRARIES})
+    target_link_libraries(${RADIANT_BASENAME} ${X11_LIBRARIES})
 endif ()
 
-copy_dlls(radiant)
+copy_dlls(${RADIANT_BASENAME})