Skip to content

Instantly share code, notes, and snippets.

@sweemer
Created January 20, 2022 12:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sweemer/dff4b0294eff698a3d670811549d3c35 to your computer and use it in GitHub Desktop.
Save sweemer/dff4b0294eff698a3d670811549d3c35 to your computer and use it in GitHub Desktop.
cmake_minimum_required(VERSION 3.20)
project(Chp2_Equity_CLionTest)
set(CMAKE_CXX_STANDARD 14)
set(BOOST_ROOT "C:/local/boost_1_65_0")
set(Boost_INCLUDE_DIR "C:/local/boost_1_65_0" )
set(Boost_LIBRARY_DIR "C:/local/boost_1_65_0/lib32-msvc-14.1" )
find_package(Boost 1.65.0 REQUIRED)
find_package(QuantLib CONFIG REQUIRED)
add_executable(Chp2_Equity_CLionTest main.cpp)
target_include_directories(Chp2_Equity_CLionTest PRIVATE ${Boost_INCLUDE_DIRS})
target_link_libraries(Chp2_Equity_CLionTest PRIVATE ${Boost_LIBRARIES})
target_link_libraries(Chp2_Equity_CLionTest PRIVATE QuantLib::QuantLib)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment