More CMake updates (STR #2244):
- added missing files in src/CMakeLists.txt - added -DUSE_X11 for Unix builds - added new test/unittests program Thanks to Yassine (yostane) for testing and helping to update the CMake files. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6847 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
af570d2be4
commit
1b2df88ed0
@ -61,6 +61,7 @@ ENDIF(APPLE)
|
||||
|
||||
IF(UNIX)
|
||||
FIND_PACKAGE(X11)
|
||||
ADD_DEFINITIONS(-DUSE_X11)
|
||||
SET( FLTK_PLATFORM_DEPENDENT_LIBS ${X11_LIBRARIES} -lm)
|
||||
ENDIF(UNIX)
|
||||
|
||||
|
||||
@ -126,6 +126,8 @@ SET(CPPFILES
|
||||
fl_vertex.cxx
|
||||
screen_xywh.cxx
|
||||
fl_utf8.cxx
|
||||
fl_encoding_latin1.cxx
|
||||
fl_encoding_mac_roman.cxx
|
||||
)
|
||||
SET(FLCPPFILES
|
||||
forms_compatability.cxx
|
||||
@ -171,6 +173,7 @@ SET(CFILES
|
||||
xutf8/utf8Input.c
|
||||
xutf8/utf8Utils.c
|
||||
xutf8/utf8Wrap.c
|
||||
xutf8/keysym2Ucs.c
|
||||
fl_utf.c
|
||||
)
|
||||
|
||||
|
||||
@ -83,6 +83,7 @@ CREATE_EXAMPLE(threads threads.cxx fltk)
|
||||
CREATE_EXAMPLE(tile tile.cxx fltk)
|
||||
CREATE_EXAMPLE(tiled_image tiled_image.cxx fltk)
|
||||
CREATE_EXAMPLE(valuators valuators.fl fltk)
|
||||
CREATE_EXAMPLE(unittests unittests.cxx fltk)
|
||||
|
||||
# OpenGL demos...
|
||||
IF(OPENGL_FOUND)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user