mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Tutorial: Move step 10 to step 4
Shifts steps 4-9 to 5-10.
This commit is contained in:
@@ -1,14 +1 @@
|
||||
|
||||
#if defined(_WIN32)
|
||||
# if defined(EXPORTING_MYMATH)
|
||||
# define DECLSPEC __declspec(dllexport)
|
||||
# else
|
||||
# define DECLSPEC __declspec(dllimport)
|
||||
# endif
|
||||
#else // non windows
|
||||
# define DECLSPEC
|
||||
#endif
|
||||
|
||||
namespace mathfunctions {
|
||||
double DECLSPEC sqrt(double x);
|
||||
}
|
||||
double mysqrt(double x);
|
||||
|
||||
Reference in New Issue
Block a user