BuildSystem: Cleanup and fix cmake files
I now set library SONAME so i don't have to build them in build root. Creating font now makes sure the install directory exists. This allows building using make files. LibC now links agains ligcc
This commit is contained in:
@@ -27,9 +27,6 @@ set(BUILD_SHARED_LIBS True)
|
||||
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
|
||||
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
|
||||
|
||||
# include headers of ${library} to ${target}
|
||||
function(banan_include_headers target library)
|
||||
target_include_directories(${target} PRIVATE $<TARGET_PROPERTY:${library},SOURCE_DIR>/include)
|
||||
|
||||
Reference in New Issue
Block a user