Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

WIP: Test plugins #597

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

brendanlong
Copy link
Collaborator

No description provided.

@brendanlong
Copy link
Collaborator Author

I started on this but I can't get it to compile:

[ 79%] Building C object plugins/backend/feedbin/CMakeFiles/feedbin_test.dir/TestFeedbin.c.o
/home/blong/workspace/FeedReader/build/plugins/backend/feedbin/TestFeedbin.c:25:10: fatal error: TestPlugin.h: No such file or directory
 #include "TestPlugin.h"
          ^~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [plugins/backend/feedbin/CMakeFiles/feedbin_test.dir/build.make:101: plugins/backend/feedbin/CMakeFiles/feedbin_test.dir/TestFeedbin.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1264: plugins/backend/feedbin/CMakeFiles/feedbin_test.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

I can't figure out what's wrong, since TestPlugin.h exists:

blong@blong-xps13:FeedReader[test-plugins]$ ls build/plugins/backend/test/
CMakeFiles           libTestPlugin.a  testplugin_target_valac.stamp
cmake_install.cmake  Makefile         TestPlugin_target_valac.stamp
CTestTestfile.cmake  TestPlugin.c     TestPlugin.vapi
libtestplugin.a      TestPlugin.h


OPTIONS
--includedir=${CMAKE_BINARY_DIR}/plugins/backend/test/
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: This didn't help..

@brendanlong brendanlong force-pushed the master branch 2 times, most recently from 50b6d96 to 879f9c3 Compare May 1, 2018 16:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant