FILE_SET Usage

Project Directory:
.
├── CMakeLists.txt
├── CMakeUserPresets.json
├── README.md
├── build_all.sh
├── conanfile.py
├── include
│ ├── itch_msg.h
│ ├── itchparser.h
│ ├── orderbook
│ │ ├── LevelInfo.h
│ │ ├── Order.h
│ │ ├── OrderBook.h
│ │ ├── OrderDirectory.h
│ │ ├── OrderModify.h
│ │ └── TradeInfo.h
│ ├── rawmessage.h
│ ├── ringbuffer.h
│ └── server.h
├── itch
│ ├── 12302019.NASDAQ_ITCH50
│ └── ITCH50.txt
├── src
│ ├── itchparser.cpp
│ ├── main.cpp
│ └── orderbook
│ └── OrderBook.cpp
└── tests
├── ringbench.cpp
└── ringtest.cpp

I’m trying to figure out how to learn to use FILE_SET after watching some talks but I’m not sure how even after reading documentation.

cmake_minimum_required(VERSION 4.1)

project(TradingEngine)

find_package(GTest REQUIRED)

find_package(benchmark REQUIRED)

add_library(TradingEngineLib STATIC)

target_sources(

TradingEngineLib

PUBLIC

    FILE_SET HEADERS

)

add_executable(

TradingEngine

src/main.cpp

)

target_link_libraries(

TradingEngine

TradingEngineLib

)

Thank you!