Cleanup
This commit is contained in:
@@ -16,13 +16,8 @@ include(cmake/CPM.cmake)
|
||||
|
||||
file(GLOB_RECURSE jlog_HEADERS "include/jlog/*.h" "include/jlog/*.hpp")
|
||||
|
||||
if(UNIX AND NOT APPLE)
|
||||
file(GLOB_RECURSE jlog_SRC "src/jlog/linux/*.c" "src/jlog/linux/*.cpp" "src/jlog/shared/*.c" "src/jlog/shared/*.cpp")
|
||||
endif()
|
||||
file(GLOB_RECURSE jlog_SRC "src/jlog/*.cpp")
|
||||
|
||||
if(WIN32)
|
||||
file(GLOB_RECURSE jlog_SRC "src/jlog/windows/*.c" "src/jlog/windows/*.cpp" "src/jlog/shared/*.c" "src/jlog/shared/*.cpp")
|
||||
endif()
|
||||
|
||||
include_directories("include")
|
||||
|
||||
@@ -39,6 +34,7 @@ endif()
|
||||
|
||||
if (WIN32)
|
||||
add_library(jlog STATIC ${jlog_SRC})
|
||||
target_compile_options(jlog PRIVATE /wd4005)
|
||||
endif()
|
||||
|
||||
set_target_properties(jlog PROPERTIES LINKER_LANGUAGE CXX)
|
||||
|
Reference in New Issue
Block a user