add_executable(UnitSPIRV ${TEST_SOURCES})
default_compile_options(UnitSPIRV)
target_include_directories(UnitSPIRV PRIVATE
+ ${CMAKE_CURRENT_SOURCE_DIR}
${gmock_SOURCE_DIR}/include ${gtest_SOURCE_DIR}/include)
target_link_libraries(UnitSPIRV PRIVATE ${SPIRV_TOOLS} gmock)
else()
#include <vector>
#include <gmock/gmock.h>
-#include "../source/instruction.h"
+#include "source/instruction.h"
using libspirv::AssemblyContext;
using spvtest::AutoText;
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
// MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
-#include "../source/spirv_constant.h"
+#include "source/spirv_constant.h"
#include "UnitSPIRV.h"
namespace {
#include "gmock/gmock.h"
-#include "../source/spirv_constant.h"
+#include "source/spirv_constant.h"
#include "TestFixture.h"
using ::testing::Eq;
#include <gmock/gmock.h>
-#include "../source/opcode.h"
+#include "source/opcode.h"
using ::spvtest::EnumCase;
using ::testing::Eq;
#include "UnitSPIRV.h"
#include "gmock/gmock.h"
-#include "../source/operand.h"
+#include "source/operand.h"
using ::testing::Eq;
#include "TestFixture.h"
#include "UnitSPIRV.h"
+#include "source/spirv_constant.h"
#include "util/bitutils.h"
-#include "../source/spirv_constant.h"
namespace {
#include <iomanip>
#include "libspirv/libspirv.h"
-#include "../source/assembly_grammar.h"
-#include "../source/binary.h"
-#include "../source/diagnostic.h"
-#include "../source/opcode.h"
-#include "../source/spirv_endian.h"
-#include "../source/text.h"
-#include "../source/text_handler.h"
-#include "../source/validate.h"
+#include "source/assembly_grammar.h"
+#include "source/binary.h"
+#include "source/diagnostic.h"
+#include "source/opcode.h"
+#include "source/spirv_endian.h"
+#include "source/text.h"
+#include "source/text_handler.h"
+#include "source/validate.h"
#include <gtest/gtest.h>