Mercurial > minori
comparison dep/animia/CMakeLists.txt @ 64:fe719c109dbc
*: update
1. add media tracking ability, and it displays info on the `now playing` page
2. the `now playing` page now actually shows something
3. renamed every page class to be more accurate to what it is
4. ...
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 01 Oct 2023 23:15:43 -0400 |
parents | 6ff7aabeb9d7 |
children | 1ce00c1c8ddc |
comparison
equal
deleted
inserted
replaced
63:3d2decf093bb | 64:fe719c109dbc |
---|---|
9 list(APPEND SRC_FILES src/bsd.cpp) | 9 list(APPEND SRC_FILES src/bsd.cpp) |
10 elseif(WIN32) | 10 elseif(WIN32) |
11 list(APPEND SRC_FILES src/win32.cpp) | 11 list(APPEND SRC_FILES src/win32.cpp) |
12 endif() | 12 endif() |
13 add_library(animia SHARED ${SRC_FILES}) | 13 add_library(animia SHARED ${SRC_FILES}) |
14 set_target_properties(animia PROPERTIES | 14 set_target_properties(animia PROPERTIES CXX_STANDARD 17) |
15 PUBLIC_HEADER animia/animia.h CXX_STANDARD 17) | |
16 target_include_directories(animia PRIVATE include) | 15 target_include_directories(animia PRIVATE include) |
16 | |
17 install(TARGETS animia | |
18 ARCHIVE DESTINATION lib | |
19 LIBRARY DESTINATION lib | |
20 RUNTIME DESTINATION bin) | |
17 | 21 |
18 if(BUILD_TESTS) | 22 if(BUILD_TESTS) |
19 project(test LANGUAGES CXX) | 23 project(test LANGUAGES CXX) |
20 add_executable(test test/main.cpp) | 24 add_executable(test test/main.cpp) |
21 | 25 |