kicad/libs/core/CMakeLists.txt

27 lines
623 B
CMake
Raw Normal View History

# Add all the warnings to the files
if( COMPILER_SUPPORTS_WARNINGS )
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WARN_FLAGS_CXX}")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WARN_FLAGS_C}")
endif()
add_library( core STATIC
2023-09-07 03:27:08 +00:00
base64.cpp
2023-09-07 01:25:24 +00:00
observable.cpp
2023-09-07 11:22:10 +00:00
profile.cpp
2023-09-08 00:55:16 +00:00
utf8.cpp
2023-09-06 21:19:38 +00:00
thread_pool.cpp
version_compare.cpp
wx_stl_compat.cpp
)
target_link_libraries( core PUBLIC
${wxWidgets_LIBRARIES}
)
target_include_directories( core PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/include
2023-09-06 21:19:38 +00:00
$<TARGET_PROPERTY:thread-pool,INTERFACE_INCLUDE_DIRECTORIES>
2023-09-07 11:22:10 +00:00
PRIVATE
${CMAKE_BINARY_DIR} # to get config.h
2023-09-06 21:19:38 +00:00
)