mirror of
https://github.com/bkaradzic/bgfx.cmake.git
synced 2026-02-17 21:12:35 +01:00
12 lines
490 B
CMake
Executable File
12 lines
490 B
CMake
Executable File
# Copyright (c) 2016 Joshua Brookover
|
|
|
|
file( GLOB FCPP_SOURCES ${BGFX_DIR}/3rdparty/fcpp/*.c ${BGFX_DIR}/3rdparty/fcpp/*.h )
|
|
|
|
add_library( fcpp STATIC ${FCPP_SOURCES} )
|
|
target_include_directories( fcpp PUBLIC ${BGFX_DIR}/3rdparty/fcpp )
|
|
if( MSVC )
|
|
set_target_properties( fcpp PROPERTIES COMPILE_FLAGS "/W0" )
|
|
endif()
|
|
set_target_properties( fcpp PROPERTIES FOLDER "bgfx/3rdparty" )
|
|
set_source_files_properties( ${BGFX_DIR}/3rdparty/fcpp/usecpp.c PROPERTIES HEADER_FILE_ONLY ON )
|