Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
Show All 21 Lines | 1 | set(kunitconversion_LIB_SRCS | |||
---|---|---|---|---|---|
22 | frequency.cpp | 22 | frequency.cpp | ||
23 | thermal_conductivity.cpp | 23 | thermal_conductivity.cpp | ||
24 | thermal_flux.cpp | 24 | thermal_flux.cpp | ||
25 | thermal_generation.cpp | 25 | thermal_generation.cpp | ||
26 | voltage.cpp | 26 | voltage.cpp | ||
27 | electrical_current.cpp | 27 | electrical_current.cpp | ||
28 | electrical_resistance.cpp | 28 | electrical_resistance.cpp | ||
29 | permeability.cpp | 29 | permeability.cpp | ||
30 | binary_data.cpp | ||||
30 | ) | 31 | ) | ||
31 | 32 | | |||
32 | add_library(KF5UnitConversion ${kunitconversion_LIB_SRCS}) | 33 | add_library(KF5UnitConversion ${kunitconversion_LIB_SRCS}) | ||
33 | if (WIN32) | 34 | if (WIN32) | ||
34 | # As stated in http://msdn.microsoft.com/en-us/library/4hwaceh6.aspx M_PI only gets defined | 35 | # As stated in http://msdn.microsoft.com/en-us/library/4hwaceh6.aspx M_PI only gets defined | ||
35 | # when using MSVC if _USE_MATH_DEFINES is defined (this is needed for angle.cpp) | 36 | # when using MSVC if _USE_MATH_DEFINES is defined (this is needed for angle.cpp) | ||
36 | target_compile_definitions(KF5UnitConversion PRIVATE _USE_MATH_DEFINES) | 37 | target_compile_definitions(KF5UnitConversion PRIVATE _USE_MATH_DEFINES) | ||
37 | endif() | 38 | endif() | ||
▲ Show 20 Lines • Show All 59 Lines • Show Last 20 Lines |