You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might be a dummy question about CMake, I followed the instructions on the README
find_package(towr 1.2 REQUIRED)
add_executable(main main.cpp) # Your custom variables, costs and constraints added to TOWR
target_link_libraries(main PUBLIC towr::towr) # adds include directories and libraries
so basically, towr::towr is just for alias naming? If I want to use nlp_formulation.h and other header files for an independent project, basically, I could just put those following lines into cmake?
find_package(towr 1.2 REQUIRED)
target_link_libraries(main PUBLIC towr) # adds include directories and libraries
Thank you so much for your response!
The text was updated successfully, but these errors were encountered:
junzengx14
changed the title
Cmake for other projects
CMake for other projects
Jun 26, 2020
It might be a dummy question about CMake, I followed the instructions on the README
so basically,
towr::towr
is just for alias naming? If I want to usenlp_formulation.h
and other header files for an independent project, basically, I could just put those following lines into cmake?Thank you so much for your response!
The text was updated successfully, but these errors were encountered: