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:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user