Skip to content

Commit 82c98d3

Browse files
committed
misc
1 parent 85e20ce commit 82c98d3

File tree

7 files changed

+241
-95
lines changed

7 files changed

+241
-95
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ dynamic_version(
2323
OUTPUT_DISTANCE LibintRepository_DISTANCE
2424
)
2525

26+
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build.") # foil Ninja Debug on Windows
27+
2628
project(
2729
Libint2Compiler
2830
VERSION ${LibintRepository_VERSION}
@@ -99,6 +101,8 @@ message(STATUS "Building using CMake ${CMAKE_VERSION} Generator ${CMAKE_GENERATO
99101

100102
# <<< General >>>
101103

104+
option_with_default(CMAKE_BUILD_TYPE "Build type (Release or Debug)" Release)
105+
102106
### compiler-only
103107

104108
### library-only

INSTALL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ Note that options, docs, and CMake components are focused on the C++ interface,
266266
267267
### Build Library How (G L) (TARBALL)
268268
269+
* `CMAKE_BUILD_TYPE` — G L — [Standard CMake variable](https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html) [Default=Release]
269270
270271
### Detecting Dependencies (G L C) (TARBALL)
271272

0 commit comments

Comments
 (0)