Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
cmake: Implement support for CMake on Linux and remove Makefiles
[xestiacalendar/.git] / source / objects / calendarobject / CMakeLists.txt
1 set(TARGET_NAME "calendarobject")
3 list(APPEND FILE_LIST CalendarObject.cpp
4                       CalendarObject.h
5                       CalendarObject-Save.cpp)
7 add_library(${TARGET_NAME}
8             ${FILE_LIST})
10 target_include_directories(${TARGET_NAME}
11                            PUBLIC
12                            ".")
14 if (XestiaCalendar_UNIT_TESTING)
15     string(APPEND TEST_TARGET_NAME "test" ${TARGET_NAME})
16     add_library(${TEST_TARGET_NAME}
17                 ${FILE_LIST})
18     add_unit_test_definitions(${TEST_TARGET_NAME})
20     target_include_directories(${TEST_TARGET_NAME}
21                                PUBLIC
22                                ".")
23 endif()
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy