]> gerrit.simantics Code Review - simantics/fmil.git/blob - org.simantics.fmil.core/native/FMILibrary/Config.cmake/config_test.h.cmake
3d722d4effda8853645e7750c680594364e0702a
[simantics/fmil.git] / org.simantics.fmil.core / native / FMILibrary / Config.cmake / config_test.h.cmake
1 /*
2     Copyright (C) 2012 Modelon AB
3
4     This program is free software: you can redistribute it and/or modify
5     it under the terms of the BSD style license.
6
7      This program is distributed in the hope that it will be useful,
8     but WITHOUT ANY WARRANTY; without even the implied warranty of
9     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10     FMILIB_License.txt file for more details.
11
12     You should have received a copy of the FMILIB_License.txt file
13     along with this program. If not, contact Modelon AB <http://www.modelon.com>.
14 */
15
16 #ifndef CONFIG_TEST_H
17 #define CONFIG_TEST_H
18 /* PATHs to test files */
19 #define FMU1_DLL_ME_PATH @FMU1_DLL_ME_PATH@ 
20 #define FMU1_DLL_CS_PATH @FMU1_DLL_CS_PATH@
21 #define COMPRESS_DUMMY_FILE_PATH_SRC "@COMPRESS_DUMMY_FILE_PATH_SRC@"
22 #define COMPRESS_DUMMY_FILE_PATH_DIST "@COMPRESS_DUMMY_FILE_PATH_DIST@"
23 #define UNCOMPRESSED_DUMMY_FILE_PATH_SRC "@UNCOMPRESSED_DUMMY_FILE_PATH_SRC@"
24 #define UNCOMPRESSED_DUMMY_FOLDER_PATH_DIST "@UNCOMPRESSED_DUMMY_FOLDER_PATH_DIST@"
25
26 #define CTEST_RETURN_SUCCESS @CTEST_RETURN_SUCCESS@
27 #define CTEST_RETURN_FAIL @CTEST_RETURN_FAIL@
28
29 #define FMU_DUMMY_ME_MODEL_IDENTIFIER @FMU_DUMMY_ME_MODEL_IDENTIFIER@
30 #define FMU_DUMMY_CS_MODEL_IDENTIFIER @FMU_DUMMY_CS_MODEL_IDENTIFIER@
31
32 #cmakedefine FMILIB_LINK_TEST_TO_SHAREDLIB
33 #if defined(FMILIB_LINK_TEST_TO_SHAREDLIB) && defined(FMILIB_BUILDING_LIBRARY)
34 #undef FMILIB_BUILDING_LIBRARY
35 #endif
36
37 #endif
38
39