Move forgotten file to core library

Turns out, there was a cpp file for hte core library, so turn the
library into a static library.
This commit is contained in:
Ian McInerney 2023-04-08 00:37:49 +01:00
parent 07d613d0d2
commit a0b5de91f3
3 changed files with 4 additions and 5 deletions

View File

@ -388,7 +388,6 @@ set( COMMON_SRCS
validators.cpp validators.cpp
wildcards_and_files_ext.cpp wildcards_and_files_ext.cpp
drawing_sheet/ds_painter.cpp drawing_sheet/ds_painter.cpp
wx_stl_compat.cpp
wx_filename.cpp wx_filename.cpp
xnode.cpp xnode.cpp
) )

View File

@ -5,14 +5,14 @@ if( COMPILER_SUPPORTS_WARNINGS )
endif() endif()
add_library( core INTERFACE add_library( core STATIC
# Just a header library right now wx_stl_compat.cpp
) )
target_link_libraries( core INTERFACE target_link_libraries( core PUBLIC
${wxWidgets_LIBRARIES} ${wxWidgets_LIBRARIES}
) )
target_include_directories( core INTERFACE target_include_directories( core PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/include ${CMAKE_CURRENT_SOURCE_DIR}/include
) )