mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-06-04 11:13:58 +08:00
Added additional headers to sources list.
This commit is contained in:
parent
de2c1187a4
commit
ec2bc5af0c
@ -11,7 +11,14 @@ if(CMAKE_CXX_STANDARD LESS 11)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_library(ghc_filesystem INTERFACE)
|
add_library(ghc_filesystem INTERFACE)
|
||||||
target_sources(ghc_filesystem INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include/ghc/filesystem.hpp ${CMAKE_CURRENT_SOURCE_DIR}/include/ghc/fs_fwd.hpp ${CMAKE_CURRENT_SOURCE_DIR}/include/ghc/fs_impl.hpp)
|
target_sources(ghc_filesystem INTERFACE
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/include/ghc/filesystem.hpp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/include/ghc/fs_fwd.hpp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/include/ghc/fs_impl.hpp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/include/ghc/fs_std.hpp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/include/ghc/fs_std_fwd.hpp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/include/ghc/fs_std_impl.hpp
|
||||||
|
)
|
||||||
target_include_directories(ghc_filesystem INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
target_include_directories(ghc_filesystem INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
||||||
target_compile_options(ghc_filesystem INTERFACE "$<$<C_COMPILER_ID:MSVC>:/utf-8>")
|
target_compile_options(ghc_filesystem INTERFACE "$<$<C_COMPILER_ID:MSVC>:/utf-8>")
|
||||||
target_compile_options(ghc_filesystem INTERFACE "$<$<CXX_COMPILER_ID:MSVC>:/utf-8>")
|
target_compile_options(ghc_filesystem INTERFACE "$<$<CXX_COMPILER_ID:MSVC>:/utf-8>")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user