Build the cotire test project and check if it succeeds. Also check if the 'had text segment at different address' warning does not appear in the build output. If it does not succeed, disable usage of precompiled headers. If the PCH option was changed, clean the project and rebuild it again. Do not clean everytime the project is configured because (re)building the cotire test project takes some time.
13 lines
169 B
C++
13 lines
169 B
C++
// cotire example project main
|
|
|
|
#include <string>
|
|
|
|
#include "example.h"
|
|
#include "log.h"
|
|
|
|
int main()
|
|
{
|
|
std::string msg = example::get_message();
|
|
logging::info(msg);
|
|
}
|