config compile error
This commit is contained in:
parent
aa6a0cb47f
commit
58bbd6f28f
|
@ -6,10 +6,7 @@ target_include_directories(
|
||||||
PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
|
PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(
|
target_link_libraries(config os util)
|
||||||
config
|
|
||||||
PRIVATE os util
|
|
||||||
)
|
|
||||||
|
|
||||||
if(${BUILD_TEST})
|
if(${BUILD_TEST})
|
||||||
ADD_SUBDIRECTORY(test)
|
ADD_SUBDIRECTORY(test)
|
||||||
|
|
|
@ -10,9 +10,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include "os.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "tfs.h"
|
|
||||||
|
|
||||||
class CfgTest : public ::testing::Test {
|
class CfgTest : public ::testing::Test {
|
||||||
protected:
|
protected:
|
||||||
|
@ -26,6 +24,6 @@ class CfgTest : public ::testing::Test {
|
||||||
static const char *pConfig;
|
static const char *pConfig;
|
||||||
};
|
};
|
||||||
|
|
||||||
const char *TfsTest::pConfig;
|
const char *CfgTest::pConfig;
|
||||||
|
|
||||||
TEST_F(CfgTest, 01_Taos_File) {}
|
TEST_F(CfgTest, 01_Taos_File) {}
|
||||||
|
|
Loading…
Reference in New Issue