Rev 408 | Blame | Compare with Previous | Last modification | View Log | Download
#this is just a basic CMakeLists.txt, for more information see the cmake manpage
#add definitions, compiler switches, etc.
ADD_DEFINITIONS(-Wall -O2)
#build a shared library
ADD_LIBRARY(test SHARED test.c)
#for testing the shared library you probably need some test app too
ADD_EXECUTABLE(testtest testtest.c)
#need to link to some other libraries ? just add them here
TARGET_LINK_LIBRARIES(testtest test)
#add an install target here
#INSTALL_FILES(...)
#INSTALL_PROGRAMS(...)
#INSTALL_TARGET(...)