~ctwm/ctwm/trunk

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Olaf 'Rhialto' Seibert
  • Date: 2014-09-18 20:06:30 UTC
  • mto: This revision was merged to the branch mainline in revision 336.
  • Revision ID: rhialto@falu.nl-20140918200630-6fnahsax9fe0aar3
Automated Atoms, now for the ctwm core. Step 1: replacement of the many
XInternAtom() calls in InternUsefulAtoms().

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
        add_window.c
7
7
        clicktofocus.c
8
8
        ctwm.c
 
9
        ctwm_atoms.c
9
10
        cursor.c
10
11
        deftwmrc.c
11
12
        events.c
344
345
                ${CMAKE_CURRENT_SOURCE_DIR}/system.ctwmrc > ${defc}
345
346
)
346
347
 
 
348
# Hand-build ctwm_atoms.[ch]
 
349
set(ctwm_atoms ctwm_atoms.h ctwm_atoms.c)
 
350
add_custom_command(OUTPUT ${ctwm_atoms}
 
351
        DEPENDS ctwm_atoms.in
 
352
        COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/tools/mk_atoms.sh ${CMAKE_CURRENT_SOURCE_DIR}/ctwm_atoms.in ctwm_atoms CTWM
 
353
)
347
354
 
348
355
# We're building ctwm
349
356
add_executable(ctwm ${CTWMSRC})