Change CMake files to simplify them.

Also disable dorayme.cpp for now as it if wrongly taken in the rayonnement library.
This commit is contained in:
Godzil
2020-03-04 13:21:39 +00:00
parent 3e37b5ca44
commit 1ceabe7e62
3 changed files with 15 additions and 41 deletions

View File

@@ -31,10 +31,10 @@ endif()
# The main executable
add_executable(dorayme main.cpp)
#add_executable(dorayme main.cpp)
add_dependencies(dorayme LuaCore)
target_link_libraries(dorayme rayonnement ${LUA_LIBRARIES})
#add_dependencies(dorayme LuaCore)
#target_link_libraries(dorayme rayonnement ${LUA_LIBRARIES})
if (COVERALLS)

View File

@@ -22,7 +22,7 @@ static int l_sin (lua_State *L) {
lua_pushnumber(L, sin(d)); /* push result */
return 1; /* number of results */
}
#if 0
int main(int argc, char *argv[])
{
char buff[256];
@@ -48,4 +48,5 @@ int main(int argc, char *argv[])
lua_close(L);
return 0;
}
}
#endif