comparison OrthancStone/Sources/Viewport/WebAssemblyViewport.cpp @ 1549:a48ae10857b1

packaging of the WebAssembly module
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 13 Aug 2020 15:56:01 +0200
parents 244ad1e4e76a
children a6f339d8e4c2
comparison
equal deleted inserted replaced
1548:65eccce95882 1549:a48ae10857b1
17 * You should have received a copy of the GNU Affero General Public License 17 * You should have received a copy of the GNU Affero General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>. 18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 **/ 19 **/
20 20
21 21
22 #include "WebAssemblyViewport.h" 22 #if defined(ORTHANC_BUILDING_STONE_LIBRARY) && ORTHANC_BUILDING_STONE_LIBRARY == 1
23 23 # include "WebAssemblyViewport.h"
24 #include "../Toolbox/GenericToolbox.h" 24 # include "../Toolbox/GenericToolbox.h"
25 #else
26 // This is the case when using the WebAssembly side module, and this
27 // source file must be compiled within the WebAssembly main module
28 # include <Viewport/WebAssemblyViewport.h>
29 # include <Toolbox/GenericToolbox.h>
30 #endif
25 31
26 #include <OrthancException.h> 32 #include <OrthancException.h>
27 33
28 #include <boost/make_shared.hpp> 34 #include <boost/make_shared.hpp>
29 #include <boost/enable_shared_from_this.hpp> 35 #include <boost/enable_shared_from_this.hpp>