-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Switch to cmake * Update build.yml * Update build.yml * Try fixing macos build * Try fixing MacOS pipeline * Update build.yml
- Loading branch information
Showing
145 changed files
with
3,321 additions
and
881 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
cmake_minimum_required(VERSION 3.15.0) | ||
|
||
project(PackingSolver LANGUAGES CXX) | ||
|
||
option(PackingSolver_BUILD_TEST "Build the unit tests" ON) | ||
option(PackingSolver_USE_KNITRO "Use Knitro" OFF) | ||
|
||
# Require C++14. | ||
set(CMAKE_CXX_STANDARD 14) | ||
|
||
# Enable output of compile commands during generation. | ||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON) | ||
|
||
# Set MSVC_RUNTIME_LIBRARY. | ||
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>") | ||
|
||
# Add sub-directories. | ||
add_subdirectory(extern) | ||
add_subdirectory(src) | ||
if(PackingSolver_BUILD_TEST) | ||
add_subdirectory(test) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.