File tree Expand file tree Collapse file tree 3 files changed +64
-0
lines changed
Expand file tree Collapse file tree 3 files changed +64
-0
lines changed Original file line number Diff line number Diff line change 1+ set (SUBDIRS src test )
2+
3+ autoheader("config.h" null)
4+
5+ foreach (subdir ${SUBDIRS} )
6+ add_subdirectory (${subdir} )
7+ endforeach ()
8+
Original file line number Diff line number Diff line change 1+ 2009-06-09 Jonathan Chambers <
[email protected] >
2+
3+ * CMakeLists.txt: Add start of CMake build.
4+ * src/CMakeLists.txt: Add start of CMake build.
5+
6+ Contribution is licensed as MIT/X11.
7+
182009-06-02 Bill Holmes <
[email protected] >
29
310 * src/gpath.c (g_find_program_in_path): While searching on Windows
Original file line number Diff line number Diff line change 1+ set (win_files
2+ gdate-win32 .c gdir-win32 .c gfile-win32 .c gmisc-win32 .c
3+ gmodule-win32 .c gtimer-win32 .c)
4+
5+ set (unix_files
6+ gdate-unix .c gdir-unix .c gfile-unix .c gmisc-unix .c
7+ gmodule-unix .c gtimer-unix .c)
8+
9+ if (MSVC )
10+ set (os_files ${win_files} )
11+ else (MSVC )
12+ set (os_files ${unix_files} )
13+ endif (MSVC )
14+
15+ set (libeglib_la_SOURCES
16+ ${os_files}
17+ eglib-config.h
18+ sort .frag.h
19+ glib.h
20+ garray.c
21+ gerror.c
22+ ghashtable.c
23+ gmem.c
24+ gmodule.h
25+ goutput.c
26+ gstr.c
27+ gslist.c
28+ gstring.c
29+ gptrarray.c
30+ glist.c
31+ gqueue.c
32+ gpath.c
33+ gshell.c
34+ gspawn.c
35+ gfile.c
36+ gfile-posix.c
37+ gpattern.c
38+ gmarkup.c
39+ gutf8.c
40+ gunicode.c
41+ unicode-data.h)
42+
43+ set (EXTRA_DIST eglib-config.h.in eglib-config.hw ${win_files} ${unix_files} )
44+
45+ INCLUDE_DIRECTORIES (../ ${CMAKE_CURRENT_SOURCE_DIR} )
46+ ADD_DEFINITIONS (${CFLAGS} -D_FORTIFY_SOURCE=2)
47+ ADD_LIBRARY (eglib-static STATIC ${libeglib_la_SOURCES} )
48+ ADD_LIBRARY (eglib SHARED ${libeglib_la_SOURCES} )
49+
You can’t perform that action at this time.
0 commit comments