2018-08-29 22:06:03 +02:00
|
|
|
add_library(microprofile STATIC
|
|
|
|
microprofile/microprofile.h
|
|
|
|
microprofile/microprofile_html.h
|
|
|
|
microprofile/microprofile.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories(microprofile
|
|
|
|
PUBLIC
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/microprofile"
|
|
|
|
)
|
|
|
|
|
|
|
|
target_compile_definitions(microprofile
|
|
|
|
PUBLIC
|
|
|
|
MICROPROFILE_GPU_TIMERS=0
|
|
|
|
)
|
|
|
|
|
|
|
|
find_package(Threads REQUIRED)
|
|
|
|
target_link_libraries(microprofile
|
|
|
|
PUBLIC
|
|
|
|
Threads::Threads
|
2018-08-23 15:23:43 +02:00
|
|
|
openrw::checks
|
2018-08-29 22:06:03 +02:00
|
|
|
)
|
|
|
|
|
2018-11-20 06:51:34 +01:00
|
|
|
openrw_target_apply_options(
|
|
|
|
TARGET microprofile
|
|
|
|
)
|
|
|
|
|
2018-08-29 22:06:03 +02:00
|
|
|
add_library(microprofile::microprofile ALIAS microprofile)
|