root/threadman/trunk/CMakeLists.txt @ 685

Revision 685, 487 bytes (checked in by tapted, 2 years ago)

Convert Regex from Config to Module

  • Property svn:eol-style set to native
Line 
1CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
2project(threadman)
3
4ENABLE_TESTING()
5add_subdirectory(tests)
6
7FIND_PACKAGE(SDL)
8
9INCLUDE_DIRECTORIES(${SDL_INCLUDE_DIR})
10
11add_library(threadman SHARED threadman.h threadman.cpp)
12target_link_libraries(threadman ${SDL_LIBRARY})
13SET_TARGET_PROPERTIES(threadman PROPERTIES LINK_FLAGS -Wl,-no-undefined)
14
15INSTALL(FILES semwaiter.h threadman.h DESTINATION include)
16INSTALL(TARGETS threadman
17        LIBRARY DESTINATION lib
18        RUNTIME DESTINATION bin)
Note: See TracBrowser for help on using the browser.